Get Borrow History
Description
Get Borrow History
HTTP Request
- GET /api/v3/loan/borrow-history
- Rate limit: 10/sec/UID
- Permission: UTA mgt. (read)
Request
curl "https://api.bitget.com/api/v3/loan/borrow-history?startTime=1713645576789&endTime=1713645576798" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
Request Parameters
| Parameter | Type | Required | Comments |
|---|---|---|---|
| orderId | String | No | Order ID |
| loanCoin | String | No | Borrowed coin |
| pledgeCoin | String | No | Collateral coin |
| status | String | No | StatusROLLBACK: failedFORCE: liquidatedREPAY: repaid |
| startTime | String | Yes | Start time only supports querying data from the last 3 months |
| endTime | String | Yes | End time |
| pageNum | String | No | Page number default is 1 |
| pageSize | String | No | Items per page default is 10,maximum is 100 |
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1770185989134,
"data": [
{
"orderId": "12353453556666555111",
"loanCoin": "USDT",
"pledgeCoin": "BGB",
"initPledgeAmount": "0.42325892",
"initLoanAmount": "1.00032276",
"hourRate": "0.000338",
"daily": "FLEXIBLE",
"borrowTime": "1770185278083",
"status": "repay"
}
]
}
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| loanCoin | String | Borrowed coin |
| pledgeCoin | String | Collateral coin |
| orderId | String | Order ID |
| initPledgeAmount | String | Initial collateral amount |
| initLoanAmount | String | Initial borrowed amount |
| hourRate | String | Hourly interest rate |
| pledgeDays | String | Pledge/loan term in days |
| borrowTime | String | Borrow time |
| status | String | StatusROLLBACK: failedFORCE: liquidatedREPAY: repaid |