Skip to main content

Balance

Returns your current API wallet balance, P&L metrics, and starting capital. API-authenticated requests always read from the API wallet — see Wallets for how API, MAIN, and SANDBOX wallets relate.

Authentication

This endpoint accepts either an API key (X-API-Key: <key>, or the PM-compat POLY_API_KEY / Authorization: Bearer ps_live_... aliases) or a Supabase Bearer JWT (Authorization: Bearer <jwt>). The balance returned is always the API wallet regardless of which scheme you use. (Most account endpoints — positions, portfolio, history, equity — are API-key only; balance and reset-api-balance are the exceptions that also accept the JWT.)

Request


Response

A Pro+ key sees its $25,000 baseline instead:
Your total portfolio value = balance + market value of open positions. Use the Portfolio endpoint for a complete snapshot.
Need a clean slate? POST /v1/account/reset-api-balance resets the API wallet to your tier baseline (Pro: 10,000;Pro+:10,000; Pro+: 25,000) and closes all open API positions. Resets are free and currently uncapped — there is no cooldown during the beta period (through 2026-08-31). See Wallets for the full reset semantics.

Python Example


Errors

All errors return a JSON body of the shape {"error": "<CODE>", "message": "<human-readable>"}.

Next Steps