The Prediction Markets
API reference

API reference

Every v1 endpoint. All are GET under https://api.thepredictionmarkets.com/api/public/v1 and need an X-API-Key header, except /status.

Endpoints

EndpointReturnsDocs
GET /statusAPI and venue health. No key.API status
GET /eventsSearch and filter events.List events
GET /events/{slug}Every venue's prices for one event.Event detail
GET /events/{slug}/historyCandles or snapshots for one outcome.Price history
GET /categoriesCategory slugs and counts.Categories
GET /marketsVenue listings.List markets
GET /markets/{venue}/{market_id}One listing with outcomes and rules.Get one market
GET /matchesThe same market on the other venue.Matches
GET /pricesLatest quotes for up to 100 contracts.Bulk prices
GET /spreadsCross-venue price gaps (gross).Spreads
GET /rate-limitYour plan and usage.Plan and usage
wss://…/streamLive quotes (tpm.quotes.v1).WebSocket guide

OpenAPI spec and Swagger UI

The same contract is published as an OpenAPI 3 document. Generate a client from it, import it into Postman, or explore it in the browser.

Build with TPM

Get your free API key

One key gives you Kalshi and Polymarket events, prices with freshness, price history, cross-venue gaps and the live quotes WebSocket.