Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

Get Single API User Rebate Data (KEYED)

Used by API affiliates to retrieve contract API rebate data for a single user over a given time range.

Request URL

GET https://cloud-api.wooxpro.com/contract/private/affiliate/rebate-api

Request Limit

See Detailed Rate Limit

Request Parameter

Request
curl https://cloud-api.wooxpro.com/contract/private/affiliate/rebate-api?cid=1000000&start_time=1000000000&end_time=2000000000
FieldTypeRequiredDescription
cidLongYesUser CID to query (Supports all agents and directly/indirectly invited users under your name.)
start_timeLongYesQuery start timestamp (in second)
end_timeLongYesQuery end timestamp (in second)
Note
  • If the time range is filled in, end_time must be greater than the value of start_time, and the maximum query interval of start_time and end_time is 60 days

Response Data

Response
{
  "code": "1000",
  "data": {
    "api_trading_fee_total": "888",
    "api_rebate_total": "666"
  },
  "success": true,
  "requestId": "5f7fca16fbee4f74b3a9896d93f2c104",
  "message": "OK"
}
FieldTypeDescription
api_trading_fee_totalStringAPI trading fee rebate
api_rebate_totalStringAPI rebate