Regarding the future of VPX — Read our announcement →
vancouverpx
← Back to Markets

API Documentation

One API for markets, your account and trading, for scripts, AI agents and VPX Bots

GET

List your orders

/api/v1/orders · needs an API key

Your open orders, or your order history.

Your orders, newest first: open ones by default, or status=closed (filled, cancelled) and status=all for your history. Orders your VPX bots placed are included, with their botId.

Parameters

NameInTypeDescription
statusquery"open" | "closed" | "all"open (default), closed or all Default "open".
marketIdquerystringOnly this market's orders (its id or slug)
limitqueryintegerHow many to return (1–1000, default 100) Default 100.
cursorquerystringFrom a previous page's nextCursor

Request

curl "https://www.vancouverpx.ca/api/v1/orders?status=open" \
  -H "Authorization: Bearer $VPX_API_KEY"

Response

200 with this object:

FieldTypeDescription
ordersOrder[]
nextCursorstring | nullPass as cursor to get the next page; null on the last page
Example
{
  "orders": [
    {
      "id": "9b2e5c1d-0f47-4d1e-8a55-6c2b7e3f9a10",
      "marketId": "3f1c0f2e-6a55-4a8e-9b53-2a1f0c9d7e11",
      "walletId": "clx8w2k3p0001qz8r5t1y7u4v",
      "side": "BUY",
      "outcome": "YES",
      "type": "LIMIT",
      "price": 53,
      "quantity": 10,
      "filledQuantity": 4,
      "remainingQuantity": 6,
      "status": "PARTIALLY_FILLED",
      "createdAt": "2026-10-27T17:05:00.000Z",
      "updatedAt": "2026-10-27T17:05:00.000Z",
      "canceledAt": null,
      "botId": null,
      "clientOrderId": null
    }
  ],
  "nextCursor": null
}

Errors

The errors every endpoint can answer.

List your orders | VPX API Docs