Get Affiliate Referral Data
HTTP request Direct Customer Trading Volume and Capital Analytics
- GET
/api/v2/rebate/affiliate/getChannelUserTradeAndAsset
Rate limit: 10 requests/second
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) |
Request example
curl "https://api-spot.weex.com/api/v2/rebate/affiliate/getChannelUserTradeAndAsset" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"
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 |
Response example
{
"code": "200",
"data": {
"pages": 1,
"pageSize": 100,
"total": 98,
"records": [
{
"uid": "3066862172",
"depositAmount": "0",
"withdrawalAmount": "0",
"spotTradingAmount": "0",
"futuresTradingAmount": "0",
"commission": "0"
}
]
},
"timestamp": 1756102550140
}