Borrowing/Repayment Settlement

Query borrow and repayment settlement transaction history. 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 nameTypeNecessaryRemarks
coinStringNFilter by currency. If omitted, returns all.
typeStringNTransaction type: borrow, repay, interest, or liquidation_fee. 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

Field nameTypeRemarks
statementIdStringTransaction flow ID.
exchangeStringExchange name, e.g., BINANCE, OKX.
typeStringTransaction type: loan_borrow, loan_repay, loan_interest, or loan_liquidation_fee.
coinStringCurrency.
deltaStringChange in available balance (positive for borrow; negative for repay, interest, or liquidation fee).
balanceStringAvailable balance after the transaction.
timestampint64Transaction timestamp in milliseconds.
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
text/plain
application/json