Skip to main content
Public Beta — Kalshi and Polymarket coverage with full historical market data. APIs may change. Join Discord for feedback and support.
Unified, read-only prediction market data for Kalshi and Polymarket — browse events and markets, pull historical trades and candlesticks, stream live tape and books, and (on Polymarket) analyze wallet PnL and positions.
Hosted API
  • REST: https://prediction-market-api.solanatracker.io
  • Realtime: wss://datastream.solanatracker.io/{apiKey} — join pm:* rooms
  • Auth: Data API key in the x-api-key header (same key as the Solana Data API)

Getting started guide

Auth, exchanges, IDs, historical data, and copy-paste REST examples.

Datastream guide

Join pm:* rooms on wss://datastream.solanatracker.io/{apiKey}.
Open Prediction Markets for the REST OpenAPI, and Datastream → Prediction Markets for the live room reference.

What you get


Quick example


Conventions

  • Response bodies use camelCase.
  • Query params are snake_case (camelCase aliases accepted where noted).
  • SWR endpoints may return X-Cache: HIT | HIT-STALE | MISS.
  • Busy backends may return 503 with SERVICE_BUSY (not a rate-limit 429).
  • This API is read / market-data only — no order placement.

IDs that matter

Room segments are always lowercase. Event-scoped rooms accept slug or gamma / event ticker identities when present on the payload.