下钻查询子代理数据
请求示例
get /api/v3/rebate/affiliate/list?startTime={{startTime}}&endTime={{endTime}}×tamp={{timestamp}}&signature={{signature}}
返回示例
{
"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请求
- GET
/api/v3/rebate/affiliate/list
接口权限要求: 账户读 / SPOT_ACCOUNT_READ
权重(IP): 1
请求头
| 参数名 | 数据类型 | 是否必须 |
|---|---|---|
| memberInfo | string | 是 |
请求参数
| 参数名 | 数据类型 | 是否必须 | 说明 |
|---|---|---|---|
| page | int | 否 | 页码,默认1 |
| pageSize | int | 否 | 每页条数,默认10 |
| startTime | long | 是 | 开始时间(unix毫秒时间戳) |
| endTime | long | 是 | 结束时间(unix毫秒时间戳) |
| subUid | string | 否 | 直接下级UID(可选) |
| pUid | string | 否 | 上级UID(可选) |
| currencyId | string | 否 | 币种ID(可选;不传则查询全部币种) |
返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| totalCommission | number | 总佣金 |
| totalContractTradeAmount | number | 总合约交易量 |
| totalContract0FeeTradeAmount | number | 总合约0费交易量 |
| efttcCompleteCount | int | EFTTC 完成总数 |
| registeredUserCount | int | 注册用户数 |
| firstDepositCompleteCount | int | 首次入金完成人数 |
| totalRecords | int | 总记录数 |
| page | int | 当前页 |
| totalPageNum | int | 总页数 |
| uid | string | 直推下级UID |
| spotCommissionRatio | string | 现货返佣比例 |
| spotCommissionLevelRatio | string | 现货返佣比例级差值 |
| swapCommissionRatio | string | 合约返佣比例 |
| swapCommissionLevelRatio | string | 合约返佣比例级差值 |
| totalRegisterNum | int | 下级累计注册数量 |
| totalDepositNum | int | 总入金人数 |
| totalDepositAmount | string | 总入金金额 |
| totalSpotTakerUAmount | string | 现货交易量(吃单,折U) |
| totalSpotMakerUAmount | string | 现货交易量(挂单,折U) |
| totalZeroSpotTakerUAmount | string | 现货0手续费交易量(吃单,折U) |
| totalZeroSpotMakerUAmount | string | 现货0手续费交易量(挂单,折U) |
| totalSpotFee | string | 现货手续费(折U) |
| totalSwapTakerUAmount | string | 合约交易量(吃单,折U) |
| totalSwapMakerUAmount | string | 合约交易量(挂单,折U) |
| totalZeroSwapTakerUAmount | string | 合约0手续费交易量(吃单,折U) |
| totalZeroSwapMakerUAmount | string | 合约0手续费交易量(挂单,折U) |
| totalSwapFee | string | 合约手续费(折U) |
| totalDirectCommissionAmount | string | 直接下级历史收到的总佣金 |
| totalSelfCommissionAmount | string | 您在该下级代理分支上收到的总佣金 |
| totalCompleteEfttcCount | int | EFTTC 完成次数 |
| contractTradeAmount | string | 合约交易量(折USDT) |
| firstDepositCount | int | 首次入金完成人数 |
| downPuid | string | 上级UID |
| hasDirect | boolean | 是否有直接下级 |
| upperPuid | string | 上上级UID |