Skip to main content

Get Subaffiliates Data (affiliate only)

HTTP Request Query Sub-Affiliate Trading Volume, Fees, and Commission Data (Affiliate Account)

  • POST /api/v2/rebate/affiliate/querySubChannelTransactions

Rate Limit: 10 requests/1s

Request Parameters

ParameterParameter TypeRequiredDescription
subUidLongNoSub-affiliate's UID
startTimeLongNoStart timestamp (UTC milliseconds)
endTimeLongNoEnd timestamp (UTC milliseconds)
productTypeStringYesProduct type (SPOT or FUTURES)
pageNumIntegerNoPage number (starts from 1, default 1)
pageSizeIntegerNoItems per page (default 100)

Request Example

curl -X POST "https://api-spot.weex.com/api/v2/rebate/affiliate/querySubChannelTransactions" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{
"startTime": null,
"endTime": null,
"productType": "FUTURES"
}'

Response Parameters

Field NameTypeDescription
subAffiliateUidStringSub-affiliate ID
productTypeStringProduct Type
dateStringDate
tradingVolumeStringTotal Trading Volume
netTradingFeeStringNet Trading Fee Collected by Platform
paidCommissionStringActual Rebate Amount

Response Example

{
"code": "00000",
"msg": "success",
"requestTime": 1756084752479,
"data": {
"records": [
{
"subAffiliateUid": "6424873609",
"productType": "FUTURES",
"date": "2025-08-20",
"tradingVolume": "2698.099",
"netTradingFee": "1.70343",
"paidCommission": "1.362744"
}
],
"total": 1,
"size": 10,
"current": 1,
"pages": 1
}
}