欢迎使用全新的 WEEX API 文档。需要查看旧版本?切换到旧版文档
WEEX

查询子代理数据(代理账户)

HTTP request 查询子代理交易量、手续费与佣金数据(代理账户)

  • POST /api/v3/rebate/affiliate/querySubChannelTransactions

权重(IP): 10

请求参数

参数名参数类型是否必须描述
subUidLong否子代理的UID
startTimeLong否开始时间戳(UTC毫秒)
endTimeLong否结束时间戳(UTC毫秒)
productTypeString是产品类型(SPOT或FUTURES)
pageNumInteger否页码(从1开始,默认1)
pageSizeInteger否每页数量(默认100)
请求示例
PowerShellCode
curl -X POST "https://api-spot.weex.com/api/v3/rebate/affiliate/querySubChannelTransactions" \ -H "ACCESS-KEY:*******" \ -H "ACCESS-SIGN:*******" \ -H "ACCESS-PASSPHRASE:*****" \ -H "ACCESS-TIMESTAMP:1659076670000" \ -H "Content-Type: application/json" \ -d '{ "startTime": null, "endTime": null, "productType": "FUTURES" }'
返回参数
字段名类型字段说明
recordsArray子代理数据列表
subAffiliateUidString子代理id
productTypeString产品类型
dateString日期
tradingVolumeString总交易量
netTradingFeeString平台实际收取的净交易手续费
paidCommissionString实际的返佣金额
totalLong总记录数
sizeInteger每页数量
currentInteger当前页码
pagesInteger总页数
返回示例
JSONCode
{ "records": [ { "subAffiliateUid": "6424873609", "productType": "FUTURES", "date": "2025-08-20", "tradingVolume": "2698.099", "netTradingFee": "1.70343", "paidCommission": "1.362744" } ], "total": 1, "size": 10, "current": 1, "pages": 1 }