Skip to main content
GET
Get Balance

Authorizations

X-API-Key
string
header
required

Issue from /v1/keys (or admin-issued for enterprise tier).

Headers

authorization
string | null
X-API-Key
string | null
POLY_API_KEY
string | null
Poly-API-Key
string | null

Query Parameters

wallet_id
integer | null

An integer wallet id you own. Omit to read the API wallet. A missing or foreign wallet returns 404 WALLET_NOT_FOUND.

Response

Successful Response

balance
string
required

Spendable cash in the wallet (the API wallet unless wallet_id is given). Cash reserved by resting BUY orders is not included.

currency
string
required

Always USD.

unrealized_pnl
string
required

Total P&L of the wallet against its starting balance: total_value - starting_balance. Despite the name, this is not the P&L of open positions alone: realized gains and losses and fees already paid are in it too. For open-position P&L, add up unrealized_pnl from GET /v1/account/positions?status=OPEN (null for a position with no live price).

total_value
string
required

Wallet equity: balance + cash reserved by resting BUY orders + mark-to-market value of open positions and of shares reserved by resting SELL orders. Placing or cancelling a resting order does not change it.

starting_balance
string
required

The wallet's P&L baseline. For the API wallet this is the tier-dependent paper seed (Free $100, Pro $10,000, Pro+ $25,000).