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 markets

/api/v1/markets · public, no key needed

Markets with their prices, newest first.

Every public market, newest first, with its best bid and offer, last price and volume, including the ones the website doesn't list (listed: false), which trade like any other. Private markets show only to their members. Markets come without their description (their rules), to keep the list light for polling: add include=description, or get one market.

Parameters

NameInTypeDescription
statusqueryMarketStatusOnly markets with this status
categoryqueryCategory
groupIdquerystringOnly this group's markets
idsquerystring[]Only these markets (ids or slugs) (comma-separated, at most 200)
qquerystringOnly markets whose question contains this
includequery("book" | "description")[]Add to each market: book (its resting orders; a neg-risk market's implied liquidity is on its order book endpoint), description (its rules). Comma-separated
limitqueryintegerHow many to return (1–1000, default 1000) Default 1000.
cursorquerystringFrom a previous page's nextCursor

Request

curl "https://www.vancouverpx.ca/api/v1/markets?status=OPEN"

Response

200 with this object:

FieldTypeDescription
marketsMarket[]
nextCursorstring | nullPass as cursor to get the next page; null on the last page
Example
{
  "markets": [
    {
      "id": "3f1c0f2e-6a55-4a8e-9b53-2a1f0c9d7e11",
      "slug": "bc-ndp-most-seats-2026",
      "link": "https://www.vancouverpx.ca/market/bc-ndp-most-seats-2026",
      "question": "Will the BC NDP win the most seats in the 2026 BC election?",
      "category": "POLITICS",
      "status": "OPEN",
      "closesAt": "2026-11-21T03:00:00.000Z",
      "resolvesAt": "2026-11-22T08:00:00.000Z",
      "resolution": null,
      "yesLabel": "Yes",
      "noLabel": "No",
      "imageUrl": null,
      "listed": true,
      "private": false,
      "negRisk": true,
      "group": {
        "id": "7a0d4c3b-2e1f-4a9b-8c6d-5e4f3a2b1c0d",
        "question": "Which party will win the most seats in the 2026 BC election?",
        "itemTitle": "BC NDP",
        "size": 3
      },
      "venues": {
        "polymarketSlug": "bc-election-most-seats-ndp",
        "kalshiTicker": null
      },
      "bestBid": 52,
      "bestAsk": 55,
      "lastPrice": 54,
      "volume": 152340,
      "createdAt": "2026-09-28T18:00:00.000Z",
      "updatedAt": "2026-10-26T21:14:09.000Z"
    }
  ],
  "nextCursor": null
}

Errors

The errors every endpoint can answer.

List markets | VPX API Docs