Skip to main content

Get Direct Sub-affiliate Data

request

get /api/v3/rebate/affiliate/list?startTime={{startTime}}&endTime={{endTime}}&timestamp={{timestamp}}&signature={{signature}}

response

{
"code": 200,
"msg": "success",
"data": {
"totalCommission": 1523.45,
"totalContractTradeAmount": 98765.32,
"totalContract0FeeTradeAmount": 12345.67,
"efttcCompleteCount": 15,
"registeredUserCount": 42,
"firstDepositCompleteCount": 28,
"totalRecords": 1,
"page": 1,
"totalPageNum": 1,
"data": [
{
"uid": "12345678903",
"spotCommissionRatio": "0.3",
"spotCommissionLevelRatio": "0.1",
"swapCommissionRatio": "0.4",
"swapCommissionLevelRatio": "0.15",
"totalRegisterNum": 20,
"totalDepositNum": 12,
"totalDepositAmount": "50000.00",
"totalSpotTakerUAmount": "120000.50",
"totalSpotMakerUAmount": "80000.30",
"totalZeroSpotTakerUAmount": "5000.00",
"totalZeroSpotMakerUAmount": "3000.00",
"totalSpotFee": "320.75",
"totalSwapTakerUAmount": "200000.00",
"totalSwapMakerUAmount": "150000.00",
"totalZeroSwapTakerUAmount": "10000.00",
"totalZeroSwapMakerUAmount": "8000.00",
"totalSwapFee": "560.20",
"totalDirectCommissionAmount": "880.95",
"totalSelfCommissionAmount": "440.50",
"totalCompleteEfttcCount": 8,
"contractTradeAmount": "350000.00",
"firstDepositCount": 12,
"downPuid": "12345678902",
"hasDirect": true,
"upperPuid": "12345678901"
}
]
}
}


HTTP Request

  • GET /api/v3/rebate/affiliate/list

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request Headers

NameTypeMandatory
memberInfostringYes

Request

NameTypeMandatoryDescription
pageintNoPage number; default: 1
pageSizeintNoPage size; default: 10
startTimelongYesStart time, Unix millisecond timestamp
endTimelongYesEnd time, Unix millisecond timestamp
subUidstringNoDirect subordinate UID (optional)
pUidstringNoSuperior UID (optional)
currencyIdstringNoCurrency ID (optional; omit to query all currencies)

Response

NameTypeDescription
totalCommissionnumberTotal commission
totalContractTradeAmountnumberTotal contract trade volume
totalContract0FeeTradeAmountnumberTotal zero-fee contract trade volume
efttcCompleteCountintTotal EFTTC completions
registeredUserCountintRegistered user count
firstDepositCompleteCountintFirst-time deposit completion count
totalRecordsintTotal record count
pageintCurrent page
totalPageNumintTotal pages
uidstringDirect subordinate UID
spotCommissionRatiostringSpot commission rate
spotCommissionLevelRatiostringTiered spot commission rate
swapCommissionRatiostringSwap (contract) commission rate
swapCommissionLevelRatiostringTiered swap commission rate
totalRegisterNumintCumulative subordinate registrations
totalDepositNumintNumber of users who completed deposit
totalDepositAmountstringTotal deposit amount
totalSpotTakerUAmountstringSpot trade volume (taker, in USDT)
totalSpotMakerUAmountstringSpot trade volume (maker, in USDT)
totalZeroSpotTakerUAmountstringSpot zero-fee trade volume (taker, in USDT)
totalZeroSpotMakerUAmountstringSpot zero-fee trade volume (maker, in USDT)
totalSpotFeestringSpot trading fee (in USDT)
totalSwapTakerUAmountstringContract trade volume (taker, in USDT)
totalSwapMakerUAmountstringContract trade volume (maker, in USDT)
totalZeroSwapTakerUAmountstringContract zero-fee trade volume (taker, in USDT)
totalZeroSwapMakerUAmountstringContract zero-fee trade volume (maker, in USDT)
totalSwapFeestringContract trading fee (in USDT)
totalDirectCommissionAmountstringTotal commission earned from direct subordinates
totalSelfCommissionAmountstringTotal commission earned on this sub-affiliate line
totalCompleteEfttcCountintEFTTC completion count
contractTradeAmountstringContract trade volume (in USDT)
firstDepositCountintFirst-time deposit completion count
downPuidstringSuperior UID of the subordinate user
hasDirectbooleanWhether there is a direct subordinate
upperPuidstringSecond-tier superior UID