Skip to main content

Get Flexible Rewards History(USER_DATA)

API Description

Get Flexible Rewards History

HTTP Request

GET /sapi/v1/simple-earn/flexible/history/rewardsRecord

Request Weight(IP)

150

Request Parameters

NameTypeMandatoryDescription
productIdSTRINGNO
assetSTRINGNO
startTimeLONGNO
endTimeLONGNO
typeENUMYESBonus - Bonus tiered APR, REALTIME Real-time APR, REWARDS Historical rewards,ALL(set to default)
  • The time between startTime and endTime cannot be longer than 3 months.
  • If startTime and endTime are both not sent, then the last 30 days' data will be returned.
  • If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned.
  • If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned.

Response Example

{
"rows": [
{
"asset": "BUSD",
"rewards": "0.00006408",
"projectId": "USDT001",
"type": "BONUS",
"time": 1577233578000
},
{
"asset": "USDT",
"rewards": "0.00687654",
"projectId": "USDT001",
"type": "REALTIME",
"time": 1577233562000
}
],
"total": 2
}