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

Get Affiliate Commission

HTTP request Get Affiliate Commission

  • GET /api/v3/rebate/affiliate/getAffiliateCommission

Weight(IP): 20

Request parameters

ParameterParameter TypeRequiredDescription
uidLongNoInvited User UID
startTimeLongNoStart timestamp in UTC (milliseconds). Default: 7 days ago,Max range: 3 months
endTimeLongNoEnd timestamp in UTC (milliseconds). Default: current time,Max range: 3 months
coinStringNoUSDT or BTC
productTypeStringNoSPOT or FUTURES (default SPOT)
pageIntegerNoPage number (starting from 1, default 1)
pageSizeIntegerNoPage size (default 100)
Request example
PowerShellCode
curl "https://api-spot.weex.com/api/v3/rebate/affiliate/getAffiliateCommission" \ -H "ACCESS-KEY:*******" \ -H "ACCESS-SIGN:*******" \ -H "ACCESS-PASSPHRASE:*****" \ -H "ACCESS-TIMESTAMP:1659076670000" \ -H "Content-Type: application/json"
Response parameters
Field NameTypeDescription
channelCommissionInfoItemsArrayCommission records
uidLongInvited User UID
dateLongCommission timestamp, unit: milliseconds
coinStringUSDT, BTC ...
productTypeStringProduct Type
feeStringNet Trading Fee
commissionStringPaid Commission
rateStringRebate Rate
symbolStringTrading Pair
sourceTypeInteger1: Direct Client, 2: Sub-agent
takerAmountStringTaker Amount (Trading Volume)
makerAmountStringMaker Amount (Trading Volume)
pagesIntegerTotal pages
pageSizeIntegerPage size
totalLongTotal records
Response example
JSONCode
{ "pages": 3, "pageSize": 100, "total": 1014, "channelCommissionInfoItems": [ { "uid": "4667776811", "date": 1755687731913, "coin": "USDT", "fee": "0.682571", "commission": "0.0682571", "rate": "0.1", "productType": "SPOT", "symbol": "cmt_btcusdt", "sourceType": 1, "takerAmount": "1137.619", "makerAmount": "0" } ] }