Skip to main content

Get Agent Rebate Records

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.

HTTP request

GET /refer/agent-rebate/record

Request parameters

Parameter NameRequiredTypeNotes
start_timefalseintQuery start time.
  • Defaults to querying data within the past year, and the query time range cannot exceed a year.
end_timefalseintQuery start time.
  • Defaults to querying data within the past year, and the query time range cannot exceed a year.
pagefalseintNumber of pagination. Default is 1.
limitfalseintNumber in each page. Default is 10. The maximum quantity is 100.

Return parameters

Parameter NameTypeNotes
created_atintData creation time
deal_user_numberintNumber of agent referees who have made trades
total_spot_valuestringEstimated spot transaction value of referees
total_spot_feestringTrading fee value generated by referees' spot trades
total_futures_valuestringEstimated futures transaction value of referees
total_futures_feestringTrading fee value generated by referees' futures trades
total_deal_valuestringTotal estimated value of spot and futures transaction by referees
total_deal_feestringTotal trading fee value generated by referees' spot and futures trades
total_deal_rebate_usdtstringTotal amount of spot and futures rebates(USDT)
total_deal_rebate_cetstringTotal amount of spot and futures rebates(CET)

Request example

GET /refer/agent-rebate/record?start_time=1609459200000&end_time=1609545600000&page=1&limit=10

Response example

{
"code": 0,
"data": [
{
"created_at": 1609459200000,
"deal_user_number": 40,
"total_spot_value": "80000.00",
"total_spot_fee": "240.00",
"total_futures_value": "160000.00",
"total_futures_fee": "480.00",
"total_deal_value": "240000.00",
"total_deal_fee": "720.00",
"total_deal_rebate_usdt": "72.00",
"total_deal_rebate_cet": "36.00"
},
{
"created_at": 1609545600000,
"deal_user_number": 35,
"total_spot_value": "70000.00",
"total_spot_fee": "210.00",
"total_futures_value": "140000.00",
"total_futures_fee": "420.00",
"total_deal_value": "210000.00",
"total_deal_fee": "630.00",
"total_deal_rebate_usdt": "63.00",
"total_deal_rebate_cet": "31.50"
}
],
"pagination": {
"total": 2,
"has_next": false
},
"message": "OK"
}