Skip to main content

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

ParameterParameter typeRequired?Description
uidLongNoInvited User UID
startTimeLongNoStart timestamp in UTC (milliseconds)
endTimeLongNoEnd timestamp in UTC (milliseconds)
pageIntegerNoPage number (starting from 1, default 1)
pageSizeIntegerNoPage 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 NameTypeDescription
uidStringInvited User UID
depositAmountStringDeposit Amount
withdrawalAmountStringWithdrawal Amount
spotTradingAmountStringSpot Trading Volume
futuresTradingAmountStringFutures Trading Volume
commissionStringCommission

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
}