Get paper cash or token shares (PM keys) and a simulated allowance
PM-compat GET /balance-allowance. balance is the API wallet’s paper cash for asset_type=COLLATERAL (default; the same figure as GET /v1/account/balance) or the held shares of token_id for CONDITIONAL, as a 6-decimal base-unit string (1.00 = "1000000"); bots size positions from it. allowance stays an effectively-unlimited sentinel: paper trading has no on-chain approval; allowances (clob-client-v2’s record) carries it per Polygon exchange spender. The legacy collateral / conditional keys carry the same cash / shares as decimal strings. Also served at /balance-allowance/update (PM’s refresh call; nothing to refresh here).
Authorizations
Headers
Query Parameters
Response
Successful Response
GET /v1/balance-allowance response — PM keys + legacy extras.
PM's wire contract (py-clob-client get_balance_allowance /
clob-client-v2 BalanceAllowanceResponse) keys the payload as
{"balance": "...", "allowance": "..."} — base-unit strings
(USDC 6-decimal fixed point). The original polysim emission used
{collateral, conditional}, so SDK/user code reading
resp["balance"] KeyError'd. PM keys are now primary; the legacy
keys stay as polysim extras for older callers.
clob-client-v2 (TS 1.3.1) declares allowances: Record<string, string> keyed by spender contract; it is served for the SDK's
Polygon exchange and neg-risk spenders, each with the same sentinel
as allowance.