API Reference

Account Info

This API provides detailed information about a user's trading account.

⏳ Limit

1 request per 1 second.


🛠️ Parameters

None


📬 Response

NameTypeDescription
accountIdStringThe unique identifier for the user’s account in the trading system.
equityStringThe current equity value in the account.
maintainMarginStringMaintenance margin.
positionValueStringThe total value of the current positions held in the account.
uniMMRStringUniversal Minimum Maintenance Requirement (default value 999999).
accountStatusStringThe current status of the account, which can be one of the following: NORMAL, MARGIN_CALL, CANCEL_OPEN, CANCEL_ALL, LIQUIDATING, TAKEOVER.
marginValueStringTotal margin value.
frozenMarginStringFrozen margin.
perpMarginStringPerpetual contract margin.
debtMarginStringDebt margin.
openLossMarginStringOpenLossMargin includes margin losses and fee losses resulting from differences in discount rates, as well as losses from contract opening and closing fees.
validMarginStringValid margin.
availableMarginStringAvailable margin.
unrealizedPnlStringUnrealized Profit and Loss.
positionModeStringNET: one-way mode
BOTH: hedged position mode
Language