API Reference

Portfolio

This API provides detailed information about a user's asset portfolio.

⏳ Limit

10 requests per 1 second.


🛠️ Parameters

None


📬 Response

FieldTypeDescription
accountIdStringThe unique identifier for the user’s account in the trading system.
coinStringThe asset symbol (e.g., USDT), representing the specific currency in the portfolio.
balanceStringThe total balance of the asset in the account.
availableStringThe available balance of the asset that can be used for trading or withdrawal.
frozenStringThe frozen balance of the asset, locked due to open positions or pending transactions.
debtStringThe current debt of the asset in the account, which needs to be repaid.
amountStringThe total amount of the asset in the account, usually equal to the balance.
createTimeStringThe timestamp when this portfolio record was created (in milliseconds).
updateTimeStringThe timestamp when this portfolio record was last updated (in milliseconds).
borrowStringThe amount of the asset that has been borrowed by the user.
overdrawStringAny amount of the asset that has been overdrawn from the account.
indexPriceStringThe current index price of the asset, often used as a reference price for contracts.
marginValueStringThe margin value for the asset, representing collateral in margin trading.
virtualBorrowStringThe amount of the asset that has been virtually borrowed.
unrealizedPnlStringThe unrealized profit and loss on open positions involving the asset.
debtMarginStringThe margin allocated to cover debt associated with the asset.
perpMarginStringThe margin allocated for perpetual contracts involving the asset.
maxTransferableStringThe maximum amount of the asset that can be transferred out of the account.
equityValueStringThe equity value of the asset, including both the balance and any unrealized profit and loss.
Language