Query Loan Info

Retrieves real-time borrowing status, LTV risk levels, net margin metrics, and per-currency loan balances for the current portfolio across all connected exchanges.

Permission

  • Applies to both primary user and trading portfolio's API Key.
  • Permission: READ.

Rate Limit

  • 20 requests per second

Request

This endpoint does not require any request parameters.

Response

data.accounts[]

Field nameTypeRemarks
exchangeStringExchange name, e.g., BINANCE, OKX.
netMarginValueStringNet margin value
netValidMarginStringnetMarginValue-openLossMargin
netAvailableMarginStringnetValidMargin-frozenMargin
loanMarginStringΣ loan × indexPrice / loanLeverage
loanMaintenanceMarginStringΣ loan × indexPrice × loanMMR
ltvStringLTV = totalLoanValue / VaildMargin, returns "0" when no loan is outstanding.
accountStatusStringe.g., NORMAL / MARGIN_CALL / CANCEL_OPEN / CANCEL_ALL / LIQUIDATING / TAKEOVER / LTV_WARNING / LTV_CANCEL_OPEN / LTV_RISK_CONTROL / LTV_INSOLVENT
coins[]arrayBorrowed currency details

coins[]

Field nameTypeRemarks
coinStringCurrency, e.g., USDT, BTC.
loanStringCurrent borrowed amount for this currency.
loanMmrStringMaintenance margin rate for the borrowed asset.
loanLeverageintegerBorrowing leverage multiplier.
loanValueStringloan × indexPrice
netEquityStringAsset equity minus loan.
netEquityValueStringnetEquity × indexPrice
netMarginValueStringnetEquityValue × discountRate
portfolioMaxLoanCoinStringMaximum borrowable amount for this currency.
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json