Skip to main content
GET
/
v0
/
orders
/
open
# Hosted reads need: pmxt_api_key + wallet_address (private_key is only required for writes).
import pmxt

client = pmxt.Polymarket(
    pmxt_api_key="YOUR_PMXT_API_KEY",
    wallet_address="0xYourWallet",
)
for order in client.fetch_open_orders():
    print(order.id, order.side, order.price, order.remaining)
[
  {
    "id": "<string>",
    "status": "<string>",
    "amount": 123,
    "price": 123,
    "filled": 123,
    "remaining": 123,
    "fee": 123,
    "timestamp": "<string>",
    "tx_hash": "<string>",
    "chain": "<string>",
    "block_number": 123
  }
]
Available on: Polymarket, Opinion, Limitless. Other venues raise NotSupported in hosted mode — for those, run a local PMXT service.
Use any EVM private key. Your USDC sits in a non-custodial PreFundedEscrow on Polygon — the single funding location for every hosted venue (including Opinion, which PMXT settles cross-chain for you). PMXT cannot move funds without your EIP-712 signature.

Authorizations

Authorization
string
header
required

Required when calling the hosted API directly (curl, requests, fetch). SDK users pass credentials via constructor params instead.

Query Parameters

address
string
required

EVM wallet address.

venue
enum<string>

Restrict to a single hosted venue.

Available options:
polymarket,
opinion

Response

Open orders list.

id
string
required

Unified order id. Stable across the order's lifetime; reuse it in fetchOrderHosted and cancelOrderHosted.

status
string
required

Lifecycle status. Open-order values include resting and partial; submit responses pass through the upstream status string (failed when an error was raised); cancel responses return the venue's cancel-acknowledgement status.

side
enum<string> | null

Order direction. null on cancel responses, which only carry id and status.

Available options:
buy,
sell
type
enum<string> | null

Order type echoed from the build. null on cancel responses.

Available options:
market,
limit
amount
number | null

Order size in outcome shares. For market submits, this is the shares actually obtained (tokens_bought / tokens_sold); for resting limit orders it is the total shares originally requested. null on cancel responses.

price
number | null

Limit price in probability units [0, 1] for limit orders. null for market orders and cancel responses.

filled
number

Shares filled so far. For market submits this equals the shares obtained on-chain; for resting limit orders it is the running fill total.

remaining
number

Shares still outstanding (amount - filled, floored at 0). Reaches 0 when the order is fully filled or cancelled.

fee
number | null

Total fee charged for this order, in USDC dollars. null until the venue reports fees (typically after settlement).

timestamp
string | null

ISO-8601 timestamp the order was created on the venue side. null on cancel responses.

tx_hash
string | null

On-chain settlement transaction hash on Polygon. null until the order settles on-chain (resting limit orders stay null until matched).

chain
string | null

Chain the order settled on. Always polygon for hosted orders today (Opinion settles cross-chain via the same Polygon escrow). null on cancel responses.

block_number
integer | null

Polygon block height at which the order settled. null until settlement.