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

API index

/api/v1 · public, no key needed

Every endpoint, and who you are signed in as.

The map of the API, for people and agents: every endpoint with its docs, and links to the OpenAPI spec, the MCP server and the agent guide. With a key it also says whose account the key is for.

Request

curl "https://www.vancouverpx.ca/api/v1"

Response

200 with this object:

FieldTypeDescription
namestring
versionstring
docsstring
openapistring
mcpstring
agentsstringA CLAUDE.md for coding agents: VPX and this API in one file
youobject | nullWhose account your key opens, or null without one
endpointsobject[]
Example
{
  "name": "Vancouver Prediction Exchange API",
  "version": "1",
  "docs": "https://www.vancouverpx.ca/docs/api",
  "openapi": "https://www.vancouverpx.ca/docs/api/openapi.json",
  "mcp": "https://www.vancouverpx.ca/api/mcp",
  "agents": "https://www.vancouverpx.ca/docs/api/claude.md",
  "you": null,
  "endpoints": [
    {
      "method": "GET",
      "path": "/api/v1/markets",
      "summary": "Markets with their prices, newest first",
      "auth": "public",
      "docs": "https://www.vancouverpx.ca/docs/api/get-markets"
    }
  ]
}

Errors

The errors every endpoint can answer.

API index | VPX API Docs