跳到主要内容

下钻查询子代理数据

请求示例

get /api/v3/rebate/affiliate/list?startTime={{startTime}}&endTime={{endTime}}&timestamp={{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

请求头

参数名数据类型是否必须
memberInfostring

请求参数

参数名数据类型是否必须说明
pageint页码,默认1
pageSizeint每页条数,默认10
startTimelong开始时间(unix毫秒时间戳)
endTimelong结束时间(unix毫秒时间戳)
subUidstring直接下级UID(可选)
pUidstring上级UID(可选)
currencyIdstring币种ID(可选;不传则查询全部币种)

返回参数

参数名类型说明
totalCommissionnumber总佣金
totalContractTradeAmountnumber总合约交易量
totalContract0FeeTradeAmountnumber总合约0费交易量
efttcCompleteCountintEFTTC 完成总数
registeredUserCountint注册用户数
firstDepositCompleteCountint首次入金完成人数
totalRecordsint总记录数
pageint当前页
totalPageNumint总页数
uidstring直推下级UID
spotCommissionRatiostring现货返佣比例
spotCommissionLevelRatiostring现货返佣比例级差值
swapCommissionRatiostring合约返佣比例
swapCommissionLevelRatiostring合约返佣比例级差值
totalRegisterNumint下级累计注册数量
totalDepositNumint总入金人数
totalDepositAmountstring总入金金额
totalSpotTakerUAmountstring现货交易量(吃单,折U)
totalSpotMakerUAmountstring现货交易量(挂单,折U)
totalZeroSpotTakerUAmountstring现货0手续费交易量(吃单,折U)
totalZeroSpotMakerUAmountstring现货0手续费交易量(挂单,折U)
totalSpotFeestring现货手续费(折U)
totalSwapTakerUAmountstring合约交易量(吃单,折U)
totalSwapMakerUAmountstring合约交易量(挂单,折U)
totalZeroSwapTakerUAmountstring合约0手续费交易量(吃单,折U)
totalZeroSwapMakerUAmountstring合约0手续费交易量(挂单,折U)
totalSwapFeestring合约手续费(折U)
totalDirectCommissionAmountstring直接下级历史收到的总佣金
totalSelfCommissionAmountstring您在该下级代理分支上收到的总佣金
totalCompleteEfttcCountintEFTTC 完成次数
contractTradeAmountstring合约交易量(折USDT)
firstDepositCountint首次入金完成人数
downPuidstring上级UID
hasDirectboolean是否有直接下级
upperPuidstring上上级UID