v3
OpenAPI 3.0.02026-07-31103181312.8 KBportfolio
Get Balance
Endpoint for getting the balance and portfolio value of a member. Both values are returned in cents. This endpoint also accepts API keys with the 'read::portfolio_balance' scope.
get/portfolio/balance
Query parameters
subaccountinteger
Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.
exchange_indexinteger
Identifier for an exchange shard. Defaults to 0 if unspecified.
Response
Balance retrieved successfully
Example response
{
"balance_dollars": "0.5600",
"balance_breakdown": [
{
"balance": "0.5600"
}
]
}