Borrowing / Repayment History

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Description

Query borrow and repayment orders. Returns data from the last 90 days at most.

Permission: Read-only API key required.

Rate Limit: 20 requests per second.

Request

FieldTypeMandatoryDescription
orderIdStringNExact match by system order ID (returned from borrow/repay). If omitted, returns all.
clientOrderIdStringNExact match by client idempotency ID (same as provided when placing the order). If omitted, returns all.
coinStringNFilter by currency. If omitted, returns all.
typeStringNOrder type: borrow or repay. If omitted, returns all.
startTimeInt64NStart timestamp in milliseconds. Defaults to 7 days ago.
endTimeInt64NEnd timestamp in milliseconds. Defaults to current time.
pageIntegerNPage number, starting from 1. Defaults to 1.
pageSizeIntegerNPage size. Defaults to 1000. Maximum 1000.

Response

FieldTypeDescription
orderIdStringSystem order ID.
clientOrderIdStringClient idempotency ID (provided when placing the order).
exchangeStringExchange name, e.g., BINANCE, OKX.
typeStringOrder type: borrow or repay.
coinStringCurrency.
amountStringBorrow or repayment amount.
statusStringfilled
createTimeInt64Order creation timestamp in milliseconds.

Example Response

{
  "code": 200000,
  "message": "Success",
  "data": {
    "page": 1,
    "pageSize": 1000,
    "totalSize": 8,
    "list": [
      {
        "orderId": "185647807523192897",
        "clientOrderId": "user-borrow-20260601-001",
        "exchange": "BINANCE",
        "type": "borrow",
        "coin": "USDT",
        "amount": "100.00",
        "status": "filled",
        "createTime": 1779951487250
      },
      {
        "orderId": "185650128252567617",
        "clientOrderId": "user-repay-20260601-007",
        "exchange": "BINANCE",
        "type": "repay",
        "coin": "USDT",
        "amount": "50.00",
        "status": "filled",
        "createTime": 1779952040556
      }
    ]
  }
}
Query Params
string
string
string
string
string
string
string
string
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Choose an example:
application/json