跳到主要内容

获取代理的直客交易与资金统计

HTTP request 获取直客交易与资金统计 (代理账户)

  • GET /api/v2/rebate/affiliate/getChannelUserTradeAndAsset

限速规则:10次/1s

请求参数

参数名参数类型是否必须描述
uidLong被邀请用户的UID
startTimeLong开始时间戳(UTC毫秒)
endTimeLong结束时间戳(UTC毫秒)
pageInteger页码(从1开始,默认1)
pageSizeInteger每页数量(默认100)

请求示例

curl "https://api-spot.weex.com/api/v2/rebate/affiliate/getChannelUserTradeAndAsset" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"

返回参数

字段名类型字段说明
uidString被邀请用户UID
depositAmountString入金量
withdrawalAmountString出金量
spotTradingAmountString现货交易量
futuresTradingAmountString合约交易量
commissionString佣金

返回示例

{
"code": "200",
"data": {
"pages": 1,
"pageSize": 100,
"total": 98,
"records": [
{
"uid": "3066862172",
"depositAmount": "0",
"withdrawalAmount": "0",
"spotTradingAmount": "0",
"futuresTradingAmount": "0",
"commission": "0"
}
]
},
"timestamp": 1756102550140
}