Prediction Market data is currently in beta. It is actively being worked on and improved, but may be unreliable. Polymarket and Kalshi data are live.At least for the time being, these endpoints require a Growth or Enterprise plan. Learn more.
Featured Prediction Market Platforms

Polymarket
Leading on-chain prediction market platform on Polygon.

Kalshi
CFTC-regulated prediction market exchange.
Supported Prediction Market Platforms
Below is the complete list of prediction market platforms supported by Codex. Use the Protocol value to filterfilterPredictionEvents and filterPredictionMarkets.
| Platform | Protocol Filter | Status |
|---|---|---|
| Polymarket | POLYMARKET | Live |
| Kalshi | KALSHI | Live |
Understanding Events and Markets
Events are collections of related markets. For example:- Event: “Champions League Final 2026”
- Market 1: “Will Team A win?”
- Market 2: “Will the score be over 2.5 goals?”
- Market 3: “Will there be a penalty?”
filterPredictionEvents to find trending high-level topics. Use filterPredictionMarkets to find trending markets.
Supported APIs
Market & Event API
- Filter Prediction Events — Query prediction events across platforms
- Filter Prediction Markets — Search and filter prediction markets by volume, liquidity, and other criteria
- Get Detailed Event Stats — Fetch detailed statistics for prediction events
- Get Detailed Market Stats — Retrieve comprehensive trading metrics for any market
- Get Event Price Bars — Retrieve event-level price history
- Get Market Price Bars — Fetch OHLC price data for prediction markets
Trading & Activity API
- Get Prediction Trades — Query trade history across prediction markets
- Get Trader Stats — Retrieve comprehensive trader performance metrics
- Filter Traders — Discover top traders by volume, PnL, and other metrics
- Get Trader Market Stats — Analyze trader performance across markets
Market Discovery API
- Get Prediction Categories — Browse available market categories
- Get Token Holders — Query outcome token holders and positions
Querying Prediction Markets
Use the filter queries to discover markets and events. Both support optional protocol filtering:Find trending events
Find top markets by 24h volume
Recipes
Step-by-step guides for building with prediction market data:Discover Prediction Markets
Browse categories, trending events, and filter markets.
Prediction Traders
Trader leaderboards, profiles, and performance analytics.
Prediction Charts
Outcome probability charts, multi-market comparisons, and OHLC data.
Prediction Event Dashboard
Build a complete event detail page with real-time data.
Interested in data from a prediction market platform we don’t support yet? Let us know — we’re expanding our coverage regularly.