Skip to main content

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

ParameterTypeRequiredComments
orderIdStringNoOrder ID
loanCoinStringNoBorrowed coin
pledgeCoinStringNoCollateral coin
statusStringNoStatus
ROLLBACK: failed
FORCE: liquidated
REPAY: repaid
startTimeStringYesStart time
only supports querying data from the last 3 months
endTimeStringYesEnd time
pageNumStringNoPage number
default is 1
pageSizeStringNoItems 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

ParameterTypeComments
loanCoinStringBorrowed coin
pledgeCoinStringCollateral coin
orderIdStringOrder ID
initPledgeAmountStringInitial collateral amount
initLoanAmountStringInitial borrowed amount
hourRateStringHourly interest rate
pledgeDaysStringPledge/loan term in days
borrowTimeStringBorrow time
statusStringStatus
ROLLBACK: failed
FORCE: liquidated
REPAY: repaid

How was your Reading Experience with us?