Kalshi API

Kalshi Prediction Market Data

9 endpoints covering events, markets, price history, order books, and series โ€” structured access to Kalshi's regulated US prediction exchange with a single access token.

9 endpoints events & markets price history order book REST & MCP

What is Kalshi?

Kalshi is the first CFTC-regulated prediction market exchange in the United States. Users trade Yes/No binary contracts on real-world events โ€” from Federal Reserve rate decisions and election outcomes to Bitcoin price levels and sports results. Every contract settles to $1 (Yes wins) or $0 (No wins), making Kalshi a unique real-money signal on what the market thinks will actually happen.

Anysite's Kalshi endpoints expose the exchange's full market data: tradeable contracts with live bid/ask prices, OHLC candlestick history, order-book depth, and the trade feed โ€” all without managing OAuth or Kalshi API credentials.

All Kalshi Endpoints

EndpointWhat It Returns
/api/kalshi/eventsPrediction-market event by ticker โ€” title, category, lifecycle status, and optionally all nested tradeable contracts
/api/kalshi/events/searchSearch events by series ticker and status; returns matching event list with optional nested markets
/api/kalshi/marketsTradeable Yes/No contract by ticker โ€” live bid/ask prices, volume, open interest, liquidity, settlement rules
/api/kalshi/markets/historyOHLC candlestick price history for a contract over a custom time window (1m, 1h, or 1d candles)
/api/kalshi/markets/orderbookCurrent Yes/No order-book snapshot โ€” bid and ask price levels with size
/api/kalshi/markets/searchSearch contracts by event, series, status, or close-time window
/api/kalshi/markets/tradesPublic trade feed โ€” price, size, taker side, block trade flag
/api/kalshi/seriesSeries template by ticker โ€” category, frequency, fee structure, settlement sources
/api/kalshi/series/searchList series templates within a category

What You Can Build

Prediction Market Dashboards

Pull live market prices, order-book depth, and trade flow to build real-time dashboards showing where the market assigns probability on any event โ€” from election outcomes to economic indicators.

Quantitative Research Tools

Pull OHLC candlestick history across hundreds of markets to backtest prediction market strategies, analyse implied probabilities over time, and model crowd-wisdom signals for academic or investment research.

AI Agents and Forecasting Systems

Feed Kalshi market prices into LLM pipelines as calibration signals. Use current contract prices โ€” which represent real-money consensus โ€” to ground forecasting agents on what the market believes will happen.

News and Event Monitoring

Track the open-interest and price movement on specific event markets to surface breaking political, economic, or sports signals the moment they start moving โ€” before mainstream news catches up.

Quick Start

Get a live Kalshi market by ticker
curl -X POST "https://api.anysite.io/api/kalshi/markets"   -H "access-token: YOUR_TOKEN"   -H "Content-Type: application/json"   -d '{"ticker": "KXBTCD-26JUN1604-T74799.99"}'
Search open prediction markets by series
curl -X POST "https://api.anysite.io/api/kalshi/markets/search"   -H "access-token: YOUR_TOKEN"   -H "Content-Type: application/json"   -d '{"series_ticker": "KXBTCD", "status": "open", "count": 20}'
Fetch hourly OHLC price history
curl -X POST "https://api.anysite.io/api/kalshi/markets/history"   -H "access-token: YOUR_TOKEN"   -H "Content-Type: application/json"   -d '{"series_ticker": "KXBTCD", "ticker": "KXBTCD-26JUN1604-T74799.99", "start_ts": 1718000000, "end_ts": 1718086400, "period_interval": 60}'
MCP tool call (Claude Desktop / Cursor / ChatGPT)
// In your MCP client, call the Anysite tool:
anysite_api({
  endpoint: "/api/kalshi/markets/orderbook",
  ticker: "KXELONMARS-99"
})
CLI โ€” search events in a series
anysite api /api/kalshi/events/search series_ticker=KXELONMARS count=10

Plans

Every Kalshi endpoint is included in all Anysite plans โ€” there's no per-endpoint pricing to track. Start with MCP Unlimited at $30/mo for flat-rate access through your AI tools, or use a credit plan for REST & CLI at scale.

PlanPriceBest for
MCP Unlimited$30/moUnlimited access via Claude, Cursor & ChatGPT (fair use)
Starter$49/moREST & CLI โ€” includes a 7-day trial
Growth$200/moProduction workloads
Scale ยท Pro ยท Enterprisefrom $300/moHigh volume & higher rate limits

Frequently Asked Questions

Do I need a Kalshi account or API key?
No. Anysite routes all requests through its own infrastructure using a single access-token header โ€” your Anysite plan token is all you need. You don't create a Kalshi account or manage Kalshi credentials.
What data is available โ€” live prices or historical?
Both. The /api/kalshi/markets endpoint returns the current live bid/ask prices, volume, and open interest for any contract. The /api/kalshi/markets/history endpoint returns OHLC candlestick data for any time window you specify, at 1-minute, 1-hour, or 1-day granularity.
What is the difference between an event, a market, and a series?
A series is the contract template (e.g. "KXBTCD" โ€” a recurring Bitcoin price series). An event is a specific instance of that template for a date or range (e.g. "KXBTCD-26JUN1604"). A market is the individual Yes/No tradeable contract within an event (e.g. the contract on whether Bitcoin closes above $74,799.99 by that date).
How do I find the ticker for a contract I want to track?
Use /api/kalshi/markets/search with a series_ticker or event_ticker to list available contracts. You can also use /api/kalshi/events/search with with_nested_markets: true to discover event tickers and their contracts in one call.
Can I access the order book to see market depth?
Yes. /api/kalshi/markets/orderbook returns the current Yes and No price levels with size at each level. Use the optional depth parameter to limit how many price levels are returned per side.
Is Kalshi data available through the MCP server?
Yes. All 9 Kalshi endpoints are available as MCP tools via the Anysite MCP server, making them accessible directly from Claude Desktop, Cursor, ChatGPT, and other MCP-compatible AI tools โ€” with no code required.

Related Endpoints

Start accessing Kalshi data

One access token, 9 endpoints, all Kalshi market data โ€” no exchange accounts or API keys to manage.