Get Balance
Get balance, unrealized PnL, and total value for an allowed wallet.
With no wallet_id, this preserves the documented API-wallet default
for both API-key and Bearer authentication. An explicit wallet id uses
the same ownership-checked wallet resolution as the sibling account read
endpoints; missing and foreign ids are indistinguishable 404 responses.
Per-user 5-second cache (override via BALANCE_CACHE_TTL_S env; set to
0 to disable). Trade writes bust the cache via
app.api_v1._user_cache.bust_balance_cache.
Authorizations
Issue from /v1/keys (or admin-issued for enterprise tier).
Headers
Query Parameters
An integer wallet id you own. Omit to read the API wallet. A missing or foreign wallet returns 404 WALLET_NOT_FOUND.