Welcome to the new WEEX API documentation. Looking for the previous version?Switch to the legacy docs
WEEX

Get Subaffiliates Data (affiliate only)

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

  • POST /api/v3/rebate/affiliate/querySubChannelTransactions

Weight(IP): 10

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
PowerShellCode
curl -X POST "https://api-spot.weex.com/api/v3/rebate/affiliate/querySubChannelTransactions" \ -H "ACCESS-KEY:*******" \ -H "ACCESS-SIGN:*******" \ -H "ACCESS-PASSPHRASE:*****" \ -H "ACCESS-TIMESTAMP:1659076670000" \ -H "Content-Type: application/json" \ -d '{ "startTime": null, "endTime": null, "productType": "FUTURES" }'
Response Parameters
Field NameTypeDescription
recordsArraySub-affiliate records
subAffiliateUidStringSub-affiliate ID
productTypeStringProduct Type
dateStringDate
tradingVolumeStringTotal Trading Volume
netTradingFeeStringNet Trading Fee Collected by Platform
paidCommissionStringActual Rebate Amount
totalLongTotal records
sizeIntegerPage size
currentIntegerCurrent page
pagesIntegerTotal pages
Response Example
JSONCode
{ "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 }