API Reference

Query Account

Rate Limit: 2 requests per 1 seconds.

Retrieve account detail in portfolio level.

Request

NameTypeMandatoryDescription

Response

FieldTypeRemark
portfolioIdStringPortfolio ID
exchangeTypeStringExchange type( Binance , OKX)
equityStringEquity
maintainMarginStringMaintenance margin
positionValueStringPosition value
uniMMRStringuniMMR(default 999999)
accountStatusStringaccount status (NORMAL, MARGIN_CALL, CANCEL_OPEN, CANCEL_ALL, LIQUIDATING, TAKEOVER)
marginValueStringtotal margin value
frozenMarginStringfrozen margin(Initial margin Including perpMargin and debtMargin)
perpMarginStringperpetual contract margin
debtMarginStringdebt margin
openLossMarginStringopenLossmargin includes margin losses and fee losses due to the difference in discount rates for spot orders, as well as losses from contract opening and closing fees.
validMarginStringvalid margin
availableMarginStringavailable margin
available margin is used to calculate the maximum position size.
upnlStringUnrealized Profit and Loss
Language