Get Margin Borrowing History
{
"currentPage": 1,
"pageSize": 50,
"totalNum": 1,
"totalPage": 1,
"items": [
{
"orderNo": "5da6dba0f943c0c81f5d5db5",
"symbol": "BTC-USDT",
"currency": "USDT",
"size": 10,
"actualSize": 10,
"status": "DONE",
"createdTime": 1555056425000
}
]
}
This API endpoint is used to get the borrowing orders for cross and isolated margin accounts
HTTP REQUEST
GET /api/v3/margin/borrow
Example
GET /api/v3/margin/borrow
API KEY PERMISSIONS
This endpoint requires the Margin Trading permission.
REQUEST RATE LIMIT
Spot weight
:15
REQUEST URL
This endpoint support Spot URL
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
currency | String | Yes | Currency |
isIsolated | Boolean | No | true-isolated, false-cross; default is false |
symbol | String | No | trading pair, mandatory for isolated margin account |
orderNo | String | No | Order number |
startTime | Long | No | The start and end times are not restricted. If the start time is empty or less than 1680278400000, the default value is set to 1680278400000 (April 1, 2023, 00:00:00) |
endTime | Long | No | End time |
currentPage | Int | No | Current query page, with a starting value of 1. Default:1 |
pageSize | Int | No | Number of results per page. Default is 50, minimum is 10, maximum is 500 |
RESPONSES
Param | Description |
---|---|
orderNo | Borrow order ID |
symbol | Isolated margin trading pair; empty for cross margin |
currency | Currency |
size | Initiated borrowing amount |
actualSize | Actual borrowed amount |
status | PENDING: Processing, SUCCESS: Successful, FAILED: Failed |
createdTime | Time of borrowing |