API ReferencePX Account

Account balance snapshot

GET/api/v1/px/accountBearer

PX Discovery & AccountE6 decimal strings throughoutA | B

The discovery-layer account summary. It is not the same shape as the trading line's GET /api/v1/accounts/{owner}: here values are E6 strings named cashE6 / reservedE6, there they are E6 integers named availableE6 / frozenE6. Pick one and stick to it in reconciliation scripts.

positionCostBasisE6 is always 0: the cost read model is not built yet, so this returns an honest 0 rather than passing market value off as cost.

Send Authorization: Bearer <token>. The token is issued by POST /api/v1/auth/verify, and expires after 24h idle or 7d after issuance.

Response

200Account summary
  • cashE6string

    Available cash, as an E6 string

  • reservedE6string

    Reserved by resting orders, as an E6 string

  • positionCostBasisE6string

    Position cost basis. The cost read model is not built yet, so this is always "0" — do not compute PnL from it

Switch status codes in the response example to view errors. For all codes, see the Errors page.