Get the authenticated user's portfolio
GET/portfolio
Unified portfolio across CeFi and DeFi venues: valued balances, open positions, and PnL in a single call.
total_usd is total account equity: balances_usd plus the margin committed to open positions. Unrealized PnL is deliberately not added, because the perp balance row is already marked to market. balances_usd on its own is the value of spot balances, which excludes collateral committed to perps.
A balance with no live price returns price, value and change_24h_pct as null and is excluded from every total.
cost_basis is present only for non-quote assets acquired on platform. Quote and stable assets omit it, and so does any quantity received by deposit or bridge. Unlike /balances, an upstream failure fails the request: equity depends on both venues, so a partial total would be wrong rather than merely incomplete.
Request
Responses
- 200
- 400
- 401
- 403
- 500
- 503
The user's portfolio
Bad request
Unauthorized
Forbidden. On order creation this also covers an asset that is not available to trade from the country the request came from.
Internal server error
Service unavailable