All guides

Kalshi API: public market data without a key, rate limits and terms

Read a Kalshi market's odds, order book and price history without a key, in dollar fields. The rate limit of each tier, and what the developer agreement says about the data. Then the same calls through KIRHA, at 0 credits.

Kalshi's market data is public: events, markets, prices, order books and price history need no key and no account. Prices are dollar strings from "0.0000" to "1.0000", and a market's Yes price is its probability (quick start). Through KIRHA, the same data costs 0 credits, comes back as numbers, and can be found from a question in plain words, which Kalshi's API can't do.

The base URL

Kalshi recommends https://external-api.kalshi.com/trade-api/v2 for production. The older https://api.elections.kalshi.com/trade-api/v2 still answers, and it serves every market despite its name (environments).

Read the current odds

Each outcome is its own market, with its own ticker. For a Fed rate decision, the "Hike 25bps" market:

$

curl -s "https://external-api.kalshi.com/trade-api/v2/markets/KXFEDDECISION-26DEC-H25"

$ ▍

Trimmed to the fields that hold the odds:

{
  "market": {
    "ticker": "KXFEDDECISION-26DEC-H25",
    "title": "Will the Federal Reserve Hike rates by 25bps at their December 2026 meeting?",
    "status": "active",
    "yes_bid_dollars": "0.7600",
    "yes_ask_dollars": "0.7700",
    "last_price_dollars": "0.7700",
    "previous_price_dollars": "0.7600",
    "volume_fp": "1397074.07",
    "open_interest_fp": "857616.48",
    "close_time": "2026-12-09T18:59:00Z"
  }
}

The best bid is $0.76 and the best ask $0.77, so the market puts a 25 bps hike at about 76.5%. The API has no midpoint field: compute it from the bid and the ask. previous_price_dollars is the last trade a day earlier.

The event holds one market per outcome. GET /markets?event_ticker=KXFEDDECISION-26DEC returns all five, from "Cut >25bps" to "Hike >25bps". At the same minute, "Fed maintains rate" was bid $0.22 and asked $0.23.

The API has no text search. It filters markets by ticker, series, event, status and dates. To find a ticker, list a category's series with GET /series?category=Economics, or read it under "Timeline and Payout" on the market's page on kalshi.com. The status filter takes open, and an open market reports "status": "active".

Prices are dollar strings

Every price field ends in _dollars and holds a string with up to 4 decimals. Every contract count ends in _fp and holds a string with 2 decimals (fixed-point representation). Kalshi's changelog removed the old integer-cent fields (yes_bid, no_ask, last_price) from REST and WebSocket responses.

  • Parse prices and counts as decimal strings. Some markets trade fractional contracts, so "1397074.07" is a real volume.
  • Most markets tick in whole cents ("price_level_structure": "linear_cent"). Some tick in tenths of a cent or finer. A market's price_ranges gives its grid.

The order book

$

curl -s "https://external-api.kalshi.com/trade-api/v2/markets/KXFEDDECISION-26DEC-H25/orderbook?depth=3"

$ ▍

{"orderbook_fp":{"no_dollars":[["0.2100","54290.59"],["0.2200","3033.48"],["0.2300","32555.15"]],"yes_dollars":[["0.7400","904.85"],["0.7500","55683.44"],["0.7600","48137.67"]]}}

The book holds bids only, as [price, contracts], with the best bid last. A No bid at $0.23 is a Yes ask at $0.77 (orderbook responses).

Odds over time

Candlesticks take the series ticker, the market ticker, a start and an end in Unix seconds, and a period of 1, 60 or 1,440 minutes:

$

curl -s "https://external-api.kalshi.com/trade-api/v2/series/KXFEDDECISION/markets/KXFEDDECISION-26DEC-H25/candlesticks?start_ts=1793664000&end_ts=1794268800&period_interval=1440"

$ ▍

Each candle holds open, high, low and close for price (the trades), yes_bid and yes_ask, with volume_fp and open_interest_fp. Daily candles end at midnight New York time.

Markets that settled before Kalshi's historical cutoff move to GET /historical/markets/{ticker}/candlesticks (historical data).

Rate limits

Kalshi publishes no limit for requests without a key. The limits it documents are token budgets for authenticated accounts (rate limits and tiers). Public responses carry cache-control: public with a max-age of 5 seconds on a market or an event and 15 on a list, so a read can return data up to 15 seconds old.

With a key, most requests cost 10 tokens, market reads included. GET /account/endpoint_costs lists the exceptions, and no market-data path is among them. The read budget of each tier:

TierRead tokens a secondMarket reads a secondHow you get it
Basic20020Sign up
Advanced30030Call the upgrade endpoint
Expert60060Trading volume, or assigned by Kalshi
Premier1,200120Same
Paragon2,400240Same
Prime4,800480Same
Prestige12,0001,200Same
  • Basic and Advanced read buckets hold 3 seconds of budget, so an idle client can send a burst of 60 or 90 reads. Higher tiers hold 1 second.
  • Over budget, Kalshi answers 429 with {"error": {"code": "too_many_requests", "message": "too many requests"}} and no Retry-After header. Back off and retry.
  • The WebSocket needs a key, even for channels that carry only public data.

What the terms say

Kalshi's docs say that using the API binds you to its Developer Agreement. Version 1.1, published as a PDF, says:

  1. API use is limited to a member's own trading on Kalshi, and "all other usages are disallowed".
  2. You may not collect, cache, aggregate or store data from the API except for your own trading on Kalshi. You may not share it with third parties without Kalshi's written authorization.
  3. Using the API to monitor Kalshi's services, or for benchmarking or competitive purposes, is prohibited.
  4. Using the API requires a Kalshi membership. Kalshi may change rate limits without notice.

The Data Terms of Service, linked from kalshi.com's footer, cover the data on the website: personal, non-commercial use, no scraping, and no use of the data in machine learning or AI.

Taken as written, an app that shows Kalshi data to its users, stores it or passes it on needs Kalshi's written authorization. Ask Kalshi before you ship one.

SDKs

  • Python: kalshi_python_sync and kalshi_python_async. kalshi-python is deprecated.
  • TypeScript: kalshi-typescript.
  • Kalshi says its SDKs can lag the API, and points to the OpenAPI specification as the source of truth.

The same odds through KIRHA

Through KIRHA, an agent reads Kalshi without a ticker in hand. The search tool takes a topic in plain words, and the event tool returns every outcome with its probability already computed from the bid and the ask. Prices come back as numbers, so there are no dollar strings to parse. The same KIRHA key reaches Polymarket, CoinGecko, DefiLlama and news providers, and every tool answers in the same JSON wrapper (toolName, output, isError, usage), so Kalshi and Polymarket odds compare field for field.

The tools, with their credits:

ToolReturnsCredits a call
kalshi_searchKalshiMarketsEvents that match a topic in plain words, with their likeliest outcomes and odds0
kalshi_getKalshiEventEvery outcome of one event, with bid, ask, 24-hour move, volume, open interest and the resolution rules0
kalshi_getKalshiMarketOne market, with its rules, dates and the best bids on each side0
kalshi_getKalshiPriceHistoryDaily or hourly odds, volume and open interest, up to 365 days0

All four cost 0 credits. The search tool takes words, which Kalshi's API can't: a query naming the Fed's December decision returned that event first.

$

kirha tools run kalshi_getKalshiEvent --input '{"eventTicker":"KXFEDDECISION-26DEC"}'

$ ▍

Trimmed to the odds:

{
  "toolName": "kalshi_getKalshiEvent",
  "output": {
    "title": "Fed decision in Dec 2026?",
    "outcomes": [
      {"outcome": "Hike 25bps", "probability": 0.765, "yesBid": 0.76, "yesAsk": 0.77, "change24h": 0.01},
      {"outcome": "Fed maintains rate", "probability": 0.225, "yesBid": 0.22, "yesAsk": 0.23, "change24h": 0},
      {"outcome": "Hike >25bps", "probability": 0.015, "yesBid": 0.01, "yesAsk": 0.02, "change24h": 0},
      {"outcome": "Cut >25bps", "probability": 0.005, "yesBid": 0, "yesAsk": 0.01, "change24h": 0},
      {"outcome": "Cut 25bps", "probability": 0.005, "yesBid": 0, "yesAsk": 0.01, "change24h": 0}
    ],
    "settlementSources": ["Federal Reserve (https://www.federalreserve.gov)"]
  },
  "isError": false,
  "usage": {"estimated": 0, "consumed": 0}
}

probability is the midpoint of the bid and the ask, the 76.5% computed above. On the same market, kalshi_getKalshiPriceHistory with "days": 7 returned the same daily closes as the candlesticks, from 0.73 to 0.77.

KIRHA Search goes further. It takes the question in plain words, plans the calls and chains them, since a plan step can take an earlier step's output. So "the odds on the Fed's next decision, on Kalshi and on Polymarket" is one request. With the Tools API, a fallback is a loop over tool names: read Kalshi, and call Polymarket's tool when the market isn't there, with the same key and the same wrapper.

From an agent

KIRHA's MCP server gives an agent one read-only tool, Search, that takes a question in plain words, plans the calls and returns each provider's raw result to cite. One line adds it to Claude Code:

$

claude mcp add --transport http kirha https://mcp.kirha.com/mcp --header "Authorization: Bearer $KIRHA_API_KEY"

$ ▍

kirha mcp install writes the same config for Codex, OpenCode, Droid and Gemini CLI. npx skills add kirha-ai/kirha-skill installs the KIRHA skill in Claude Code, Cursor, Codex and 40+ more agents. Then the agent asks: "What does Kalshi give for a rate hike at the Fed's next meeting, and how did it move this week?"

From a script

  • kirha tools match "prediction market odds" ranks the catalogue against the words and shows each tool's credits. The Kalshi and Polymarket tools come first, all free.
  • kirha tools run calls one tool, as above, and prints its JSON. An error comes back as JSON with a code, such as VALIDATION for an unknown tool.
  • kirha plan create "<question>" returns the planned steps and their estimated credits before anything runs.

Use KIRHA when an agent needs Kalshi next to Polymarket, prices or news, or has to find the market from a question in plain words. Use Kalshi's API directly when Kalshi is all you need and you hold the ticker: it's free and needs no key.

What was measured

In KIRHA's live crypto data benchmark, KIRHA Search answered every Kalshi question: a market's current Yes price, its price at the end of a past day, and one event's odds on Kalshi and Polymarket together. KIRHA's planner sent each question to the Kalshi tools, or to Polymarket's search and Kalshi's market tool for the pairs.

QuestionsNumberKIRHA Search
A market's current Yes price4100%
A market's price at the end of a past day5100%
One event's odds on Polymarket and on Kalshi10100%

An answer counted as correct within 1 percentage point of Kalshi's own API, read just before and after the call. A script scored each answer, so no model graded it. The questions, outputs and the other systems' results are in the benchmark.