查询当前借币
描述
查询当前借币
HTTP请求
- GET /api/v3/loan/borrow-ongoing
- 限频规则: 10次/秒/UID
- 需要统一账户管理只读/读写权限
请求示例
curl "https://api.bitget.com/api/v3/loan/borrow-ongoing" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
请求参数
| 参数名 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
| orderId | String | 否 | 订单ID |
| loanCoin | String | 否 | 负债币种 |
| pledgeCoin | String | 否 | 质押币种 |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1770185712179,
"data": [
{
"orderId": "123456789010111",
"loanCoin": "USDT",
"loanAmount": "1.00032276",
"interestAmount": "0.00000339",
"hourInterestRate": "0.000338",
"pledgeCoin": "BGB",
"pledgeAmount": "0.42325892",
"pledgeRate": "77.97",
"supRate": "85",
"forceRate": "91",
"borrowTime": "1770185278083",
"expireTime": "0"
}
]
}
返回参数
| 返回字段 | 参数类型 | 字段说明 |
|---|---|---|
| orderId | String | 订单ID |
| loanCoin | String | 负债币种 |
| loanAmount | String | 负债数量 |
| interestAmount | String | 已产生利息数量 |
| hourInterestRate | String | 小时利率百分比 |
| pledgeCoin | String | 质押币种 |
| pledgeAmount | String | 质押数量 |
| pledgeRate | String | 质押率百分比 |
| supRate | String | 补保质押率百分比 |
| forceRate | String | 强平质押率百分比 |
| borrowTime | String | 借币时间 Unix毫秒时间戳 |
| expireTime | String | 到期时间 Unix毫秒时间戳 |