Balance
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
Need a clean slate?
POST /v1/account/reset-api-balance resets the API
wallet to your tier baseline (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>"}.