跳到主要内容

获取账单流水

限速规则 10次/1s (UID)

描述

获取账单流水

HTTP请求

  • GET /api/v2/spot/account/bills
请求示例
curl "https://api.bitget.com/api/v2/spot/account/bills" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
coinString币种名称,如USDT
groupTypeString账单类型
deposit 充值
withdraw 提现
transaction 交易
transfer 转账
other 其他
businessTypeString业务类型
deposit 充值
withdraw 提现
buy 买
sell 卖
deduction of handling fee 币币交易手续费抵扣
transfer-in 转入
transfer-out 转出
rebate rewards 返佣奖励
airdrop rewards 空投奖励
USDT contract rewards USDT专业合约活动奖励
mix contract rewards 混合合约活动奖励
system lock系统锁仓
user lock 用户锁仓
startTimeString账单流水的开始时间,即获取该时间戳以后的账单流水
Unix毫秒时间戳,例如1690196141868
endTimeString账单流水的结束时间,即获取该时间戳以前的账单流水
Unix毫秒时间戳,例如1690196141868
startTime和endTime的时间间隔不超过90天
limitString返回结果的数量,默认100,最大 500
idLessThanString上一次查询返回的billId,
返回ID小于该入参的数据
返回示例
{
"code": "00000",
"message": "success",
"requestTime": 1695808949356,
"data": [
{
"cTime": "1622697148",
"coin": "usdt",
"groupType": "deposit",
"businessType": "transfer-in",
"size": "1",
"balance": "1",
"fees": "0",
"billId": "1291"
}
]
}

返回参数

返回字段参数类型字段说明
cTimeString创建时间
coinString币种名称
groupTypeString账单类型
deposit 充值
withdraw 提现
transaction 交易
transfer 转账
other 其他
businessTypeString流水账单业务类型
sizeString数量
balanceString划转之前的资产
feesString手续费
billIdString账单流水ID