API ReferencePX Account

My orders

GET/api/v1/px/ordersBearer

PX Discovery & AccountE6 decimal strings throughoutA | B

Newest first. createdAt is the order row's last update time, not the placement time — the read model has no placement-time column. For the real placement moment use the trading line's command-log cursor; do not infer ordering from this field.

Prices and sizes are E6 strings and outcome is A/B, unlike the trading line's E4/E2 and YES/NO.

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

Query parameters

  • limitintegerqueryoptional

    Maximum number of rows returned

    Default100Range≥ 1Example20

Response

200List of orders
  • ordersobject(PxOrder)[]

    Order list, newest first

  • orderIdstring

    Order id

    Example"ord_01K5H2M3N7Q8R9S0"

  • marketIdstring

    Engine market id

    Example"mkt-0001"

  • marketSlugstringnullable

    Market slug

  • questionstringnullable

    Market question

    Example"Will BTC clos…c 31, 2026?"

  • outcomestring

    Side, A or B

  • outcomeLabelstringnullable

    Display label for that side

  • sidestring

    Order side

  • orderTypestring

    Order type, LIMIT or MARKET

  • tifstringnullable

    Time-in-force policy

  • limitPriceE6stringnullable

    Limit price, as an E6 string

  • quantityE6string

    Order size, as an E6 string

  • filledQuantityE6string

    Filled size, as an E6 string

  • statusstring

    Order status

  • createdAtstringnullable

    The order row's last update time, not the placement time — the read model has no placement-time column

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