Get portfolio balance
Returns the cash balance of a portfolio.
Endpoint
GET /api/v1/portfolio/balance
Authentication
Requires X-API-KEY header.
Returns
200 OKwithPortfolioBalanceResponse.404 Not Foundif the portfolio does not exist or does not belong to the account.
Authorizations
Base64-encoded API key issued by POST /api/v1/api-keys.
Query Parameters
x >= 0x >= 0Response
Portfolio balance
Response for a portfolio balance query.
A system-generated unique identifier for an account.
x >= 0A unique identifier for a portfolio within a subaccount.
x >= 0A unique identifier for a subaccount within an account.
x >= 0Free cash balance in USDC, available for trading and withdrawal.
"1000.00"
User-facing display name. Defaults to "Main" for index 0 and "Portfolio N"
otherwise; renameable via PATCH /portfolio/{portfolio_index}/name.
"Main"
Lifecycle status of the portfolio (ACTIVE, IN_LIQUIDATION, or CLOSED).
ACTIVE, IN_LIQUIDATION, CLOSED