Skip to main content
GET
/
v2
/
clob
/
orders
curl "https://api.pmx.trade/v2/clob/orders?pubkey=7xKXabc123...&status=open&limit=20"
{
  "orders": [
    {
      "id": "b2c3d4e5-...",
      "marketId": "550e8400-...",
      "ownerPubkey": "7xKXabc123...",
      "side": "buy",
      "outcome": "yes",
      "priceBps": 5500,
      "originalQuantity": "50000000",
      "remainingQuantity": "50000000",
      "committedAmount": "27500000",
      "status": "open",
      "orderType": "limit",
      "timeInForce": "gtc",
      "createdAt": "2025-01-15T12:00:00.000Z",
      "updatedAt": "2025-01-15T12:00:00.000Z"
    }
  ],
  "nextCursor": null
}
Returns orders for the specified wallet, sorted newest first. Supports filtering by market and status with cursor-based pagination.

Query parameters

pubkey
string
required
The Solana wallet public key (base58-encoded).
marketId
string
Filter by market UUID.
status
string
Filter by status: open, partially_filled, settling, filled, or cancelled.
limit
integer
default:"50"
Number of orders to return. Max 200.
cursor
string
Pagination cursor from a previous response.

Response

orders
array
nextCursor
string
Cursor for the next page. null if no more results.
curl "https://api.pmx.trade/v2/clob/orders?pubkey=7xKXabc123...&status=open&limit=20"
{
  "orders": [
    {
      "id": "b2c3d4e5-...",
      "marketId": "550e8400-...",
      "ownerPubkey": "7xKXabc123...",
      "side": "buy",
      "outcome": "yes",
      "priceBps": 5500,
      "originalQuantity": "50000000",
      "remainingQuantity": "50000000",
      "committedAmount": "27500000",
      "status": "open",
      "orderType": "limit",
      "timeInForce": "gtc",
      "createdAt": "2025-01-15T12:00:00.000Z",
      "updatedAt": "2025-01-15T12:00:00.000Z"
    }
  ],
  "nextCursor": null
}