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 name | Type | Necessary | Remarks |
|---|---|---|---|
| exchangeType | String | N | Exchange type(BINANCE、OKX) |
| page | Integer | N | Current page, default is 1 |
| pageSize | Integer | N | Page size, default 1000 |
Response
| Field | Type | Remark |
|---|---|---|
| portfolioId | String | Portfolio ID |
| coin | String | Asset symbol, e.g. USDT, BTC. |
| exchangeType | String | Exchange type(BINANCE、OKX) |
| balance | String | Total quantity of this asset in the portfolio on this exchange (including available + frozen + any debt-related offsets as per venue rules). |
| available | String | Quantity of this asset that is freely available for trading or transfer. |
| frozen | String | Quantity currently locked (e.g. in open orders, pending withdrawals, or other holds). |
| equity | String | The net quantity of a coin;equity = available + frozen + uPNL |
| overdraw | String | Overdrawn amount (if the portfolio supports overdraw / negative balance logic). Usually 0 in normal cases. |
| borrow | String | Currently borrowed quantity of this asset (if supported by the venue/account type). |
| debt | String | Debt amount of this asset (for margin environments). 0 if no borrowing. |
| indexPrice | String | Reference index price for this asset (typically in USDT or quote currency), used for valuation and margin calculations. |
| marginValue | String | Asset margin value;marginValue=equity × indexPrice × discount ratio |
| virtualBorrow | String | Virtual borrow Vitual borrow contains coins borrowing for opening contract positions. |
| debtMargin | String | Margin requirement or value associated specifically with the debt portion of this asset. |
| perpMargin | String | Margin allocated from this asset for perpetual / derivatives positions. |
| createAt | String | Record creation time as Unix timestamp in milliseconds. |
| updateAt | String | Last update time as Unix timestamp in milliseconds. |
| maxTransferable | String | Maximum transfer amount;maxTransferable = max { min{available, avaliableMargin/(indexPrice x discountRatio), (validMargin - 3*maintainMargin)/(indexPrice x discountRatio)), 0} |
| upnl | String | Unrealized Profit and Loss |
| equityValue | String | Asset 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"
}
]
}
}
