Every Kalshi market.
Every trade.
Every price.

The most complete Kalshi historical data and API: 2.9 million markets and hourly price history since 2023, plus 274 million+ individual trades from recent months. Get a free API key in seconds, or download the entire dataset in one file.

curl "https://kalshiapi.com/v1/markets?limit=5" -H "X-API-Key: demo_••••••••••••••••••"

Hit Copy setup prompt and paste it into Claude Code, Cursor, or any AI agent — it creates your free account and wires everything up. Or grab a key manually.

HOW OFTEN IT HAPPENS Yes No 50 / 50 Bitcoin above $150K this year 41% Dodgers win the World Series 63% Fed cuts rates in September 78% Hurricane hits Florida in August 22%

Some questions resolve YES far more often than others.

Across 2.8 million resolved markets, the outcome rate is wildly uneven by category. Crypto markets resolve YES just 25.9% of the time. The other categories range from single digits to over 60%.

25.9% Yes
Crypto
30.9% Yes
Sports
51.4% Yes
Financials
41.0% Yes
Weather
52.5% Yes
Commodities
4.0% Yes
Social
61.8% Yes
Sci / Tech
🔒 Full breakdown in the dataset

Showing Crypto and Sports. The other five categories are in the historical dataset.

The price before. The result after.

Every market carries a price before it settles, basically the odds, and an outcome after. Put the two together and plain facts fall out. Here are four, straight from the data.

CLEVELAND vs DETROIT · 2026 6 0 Cleveland Detroit Every game:

Cleveland beat Detroit in every game they played.

Six meetings across the 2026 season, six Cleveland wins. The dataset keeps every settled game, so any team’s full record against any opponent is a single query.

DETROIT TIGERS · WIN RATE 38% games won 23 wins · 38 losses, 2026 season

The Detroit Tigers won just 38% of their games.

Win rate, record and opponent splits are computed for every team across all 114 leagues in the data, and refresh as new games settle.

The same view across a full league — each team’s win rate against the average price the market set beforehand:

TeamLeagueWin ratePre-game priceGap
Chicago White SoxMLB58.6%45.9%+12.7
Milwaukee BrewersMLB65.5%54.1%+11.4
Detroit TigersMLB38.3%52.2%−13.9
Washington NationalsMLB54.1%46.3%+7.8
Tampa Bay RaysMLB61.2%55.1%+6.1
New York MetsMLB45.0%53.6%−8.6
Cincinnati RedsMLB40.6%48.2%−7.6
🔒 Every team is in the dataset

From 11,881 settled game-winner markets across 114 leagues. Pre-game price is the average YES quote at kickoff; gap is win rate minus that price. Past results, not a prediction.

DETROIT TIGERS · PRICE vs RESULT 52% Market price 38% Actually won 14 pts

The market priced Detroit at 52%. They won 38%.

A 14-point gap between the average pre-game price and what actually happened — the widest of any team in baseball this season. Both numbers, the price and the result, live in every settled market.

SAME HISTORY ON EVERY TOPIC 585K+ Bitcoin price 16.6K Earnings quotes 4.1K Spotify 3.4K Trump 1.7K Gas prices 500+ Movie scores 471 Elon Musk 445 Taylor Swift

And it’s not only sports.

Bitcoin prices, Spotify subscriber counts, Rotten Tomatoes scores, questions about Elon Musk, gas prices, even what companies say on their next earnings call. Every one carries the same price-before, result-after history since 2023.

HOURLY CANDLES · LIVE PRICE

The deepest Kalshi data you can get.

Hourly candles

Open, high, low, close, plus yes-bid/ask, volume and open interest, every hour, every market.

Every trade

Each individual print, price, size, taker side and timestamp. 274 million prints from recent months, and counting.

Full order book

Level-2 depth, live snapshots and deltas. Reconstruct the book at any moment.

Clean metadata

Category, rules, strikes, open/close times and final outcome for all 2.9M markets.

Complete

Every market since 2023, open and settled, with full hourly price history. Nothing dropped, nothing sampled.

Accurate

Collected trade-by-trade straight from Kalshi, deduplicated and verified. No gaps.

Ready

Clean Parquet files and a simple JSON API. Load it in one line, no scraping, no rate limits.

Connect Kalshi data to your AI coding assistant via MCP

Plug Kalshi data straight into your AI.

Connect KalshiAPI to Claude, Cursor, or any MCP assistant, and it pulls real markets, trades and prices while you build.

One-line MCP setup

Drop in your key and your AI can pull live Kalshi data instantly.

Try before you buy

Build and test on free sample data, then unlock the full history or live feed.

Get set up in one prompt.

Paste this into Claude Code, Cursor, or any coding agent. It creates your free account, sends your verification email, wires up the MCP server, and gets you pulling Kalshi data, hands-off.

Help me set up KalshiAPI (kalshiapi.com) in this project, the complete Kalshi prediction-market dataset (markets, trades, prices). Do it for me end to end: 1. First, ask me two questions and wait for my answers: (a) my email address, and (b) a password I want for my account. 2. Create my free account: POST JSON {"email": "", "password": ""} to https://kalshiapi.com/v1/signup and save the api_key from the response. 3. I need to click a verification link to unlock my full free limits. Based on my email domain, give me a direct clickable link to my inbox so I can find the KalshiAPI email fast, e.g. Gmail https://mail.google.com/ , Outlook/Hotmail https://outlook.live.com/ , Yahoo https://mail.yahoo.com/ , iCloud https://www.icloud.com/mail/ . 4. Add the KalshiAPI MCP server so you can pull data directly. In Claude Code, run: claude mcp add --transport http kalshiapi https://kalshiapi.com/mcp --header "X-API-Key: " In any other agent, add an HTTP MCP server at https://kalshiapi.com/mcp with header X-API-Key set to my key. 5. Confirm it works by calling the dataset_stats tool, or GET https://kalshiapi.com/v1/stats. 6. Then help me build whatever I describe next. Docs: https://kalshiapi.com/docs

Your agent asks for your email and a password, then emails you a verification link. No credit card. See the full walkthrough →

Free
$0
  • Free API key, no card
  • 1,000 calls / month
  • All endpoints, sample data
  • MCP access
Get free key
API
$29/mo
  • 100,000 calls / month
  • All markets, trades, candles
  • Full history via API
  • Pro (1M calls + live): $99/mo
Subscribe
Historical dataset
$349
  • One-time full download
  • All 2.9M markets + 274M+ trades
  • Hourly candles + metadata
  • Clean Parquet, ~8 GB zip
Buy & download
Trades-only $149 · Full $349 · Free sample
One-click upgrade to monthly refresh after you buy — keeps your data current.
Data subscription
$79/mo
  • Dataset refreshed monthly
  • Always the latest history
  • Includes API access
  • Cancel anytime
Subscribe
LIVE prices · trades · L2 book

Real-time data, the moment it happens.

Stream live prices, trades and the full Level-2 order book over WebSocket — the same firehose that powers the dataset. Built for live trading bots and market-making.

What data do I get?

2.9M Kalshi markets with full metadata and outcomes since 2023, hourly candles (price, yes-bid/ask, volume, open interest) for 231K+ markets going back to 2023, and 274M+ individual trades covering the most recent months (trade-level history is collected as markets trade, so it doesn't reach back to 2023 the way markets and candles do). Premium plans add a live Level-2 order book feed. The monthly subscription adds each new month of trades as it's collected.

How current is it?

The API serves live and recent data continuously. The downloadable historical dataset is rebuilt monthly, and the data subscription always gives you the latest refresh.

What format is the data in?

Bulk downloads are clean Apache Parquet files, load them in one line with pandas, Polars, DuckDB or Spark. The API returns simple JSON (or Parquet) over plain HTTP.

Can I use it with AI / vibe-coding tools?

Yes. KalshiAPI ships an MCP server, so Claude, Cursor and other MCP-compatible assistants can query the data directly. Test on free sample data, then upgrade.

What can I build with it?

Backtest trading strategies, train prediction models, build Kalshi trading bots, run research on prediction-market efficiency, or power dashboards. The data is yours to analyze.

Can I try the data before buying?

Yes. Get a free API key (no card) and pull sample data from every endpoint, or download a free sample file to inspect the schema and quality before you buy the full dataset.

What are the usage rights?

Paid plans include a license to use the data for your own commercial and research work, internal tools, trading, models and products. You may not resell or redistribute the raw dataset as a competing data product. Full terms are on the terms page.

What's your refund policy?

Subscriptions can be cancelled anytime and stop billing at the end of the period. For one-time dataset purchases, if the file is faulty or doesn't match what's described, email support within 14 days and we'll fix it or refund you.

Are you affiliated with Kalshi?

No. KalshiAPI is an independent third-party data service and is not affiliated with, endorsed by, or sponsored by Kalshi Inc. "Kalshi" is a trademark of its respective owner.