New Kalshi vs Polymarket Sports Odds: NFL, NBA and EPL Compared
Read more
Read more
New Kalshi vs Polymarket Sports Odds: NFL, NBA and EPL Compared
Read more
Read more
Prediction Market API: How It Works and Which One to Use in 2026
Prediction Market API: How It Works and Which One to Use in 2026
Prediction Market API: How It Works and Which One to Use in 2026
What a prediction market API returns, which official and unified APIs cover Polymarket, Kalshi and Limitless, what is free, and how to choose one.

A prediction market API is a programming interface that returns prediction market data, such as markets, prices, order books, trades and resolutions, as structured JSON for software to use. Each venue (Polymarket, Kalshi, Limitless) offers its own. Unified APIs such as Assymetrix put several venues into one schema, so one integration can read them all.
TL;DR
A prediction market API exposes markets and events, current prices, order books, trades, price history (OHLCV candles) and resolution outcomes.
Polymarket and Kalshi both publish free, public market-data endpoints that need no API key. Trading through them needs an account and signed requests.
Unified APIs exist because every venue uses different IDs, field names and price formats; they save writing one adapter per venue.
The Assymetrix Data API covers Polymarket, Kalshi and Limitless in one schema, with a Free plan of 10,000 requests a month. As of 30 November 2026 it had indexed 1,999,692,510 trades across 236,181 tradeable markets.
The market keeps changing: Polymarket bought the unified-API startup Dome in February 2026, and Nansen retires its Prediction Market API on 4 December 2026.
Table of contents
What does a prediction market API return?
A prediction market API returns the same handful of objects on every venue, even when each venue names them differently. Knowing them makes any provider's documentation quicker to read.
Object | What it is | Typical use |
|---|---|---|
Event | A real-world question with one or more markets, such as a Fed meeting | Grouping and navigation |
Market | One tradeable contract, such as "a 25 bps hike in December" | The unit you price and track |
Price | The last or mid price, between 0 and 1, read as an implied probability | Dashboards, alerts, models |
Order book | Bids and asks at each price level | Liquidity, spread, slippage |
Trade | One executed fill: price, size, side, time | Flow analysis, backtests |
Candle (OHLCV) | Open, high, low, close and volume per interval | Charts and backtests |
Resolution | The final outcome and the rules and source behind it | Settlement, accuracy studies |
Prices are probabilities, not odds in the betting sense: a Yes price of 0.62 means the market prices a 62% chance. Resolution data matters more than it looks, because two markets with the same title can settle on different sources or deadlines.
Do Polymarket and Kalshi have official APIs?
Yes. Both venues publish official APIs, and both let anyone read market data for free.
Polymarket splits its API into services. The Gamma API covers markets, events, tags and search; the CLOB API covers order books, prices and order placement; the Data API covers activity. Polymarket's documentation says the Gamma and Data APIs are fully public, with no authentication, and that the CLOB has public read endpoints alongside authenticated trading ones. Limits are IP-based, with a general limit of 15,000 requests per 10 seconds.
Kalshi is a CFTC-regulated exchange with REST, WebSocket and FIX interfaces. Its quick-start guide shows public market-data endpoints that need no API key. Portfolio and order endpoints need an account and signed requests.
The official APIs are the right choice when you work with one venue and want its full native detail, including trading. Their limit is scope: each covers one venue, in its own format.
Why use a unified prediction market API?
A unified prediction market API reads several venues and returns them in one shared format, so the same code works for Polymarket, Kalshi and Limitless. It replaces one adapter per venue with a single integration.
The differences a unified API absorbs are real:
Identifiers: Polymarket uses condition and token IDs, Kalshi uses tickers, and Limitless has its own scheme.
Fields and units: the same price, size or timestamp arrives under different names and formats.
Market structure: one venue lists a ladder of yes/no contracts where another lists one market with several outcomes.
History: venues keep different amounts of history and expose it through different endpoints.
Cross-venue work is where this pays off. Comparing the same question on two venues, as in our guide to detecting price divergence between Polymarket and Kalshi, needs both venues in one shape first. For AI agents, the same idea applies through an MCP server.
Which prediction market APIs are available in 2026?
The options fall into three groups: the venues' own APIs, unified APIs that cover several venues, and on-chain or analytics APIs built mostly around Polymarket. The table summarises what each provider's own documentation says, read on 30 November 2026.
API | Venues | What it covers | Notes |
|---|---|---|---|
Polymarket (Gamma, CLOB, Data) | Polymarket | Markets, prices, order books, activity, trading | Market data public, no key |
Kalshi | Kalshi | Markets, order books, trades, candles; REST, WebSocket, FIX | Market data public; trading needs signed keys |
Assymetrix Data API | Polymarket, Kalshi, Limitless | Markets, events, prices, order books, trades, OHLCV, resolutions; one schema; MCP server | Free plan, then Developer and Pro |
Tatum | Polymarket, Kalshi | Events, markets, prices, order books, trades, OHLCV; wallet data for Polymarket only | Paid plans |
FinFeedAPI | Several venues | REST, JSON-RPC and a hosted MCP server, live and historical | Free key offered |
Bitquery | Polymarket (on-chain) | Market lifecycle events, trades and settlements from the chain | GraphQL |
Codex | Polymarket, Kalshi | Events, markets, price bars, trader statistics | GraphQL |
Dome | Polymarket, Kalshi | Unified API | Acquired by Polymarket in February 2026 |
Nansen | Polymarket | Screeners, OHLCV, order book, holders, PnL | Retires on 4 December 2026 |
Two changes this year matter if you are choosing now. Polymarket's purchase of Dome brought a unified API inside a venue. Nansen has told users its Prediction Market API retires on 4 December 2026, with no replacement planned; our Nansen migration guide maps its endpoints.
Is there a free prediction market API?
Yes. Polymarket and Kalshi both serve their market data free and without a key, and several unified APIs offer free tiers. Free access is enough to prototype, chart a few markets or build a small bot.
The trade-off is work, not money. With the official APIs you write and maintain one integration per venue, handle each venue's rate limits and backfill history yourself.
The Assymetrix Data API has a free plan that covers all three venues in one schema:
Plan | Price | Requests | Speed | Keys |
|---|---|---|---|---|
Free | $0 | 10,000 a month | 1 request a second | 1 |
Developer | $49 a month | 1.5 million a month | 25 requests a second | 3 |
Pro | $199 a month | 7.5 million a month | 100 requests a second | 10 |
Enterprise | Custom | Custom | Custom | Custom |
Order books need a paid plan, and each order-book call counts as 10 requests. Trades, candles and market data are available on every plan, within each plan's history window. Current terms are on the pricing page.
How do you choose a prediction market API?
Choose by the venues you need, the data depth you need and how much plumbing you want to own. Six questions settle most cases:
Which venues? One venue: its official API is hard to beat. Two or more: a unified API saves an adapter per venue.
How much history? Backtests need trades and candles going back years; dashboards need only current data.
Order books or just prices? Order-book depth is heavier, and often on paid tiers.
Real time or snapshots? Check each venue's freshness: some providers read live, others sync every few minutes.
Read-only or trading? Data APIs read; trading goes through the venue or a trading-capable SDK.
Who is the user? Code, a spreadsheet or an AI agent. Agents work best through an MCP server.
Our Polymarket data and Kalshi data pages show what Assymetrix returns for each venue.
How do you call a prediction market API? A Python example
Calling a prediction market API takes an API key and two requests: one to find a market, one to read its price history. This example uses the Assymetrix Data API, with the key read from an environment variable.
import os import requests BASE = "https://api.assymetrix.com/api/v1" HEADERS = {"x-api-key": os.environ["ASSYMETRIX_API_KEY"]} # 1. Find active markets about the Fed, across every venue. markets = requests.get( f"{BASE}/sdk/markets", headers=HEADERS, params={"status": "active", "search": "fed", "limit": 5}, timeout=10, ).json()["data"] for m in markets: print(m["id"], m["question"]) # 2. Read hourly candles for the first one. first = markets[0]["id"] history = requests.get( f"{BASE}/sdk/markets/{first}/pricing", headers=HEADERS, params={"interval": "1h"}, timeout=10, ).json() print(history["data"]["candles"][:3])
import os import requests BASE = "https://api.assymetrix.com/api/v1" HEADERS = {"x-api-key": os.environ["ASSYMETRIX_API_KEY"]} # 1. Find active markets about the Fed, across every venue. markets = requests.get( f"{BASE}/sdk/markets", headers=HEADERS, params={"status": "active", "search": "fed", "limit": 5}, timeout=10, ).json()["data"] for m in markets: print(m["id"], m["question"]) # 2. Read hourly candles for the first one. first = markets[0]["id"] history = requests.get( f"{BASE}/sdk/markets/{first}/pricing", headers=HEADERS, params={"interval": "1h"}, timeout=10, ).json() print(history["data"]["candles"][:3])
Market IDs carry the venue, such as polymarket:0x… or kalshi:…, and the endpoints also accept a venue's own ID or a market's slug. Our Python guide to prediction market data goes further, into trades, pagination and storage.
What are the limits of prediction market APIs?
Every prediction market API, official or unified, has limits worth knowing before you build on it.
Thin markets mislead. A price with little volume or a wide spread is a weak signal, whatever the API.
Same title, different contract. Markets that look alike can resolve on different sources, deadlines or thresholds; read the rules before comparing venues.
Freshness varies by venue. On Assymetrix, Polymarket order books are read live, while Kalshi and Limitless order books are stored snapshots that are minutes old.
Wallet data is Polymarket only. On-chain fills identify Polymarket traders; Kalshi does not publish who traded.
Providers change. In 2026 alone, one unified API was acquired and another provider's prediction market API was retired. Keep your code behind a thin layer you can switch.
FAQ
What is a prediction market API?
A prediction market API is an interface that returns prediction market data, such as markets, prices, order books, trades and resolutions, in a structured format such as JSON. Developers use it to build dashboards, bots, research and AI agents without scraping venue websites. Each venue has its own API, and unified APIs combine several venues.
Is the Polymarket API free?
Yes, for market data. Polymarket's documentation says its Gamma and Data APIs are fully public with no authentication, and the CLOB API has public read endpoints for order books and prices. Requests are rate limited by IP address. Placing orders needs authentication and a funded account.
Do I need an API key for the Kalshi API?
Not for public market data. Kalshi's quick-start guide shows market-data endpoints that need no API key. Portfolio and order endpoints need an account and requests signed with your API key.
What is the best prediction market API?
It depends on what you build. For one venue, that venue's official API gives the most native detail. For several venues, history and one schema, a unified API is simpler. For AI agents, choose one with an MCP server. Compare venues covered, history depth, order books and freshness.
Can I get historical prediction market data through an API?
Yes. Kalshi and Polymarket expose history through their own endpoints, with different depth and formats. Assymetrix returns historical trades and OHLCV candles from 1-minute to 1-day intervals in one schema, within your plan's history window, with resolution data back to 2020.
What happens to Nansen's Prediction Market API?
Nansen retires its Prediction Market API on 4 December 2026. After that date its prediction market endpoints return an error instead of data, and Nansen says no replacement endpoint is planned. Users need to move scheduled jobs, MCP tools and CLI commands to another provider.
Sources
Polymarket, API documentation: introduction, market data overview and rate limits (docs.polymarket.com), read 30 November 2026.
Kalshi, "Quick Start: Market Data" and API documentation (docs.kalshi.com), read 30 November 2026.
Tatum, "Unified Prediction Market Data with Tatum: One API for Polymarket and Kalshi", 17 June 2026.
FinFeedAPI, Prediction Markets API documentation, read 30 November 2026.
Bitquery, "Prediction Market API" documentation, read 30 November 2026.
Codex, Prediction Markets documentation, read 30 November 2026.
The Block, "Polymarket buys fresh prediction market API startup Dome, marking second official acquisition", 19 February 2026.
Nansen, Prediction Market API documentation and retirement notice (notice period from 6 November 2026), read 30 November 2026.
Assymetrix, public stats endpoint (api.assymetrix.com/api/v1/public/stats), read 30 November 2026 at 15:22 UTC; Assymetrix API documentation (dashboard.assymetrix.com/docs).
Get the data behind this guide
Real-time and historical prices, orderbooks and trades from Polymarket, Kalshi and Limitless, through one prediction market API. Free tier available.
Get a free API key→A prediction market API is a programming interface that returns prediction market data, such as markets, prices, order books, trades and resolutions, as structured JSON for software to use. Each venue (Polymarket, Kalshi, Limitless) offers its own. Unified APIs such as Assymetrix put several venues into one schema, so one integration can read them all.
TL;DR
A prediction market API exposes markets and events, current prices, order books, trades, price history (OHLCV candles) and resolution outcomes.
Polymarket and Kalshi both publish free, public market-data endpoints that need no API key. Trading through them needs an account and signed requests.
Unified APIs exist because every venue uses different IDs, field names and price formats; they save writing one adapter per venue.
The Assymetrix Data API covers Polymarket, Kalshi and Limitless in one schema, with a Free plan of 10,000 requests a month. As of 30 November 2026 it had indexed 1,999,692,510 trades across 236,181 tradeable markets.
The market keeps changing: Polymarket bought the unified-API startup Dome in February 2026, and Nansen retires its Prediction Market API on 4 December 2026.
Table of contents
What does a prediction market API return?
A prediction market API returns the same handful of objects on every venue, even when each venue names them differently. Knowing them makes any provider's documentation quicker to read.
Object | What it is | Typical use |
|---|---|---|
Event | A real-world question with one or more markets, such as a Fed meeting | Grouping and navigation |
Market | One tradeable contract, such as "a 25 bps hike in December" | The unit you price and track |
Price | The last or mid price, between 0 and 1, read as an implied probability | Dashboards, alerts, models |
Order book | Bids and asks at each price level | Liquidity, spread, slippage |
Trade | One executed fill: price, size, side, time | Flow analysis, backtests |
Candle (OHLCV) | Open, high, low, close and volume per interval | Charts and backtests |
Resolution | The final outcome and the rules and source behind it | Settlement, accuracy studies |
Prices are probabilities, not odds in the betting sense: a Yes price of 0.62 means the market prices a 62% chance. Resolution data matters more than it looks, because two markets with the same title can settle on different sources or deadlines.
Do Polymarket and Kalshi have official APIs?
Yes. Both venues publish official APIs, and both let anyone read market data for free.
Polymarket splits its API into services. The Gamma API covers markets, events, tags and search; the CLOB API covers order books, prices and order placement; the Data API covers activity. Polymarket's documentation says the Gamma and Data APIs are fully public, with no authentication, and that the CLOB has public read endpoints alongside authenticated trading ones. Limits are IP-based, with a general limit of 15,000 requests per 10 seconds.
Kalshi is a CFTC-regulated exchange with REST, WebSocket and FIX interfaces. Its quick-start guide shows public market-data endpoints that need no API key. Portfolio and order endpoints need an account and signed requests.
The official APIs are the right choice when you work with one venue and want its full native detail, including trading. Their limit is scope: each covers one venue, in its own format.
Why use a unified prediction market API?
A unified prediction market API reads several venues and returns them in one shared format, so the same code works for Polymarket, Kalshi and Limitless. It replaces one adapter per venue with a single integration.
The differences a unified API absorbs are real:
Identifiers: Polymarket uses condition and token IDs, Kalshi uses tickers, and Limitless has its own scheme.
Fields and units: the same price, size or timestamp arrives under different names and formats.
Market structure: one venue lists a ladder of yes/no contracts where another lists one market with several outcomes.
History: venues keep different amounts of history and expose it through different endpoints.
Cross-venue work is where this pays off. Comparing the same question on two venues, as in our guide to detecting price divergence between Polymarket and Kalshi, needs both venues in one shape first. For AI agents, the same idea applies through an MCP server.
Which prediction market APIs are available in 2026?
The options fall into three groups: the venues' own APIs, unified APIs that cover several venues, and on-chain or analytics APIs built mostly around Polymarket. The table summarises what each provider's own documentation says, read on 30 November 2026.
API | Venues | What it covers | Notes |
|---|---|---|---|
Polymarket (Gamma, CLOB, Data) | Polymarket | Markets, prices, order books, activity, trading | Market data public, no key |
Kalshi | Kalshi | Markets, order books, trades, candles; REST, WebSocket, FIX | Market data public; trading needs signed keys |
Assymetrix Data API | Polymarket, Kalshi, Limitless | Markets, events, prices, order books, trades, OHLCV, resolutions; one schema; MCP server | Free plan, then Developer and Pro |
Tatum | Polymarket, Kalshi | Events, markets, prices, order books, trades, OHLCV; wallet data for Polymarket only | Paid plans |
FinFeedAPI | Several venues | REST, JSON-RPC and a hosted MCP server, live and historical | Free key offered |
Bitquery | Polymarket (on-chain) | Market lifecycle events, trades and settlements from the chain | GraphQL |
Codex | Polymarket, Kalshi | Events, markets, price bars, trader statistics | GraphQL |
Dome | Polymarket, Kalshi | Unified API | Acquired by Polymarket in February 2026 |
Nansen | Polymarket | Screeners, OHLCV, order book, holders, PnL | Retires on 4 December 2026 |
Two changes this year matter if you are choosing now. Polymarket's purchase of Dome brought a unified API inside a venue. Nansen has told users its Prediction Market API retires on 4 December 2026, with no replacement planned; our Nansen migration guide maps its endpoints.
Is there a free prediction market API?
Yes. Polymarket and Kalshi both serve their market data free and without a key, and several unified APIs offer free tiers. Free access is enough to prototype, chart a few markets or build a small bot.
The trade-off is work, not money. With the official APIs you write and maintain one integration per venue, handle each venue's rate limits and backfill history yourself.
The Assymetrix Data API has a free plan that covers all three venues in one schema:
Plan | Price | Requests | Speed | Keys |
|---|---|---|---|---|
Free | $0 | 10,000 a month | 1 request a second | 1 |
Developer | $49 a month | 1.5 million a month | 25 requests a second | 3 |
Pro | $199 a month | 7.5 million a month | 100 requests a second | 10 |
Enterprise | Custom | Custom | Custom | Custom |
Order books need a paid plan, and each order-book call counts as 10 requests. Trades, candles and market data are available on every plan, within each plan's history window. Current terms are on the pricing page.
How do you choose a prediction market API?
Choose by the venues you need, the data depth you need and how much plumbing you want to own. Six questions settle most cases:
Which venues? One venue: its official API is hard to beat. Two or more: a unified API saves an adapter per venue.
How much history? Backtests need trades and candles going back years; dashboards need only current data.
Order books or just prices? Order-book depth is heavier, and often on paid tiers.
Real time or snapshots? Check each venue's freshness: some providers read live, others sync every few minutes.
Read-only or trading? Data APIs read; trading goes through the venue or a trading-capable SDK.
Who is the user? Code, a spreadsheet or an AI agent. Agents work best through an MCP server.
Our Polymarket data and Kalshi data pages show what Assymetrix returns for each venue.
How do you call a prediction market API? A Python example
Calling a prediction market API takes an API key and two requests: one to find a market, one to read its price history. This example uses the Assymetrix Data API, with the key read from an environment variable.
import os import requests BASE = "https://api.assymetrix.com/api/v1" HEADERS = {"x-api-key": os.environ["ASSYMETRIX_API_KEY"]} # 1. Find active markets about the Fed, across every venue. markets = requests.get( f"{BASE}/sdk/markets", headers=HEADERS, params={"status": "active", "search": "fed", "limit": 5}, timeout=10, ).json()["data"] for m in markets: print(m["id"], m["question"]) # 2. Read hourly candles for the first one. first = markets[0]["id"] history = requests.get( f"{BASE}/sdk/markets/{first}/pricing", headers=HEADERS, params={"interval": "1h"}, timeout=10, ).json() print(history["data"]["candles"][:3])
import os import requests BASE = "https://api.assymetrix.com/api/v1" HEADERS = {"x-api-key": os.environ["ASSYMETRIX_API_KEY"]} # 1. Find active markets about the Fed, across every venue. markets = requests.get( f"{BASE}/sdk/markets", headers=HEADERS, params={"status": "active", "search": "fed", "limit": 5}, timeout=10, ).json()["data"] for m in markets: print(m["id"], m["question"]) # 2. Read hourly candles for the first one. first = markets[0]["id"] history = requests.get( f"{BASE}/sdk/markets/{first}/pricing", headers=HEADERS, params={"interval": "1h"}, timeout=10, ).json() print(history["data"]["candles"][:3])
Market IDs carry the venue, such as polymarket:0x… or kalshi:…, and the endpoints also accept a venue's own ID or a market's slug. Our Python guide to prediction market data goes further, into trades, pagination and storage.
What are the limits of prediction market APIs?
Every prediction market API, official or unified, has limits worth knowing before you build on it.
Thin markets mislead. A price with little volume or a wide spread is a weak signal, whatever the API.
Same title, different contract. Markets that look alike can resolve on different sources, deadlines or thresholds; read the rules before comparing venues.
Freshness varies by venue. On Assymetrix, Polymarket order books are read live, while Kalshi and Limitless order books are stored snapshots that are minutes old.
Wallet data is Polymarket only. On-chain fills identify Polymarket traders; Kalshi does not publish who traded.
Providers change. In 2026 alone, one unified API was acquired and another provider's prediction market API was retired. Keep your code behind a thin layer you can switch.
FAQ
What is a prediction market API?
A prediction market API is an interface that returns prediction market data, such as markets, prices, order books, trades and resolutions, in a structured format such as JSON. Developers use it to build dashboards, bots, research and AI agents without scraping venue websites. Each venue has its own API, and unified APIs combine several venues.
Is the Polymarket API free?
Yes, for market data. Polymarket's documentation says its Gamma and Data APIs are fully public with no authentication, and the CLOB API has public read endpoints for order books and prices. Requests are rate limited by IP address. Placing orders needs authentication and a funded account.
Do I need an API key for the Kalshi API?
Not for public market data. Kalshi's quick-start guide shows market-data endpoints that need no API key. Portfolio and order endpoints need an account and requests signed with your API key.
What is the best prediction market API?
It depends on what you build. For one venue, that venue's official API gives the most native detail. For several venues, history and one schema, a unified API is simpler. For AI agents, choose one with an MCP server. Compare venues covered, history depth, order books and freshness.
Can I get historical prediction market data through an API?
Yes. Kalshi and Polymarket expose history through their own endpoints, with different depth and formats. Assymetrix returns historical trades and OHLCV candles from 1-minute to 1-day intervals in one schema, within your plan's history window, with resolution data back to 2020.
What happens to Nansen's Prediction Market API?
Nansen retires its Prediction Market API on 4 December 2026. After that date its prediction market endpoints return an error instead of data, and Nansen says no replacement endpoint is planned. Users need to move scheduled jobs, MCP tools and CLI commands to another provider.
Sources
Polymarket, API documentation: introduction, market data overview and rate limits (docs.polymarket.com), read 30 November 2026.
Kalshi, "Quick Start: Market Data" and API documentation (docs.kalshi.com), read 30 November 2026.
Tatum, "Unified Prediction Market Data with Tatum: One API for Polymarket and Kalshi", 17 June 2026.
FinFeedAPI, Prediction Markets API documentation, read 30 November 2026.
Bitquery, "Prediction Market API" documentation, read 30 November 2026.
Codex, Prediction Markets documentation, read 30 November 2026.
The Block, "Polymarket buys fresh prediction market API startup Dome, marking second official acquisition", 19 February 2026.
Nansen, Prediction Market API documentation and retirement notice (notice period from 6 November 2026), read 30 November 2026.
Assymetrix, public stats endpoint (api.assymetrix.com/api/v1/public/stats), read 30 November 2026 at 15:22 UTC; Assymetrix API documentation (dashboard.assymetrix.com/docs).
Get the data behind this guide
Real-time and historical prices, orderbooks and trades from Polymarket, Kalshi and Limitless, through one prediction market API. Free tier available.
Get a free API key→Other Blog



