Get One Portfolio Assets Details

Retrieve the per-asset balance details for the current ConneX main or sub portfolio.

Important

This endpoint returns, for each coin and exchange:

  • Wallet-style balances: balance, available, frozen, debt
  • Margin-related values: marginValue, equity, equityValue, upnl, debtMargin, perpMargin, virtualBorrow, overdraw
  • Risk-related values: maxTransferable, indexPrice

The result is paginated, and each record corresponds to one asset on one exchange under the current portfolio.

Available versus transferable amounts
available is the quantity usable for operations within the account. It may equal the transferable or withdrawable amount, but this should not be assumed. Positions, open orders and margin requirements can make it differ from maxTransferable.

For a transfer, use maxTransferable for the matching Portfolio, coin and exchange. This is the transferable amount at query time; the transfer request is checked again when processed. Withdrawal eligibility, limits and fees are separate checks.

Permission

  • Primary API Key: READ, retrieve asset details of current portfolio.
  • Sub-Portfolio API Key: READ, retrieve asset details of current portfolio.

Rate Limit

  • 20 requests per 1 second

Request Parameters

All parameters are optional. If omitted, the system will return all supported exchanges for the current portfolio, paginated.

Field nameTypeNecessaryRemarks
exchangeTypeStringNExchange type(BINANCE、OKX)
pageIntegerNCurrent page, default is 1
pageSizeIntegerNPage size, default 1000

Response

FieldTypeRemark
portfolioIdStringPortfolio ID
coinStringAsset symbol, e.g. USDT, BTC.
exchangeTypeStringExchange type(BINANCE、OKX)
balanceStringTotal quantity of this asset in the portfolio on this exchange (including available + frozen + any debt-related offsets as per venue rules).
availableStringQuantity of this asset that is freely available for trading or transfer.
frozenStringQuantity currently locked (e.g. in open orders, pending withdrawals, or other holds).
equityStringThe net quantity of a coin;equity = available + frozen + uPNL
overdrawStringOverdrawn amount (if the portfolio supports overdraw / negative balance logic). Usually 0 in normal cases.
borrowStringCurrently borrowed quantity of this asset (if supported by the venue/account type).
debtStringDebt amount of this asset (for margin environments). 0 if no borrowing.
indexPriceStringReference index price for this asset (typically in USDT or quote currency), used for valuation and margin calculations.
marginValueStringAsset margin value;marginValue=equity × indexPrice × discount ratio
virtualBorrowStringVirtual borrow
Vitual borrow contains coins borrowing for opening contract positions.
debtMarginStringMargin requirement or value associated specifically with the debt portion of this asset.
perpMarginStringMargin allocated from this asset for perpetual / derivatives positions.
createAtStringRecord creation time as Unix timestamp in milliseconds.
updateAtStringLast update time as Unix timestamp in milliseconds.
maxTransferableStringMaximum transfer amount;maxTransferable = max { min{available, avaliableMargin/(indexPrice x discountRatio), (validMargin - 3*maintainMargin)/(indexPrice x discountRatio)), 0}
upnlStringUnrealized Profit and Loss
equityValueStringAsset equity value converted into the risk base currency (e.g. USDT), typically equity * indexPrice.

Example Response

{
  "code": 200000,
  "message": "Success",
  "data": {
    "page": 1,
    "pageSize": 1000,
    "pageNum": 1,
    "totalSize": 1,
    "list": [
      {
        "portfolioId": "17xxxxxxxxxxxxxx",
        "coin": "USDT",
        "exchangeType": "BINANCE",
        "balance": "33.970877268901446313",
        "available": "33.970877268901446313",
        "frozen": "0",
        "debt": "0",
        "equity": "33.970877268901446313",
        "createAt": "1776008971034",
        "updateAt": "1776008971034",
        "borrow": "0",
        "overdraw": "0",
        "indexPrice": "1",
        "marginValue": "33.9674801811745561683687",
        "virtualBorrow": "0",
        "upnl": "0",
        "debtMargin": "0",
        "perpMargin": "0",
        "maxTransferable": "33.970877268901446313",
        "equityValue": "33.970877268901446313"
      }
    ]
  }
}
Response

Language
LoadingLoading…
Response
Choose an example:
application/json