Get Affiliate Referral Data
HTTP request Direct Customer Trading Volume and Capital Analytics
- GET
/api/v3/rebate/affiliate/getChannelUserTradeAndAsset
Weight(IP): 20
Request parameters
| Parameter | Parameter type | Required? | Description |
|---|---|---|---|
| uid | Long | No | Invited User UID |
| startTime | Long | No | Start timestamp in UTC (milliseconds) |
| endTime | Long | No | End timestamp in UTC (milliseconds) |
| page | Integer | No | Page number (starting from 1, default 1) |
| pageSize | Integer | No | Page size (default 100) |
- End time must be later than the start time.
- The query window cannot exceed 90 consecutive days.
- The start time must be within the most recent 365 days; by default the system queries the last 90 days.
Request example
Code
Response parameters
| Field Name | Type | Description |
|---|---|---|
| uid | String | Invited User UID |
| depositAmount | String | Deposit Amount |
| withdrawalAmount | String | Withdrawal Amount |
| spotTradingAmount | String | Spot Trading Volume |
| futuresTradingAmount | String | Futures Trading Volume |
| commission | String | Commission |
| records | Array | Aggregated records |
| pages | Integer | Total pages |
| pageSize | Integer | Page size |
| total | Long | Total records |
Response example
Code