Get Direct Sub-affiliate Data
request
get /api/v3/rebate/affiliate/list?startTime={{startTime}}&endTime={{endTime}}×tamp={{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
| Name | Type | Mandatory |
|---|---|---|
| memberInfo | string | Yes |
Request
| Name | Type | Mandatory | Description |
|---|---|---|---|
| page | int | No | Page number; default: 1 |
| pageSize | int | No | Page size; default: 10 |
| startTime | long | Yes | Start time, Unix millisecond timestamp |
| endTime | long | Yes | End time, Unix millisecond timestamp |
| subUid | string | No | Direct subordinate UID (optional) |
| pUid | string | No | Superior UID (optional) |
| currencyId | string | No | Currency ID (optional; omit to query all currencies) |
Response
| Name | Type | Description |
|---|---|---|
| totalCommission | number | Total commission |
| totalContractTradeAmount | number | Total contract trade volume |
| totalContract0FeeTradeAmount | number | Total zero-fee contract trade volume |
| efttcCompleteCount | int | Total EFTTC completions |
| registeredUserCount | int | Registered user count |
| firstDepositCompleteCount | int | First-time deposit completion count |
| totalRecords | int | Total record count |
| page | int | Current page |
| totalPageNum | int | Total pages |
| uid | string | Direct subordinate UID |
| spotCommissionRatio | string | Spot commission rate |
| spotCommissionLevelRatio | string | Tiered spot commission rate |
| swapCommissionRatio | string | Swap (contract) commission rate |
| swapCommissionLevelRatio | string | Tiered swap commission rate |
| totalRegisterNum | int | Cumulative subordinate registrations |
| totalDepositNum | int | Number of users who completed deposit |
| totalDepositAmount | string | Total deposit amount |
| totalSpotTakerUAmount | string | Spot trade volume (taker, in USDT) |
| totalSpotMakerUAmount | string | Spot trade volume (maker, in USDT) |
| totalZeroSpotTakerUAmount | string | Spot zero-fee trade volume (taker, in USDT) |
| totalZeroSpotMakerUAmount | string | Spot zero-fee trade volume (maker, in USDT) |
| totalSpotFee | string | Spot trading fee (in USDT) |
| totalSwapTakerUAmount | string | Contract trade volume (taker, in USDT) |
| totalSwapMakerUAmount | string | Contract trade volume (maker, in USDT) |
| totalZeroSwapTakerUAmount | string | Contract zero-fee trade volume (taker, in USDT) |
| totalZeroSwapMakerUAmount | string | Contract zero-fee trade volume (maker, in USDT) |
| totalSwapFee | string | Contract trading fee (in USDT) |
| totalDirectCommissionAmount | string | Total commission earned from direct subordinates |
| totalSelfCommissionAmount | string | Total commission earned on this sub-affiliate line |
| totalCompleteEfttcCount | int | EFTTC completion count |
| contractTradeAmount | string | Contract trade volume (in USDT) |
| firstDepositCount | int | First-time deposit completion count |
| downPuid | string | Superior UID of the subordinate user |
| hasDirect | boolean | Whether there is a direct subordinate |
| upperPuid | string | Second-tier superior UID |