获取经纪商子账户佣金记录
限速规则 5次/1s (UID)
描述
- 请联系对接BD或者RM申请接入权限
HTTP请求
- GET /api/broker/v2/commissions
请求示例
curl "https://api.bitget.com/api/broker/v2/commissions?startTime=1720163600000&endTime=1720663600000&pageSize=1&pageNo=1" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"
请求参数
参数名 | 参数类型 | 是否必须 | 描述 |
---|---|---|---|
startTime | String | 否 | 开始时间戳,毫秒,开始与结束时间均为空默认时间为昨日00:00-23:59(UTC+0),startTime与endTime只能同时填或不填,超出30天报错 |
endTime | String | 否 | 结束时间戳,毫秒,开始与结束时间均为空默认时间为昨日00:00-23:59(UTC+0),startTime与endTime只能同时填或不填,超出30天报错 |
pageSize | String | 否 | 每页数量,默认100,最大1000,超过1000默认返回100条 |
pageNo | String | 否 | 分页页码,默认是1 |
bizType | String | 否 | 选填,业务类型 - spot 现货 - futures 合约 如不填,则返回全部类型佣金信息 |
subBizType | String | 否 | 选填,业务子类型 - spot_trade 现货交易- spot_margin 现货杠杆- usdt_futures U本位合约- usdc_futures USDC合约- coin_futures 币本位合约当 bizType=spot 时,该参数可填spot_trade 及spot_margin 当 bizType=future 时,该参数可填usdt_future ,usdc_future 及coin_future |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1720750077022,
"data": [
{
"uid": "564xxx8008",
"coin": "BTC",
"symbol": "BTC/USDT",
"dealtAmount": "199.81724",
"totalFee": "0.00000768",
"deductedFee": "0",
"paidFee": "0.00000768",
"markUpFee": "0.00000603",
"totalCommission": "0.00000686"
}
]
}
返回参数
返回字段 | 参数类型 | 字段说明 |
---|---|---|
uid | String | User ID |
coin | String | 佣金币种 |
symbol | String | 交易对 |
dealtAmount | String | 成交额 |
totalFee | String | 总手续费 |
deductedFee | String | 扣减手续费 |
paidFee | String | 实付手续费 |
markUpFee | String | 加点手续费 |
totalCommission | String | 总计佣金 |