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 Name | Required | Type | Notes |
---|---|---|---|
market | false | string | Market name |
status | false | string | Borrowing status |
page | false | int | Number of pagination. Default is 1. |
limit | false | int | Number in each page. Default is 10. |
Return parameters
Parameter Name | Type | Notes |
---|---|---|
borrow_id | int | Borrow record ID |
created_at | int | Loan application time |
market | string | Market name |
ccy | string | Currency name |
daily_interest_rate | string | Daily interest rate |
expired_at | int | Expiration |
borrow_amount | string | Borrowed amount |
to_repaid_amount | string | Unrepaid amount |
status | string | Borrowing status |
is_auto_renew | bool | Whether 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
}
}