GET
List trades
/api/v1/trades · public, no key needed
Executions on VPX, newest first.
Every execution (trades, marriages and divorces) in YES terms, newest first, on the markets you name (ids or slugs) or on all of them. To follow the tape, each time ask for trades since a few seconds before the last answer's now, and drop ids you've already seen: an execution can be written a moment after the time it carries.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| marketId | query | string[] | Only these markets (ids or slugs) (comma-separated, at most 200) |
| since | query | string (date-time) | Only executions after this time (ISO 8601, e.g. 2026-10-27T18:00:00Z) |
| until | query | string (date-time) | Only executions at or before this time (ISO 8601, e.g. 2026-10-27T18:00:00Z) |
| limit | query | integer | How many to return (1–1000, default 100) Default 100. |
| cursor | query | string | From a previous page's nextCursor |
Request
curl "https://www.vancouverpx.ca/api/v1/trades?marketId=3f1c0f2e-6a55-4a8e-9b53-2a1f0c9d7e11&limit=2"Response
200 with this object:
| Field | Type | Description |
|---|---|---|
| trades | Trade[] | |
| nextCursor | string | null | Pass as cursor to get the next page; null on the last page |
| now | string (date-time) | The server's time when it read them |
Example
{
"trades": [
{
"id": "marriage:0c9e8d7f-6a5b-4c3d-2e1f-0a9b8c7d6e5f",
"kind": "marriage",
"marketId": "3f1c0f2e-6a55-4a8e-9b53-2a1f0c9d7e11",
"yesPrice": 54,
"quantity": 10,
"executedAt": "2026-10-27T17:04:51.120Z"
},
{
"id": "trade:5d1e9c2a-7b3f-4e8d-a6c1-2f9b8e7d6c5a",
"kind": "trade",
"marketId": "3f1c0f2e-6a55-4a8e-9b53-2a1f0c9d7e11",
"yesPrice": 53,
"quantity": 4,
"executedAt": "2026-10-27T17:03:00.000Z"
}
],
"nextCursor": "eyJ0IjoiMjAyNi0xMC0yN1QxNzowMzowMC4wMDBaIiwiaSI6InRyYWRlOjVkMWU5YzJhIn0",
"now": "2026-10-27T17:06:12.004Z"
}Errors
The errors every endpoint can answer.