get
https://api.connex.trade/api/v1/trading/rapidxLoan/loan/orders
Query borrow and repayment orders. Returns data from the last 90 days at most.
Permission
- Applies to both primary user and trading portfolio's API Key.
- Permission: READ.
Rate Limit
- 20 requests per second
Request
| Field name | Type | Necessary | Remarks |
|---|---|---|---|
| orderId | String | N | Exact match by system order ID (returned from borrow/repay). If omitted, returns all. |
| clientOrderId | String | N | Exact match by client idempotency ID (same as provided when placing the order). If omitted, returns all. |
| coin | String | N | Filter by currency. If omitted, returns all. |
| type | String | N | Order type: borrow or repay. If omitted, returns all. |
| startTime | int64 | N | Start timestamp in milliseconds. Defaults to 7 days ago. |
| endTime | int64 | N | End timestamp in milliseconds. Defaults to current time. |
| page | integer | N | Page number, starting from 1. Defaults to 1. |
| pageSize | integer | N | Page size. Defaults to 1000. Maximum 1000. |
Response
| Field name | Type | Remarks |
|---|---|---|
| orderId | String | System order ID. |
| clientOrderId | String | Client idempotency ID (provided when placing the order). |
| exchange | String | Exchange name, e.g., BINANCE, OKX. |
| type | String | Order type: borrow or repay. |
| coin | String | Currency. |
| amount | String | Borrow or repayment amount. |
| status | String | filled |
| createTime | int64 | Order creation timestamp in milliseconds. |
