Skip to main content

Get Borrowing Record in Margin Account

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.

HTTP request

GET /assets/margin/borrow-history

Request parameters

Parameter NameRequiredTypeNotes
marketfalsestringMarket name
statusfalsestringBorrowing status
pagefalseintNumber of pagination. Default is 1.
limitfalseintNumber in each page. Default is 10.

Return parameters

Parameter NameTypeNotes
borrow_idintBorrow record ID
created_atintLoan application time
marketstringMarket name
ccystringCurrency name
daily_interest_ratestringDaily interest rate
expired_atintExpiration
borrow_amountstringBorrowed amount
to_repaid_amountstringUnrepaid amount
statusstringBorrowing status
is_auto_renewboolWhether to renew automatically

Request example

GET /assets/margin/borrow-history?market=CETUSDT&status=finish&page=1&limit=10

Response example

{
"code": 0,
"message": "OK",
"data": [
{
"borrow_id": 72762529,
"created_at": 1691462341020,
"market": "CETUSDT",
"ccy": "CET",
"daily_interest_rate": "0.06237",
"expired_at": 1691480840000,
"borrow_amount": "10000",
"to_repaid_amount": "0",
"is_auto_renew": true,
"status": "PASS"
}
],
"pagination": {
"total": 1,
"has_next": false
}
}