What does the Kalshi API provide?
The Kalshi API provides real-time market data and trade execution for event contracts. Kalshi documents three interfaces: REST for requests and account actions, WebSocket for live streams, and FIX for institutional trading workflows. The same documentation also covers perpetual futures, but prediction traders use the event-contract endpoints.
A public REST request can retrieve series, events, markets, and order books without an API key. Kalshi's market data quick start uses the production endpoint at `https://external-api.kalshi.com/trade-api/v2`. Developers can request active markets by series, inspect current prices, and read the order book before creating credentials.
Private actions add more responsibility. Order entry, portfolio data, fills, and positions require authentication. Code that sends orders also needs state tracking, logs, risk controls, and a clean recovery path after a failed request. The endpoint is the easy part. Production trading software owns everything around it.
How do you get a Kalshi API key?
Create a key in Profile Settings under API Keys. Kalshi now supports Ed25519, the default recommended choice, and RSA-PSS for clients that require it. Save the Key ID and private key when generated: the private key cannot be retrieved after that page closes. Store it as a server-side secret, outside browser code and source control.
Send `KALSHI-ACCESS-KEY`, `KALSHI-ACCESS-TIMESTAMP`, and `KALSHI-ACCESS-SIGNATURE`. Sign the concatenated millisecond timestamp, HTTP method and request path, excluding the query string. Match the signing algorithm to the parsed key type. A PEM header alone does not reliably distinguish RSA from Ed25519. Official Python and TypeScript SDKs support both from version 3.31.0. See Kalshi's API key guide.
Demo and production credentials stay separate. A demo key only works against demo endpoints, and a production key only works against production endpoints. Test the entire order lifecycle in demo before live capital touches the code. A key opens the account. The trader still needs risk controls.
Does the Kalshi API support WebSocket and FIX?
Kalshi supports WebSocket and FIX alongside REST for prediction market data and execution. The production WebSocket host is `wss://external-api-ws.kalshi.com/trade-api/ws/v2`. Kalshi also publishes separate demo hosts, so developers can test streaming behavior without pointing the client at production.
WebSocket fits clients that react to live market updates and account events. REST fits discovery, snapshots, and direct actions. FIX serves trading systems built around the standard institutional protocol. Choosing among them depends on the job. A serious system often uses more than one.
Connection code still has to handle reconnects, stale data, duplicate messages, and state reconciliation. A socket that stays open does not prove the local book is correct. Record sequence state, compare fills against positions, and stop sending orders when the client cannot prove its view is current. Correct state beats a fast mistake. FIX access is on by default for accounts on the Premier tier and above.
What are the Kalshi API rate limits?
Kalshi API rate limits are token budgets, not request counts. Every account gets a Read bucket and a Write bucket, refilled each second. Most requests cost 10 tokens, so sustained requests per second equal the budget divided by 10. REST and FIX draw from the same buckets.
There are seven Kalshi API tiers. Token figures below are Kalshi's published budgets as of November 2026; the per-second request rates are the budget divided by the default 10-token cost.
Hitting a limit returns HTTP 429 with the code too_many_requests. There is no Retry-After header and no penalty period: back off and retry. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-RateLimit-Cost. Batch calls do not save tokens: each order in the batch is billed, and the whole batch is rejected if it does not fit in the bucket.
- Basic: 200 read / 100 write tokens per second (about 20 reads and 10 writes per second), 200 WebSocket connections
- Advanced: 300 / 300 (about 30 / 30 per second), 200 WebSocket connections
- Expert: 600 / 600 (about 60 / 60), 200 WebSocket connections
- Premier: 1,200 / 1,200 (about 120 / 120), 500 WebSocket connections, FIX on by default
- Paragon: 2,400 / 2,400 (about 240 / 240), 750 WebSocket connections
- Prime: 4,800 / 4,800 (about 480 / 480), 1,000 WebSocket connections
- Prestige: 12,000 / 9,600 (about 1,200 / 960), 1,000 WebSocket connections
How do you upgrade your Kalshi API tier?
Every account starts on Basic. Advanced is self-serve: place at least one order through the API (one of your latest 100 orders must be API-created), then call POST /account/api_usage_level/upgrade. Without an API order, the call returns 403.
Expert through Prestige are granted automatically from a daily volume review, or assigned by Kalshi. Volume share is your trailing 30-day volume divided by twice the previous month's exchange volume. A grant lasts 30 days and renews while you keep qualifying. Check your tier with GET /account/limits.
- Expert: earn at 0.075% volume share, keep at 0.05%
- Premier: earn at 0.125%, keep at 0.10% (adds FIX and AWS PrivateLink)
- Paragon: earn at 0.25%, keep at 0.20%
- Prime: earn at 0.50%, keep at 0.40% (VPC peering available)
- Prestige: earn at 1.00%, keep at 0.80%
What changed in the Kalshi API in 2026?
Code written against older Kalshi API guides breaks in four places. Kairos checked the top Google results for "kalshi api tier" on November 24, 2026: only one published tier numbers, and its Premier figure (100 orders per second) predates the current token model, which allows about 120.
- Rate limits moved from requests per second to token budgets, with seven tiers instead of four.
- Ed25519 is now the default key type. RSA-PSS still works; the official SDKs support both from version 3.31.0.
- The legacy /portfolio/orders write endpoints return 410 Gone. New orders go to /portfolio/events/orders, and batches to /portfolio/events/orders/batched.
- The fixed 20-order batch cap is gone. Maximum batch size now scales with your tier's write budget.
How many tools are built on the Kalshi API?
Fewer than on Polymarket. The Kairos tool census tracks 288 prediction market tools, each verified by hand between August 27 and September 8, 2026. 82 support Kalshi, against 240 for Polymarket, and 70 support both.
Of the 19 Kalshi tools in the Data and APIs category, 13 are open source and 17 are free. Most are SDKs, wrappers, and multi-venue data layers such as pykalshi, PMXT, Dome, and CCXT's prediction market exchanges. The thinner ecosystem is why many Kalshi teams still write their own client against the official API.
Should you build on the Kalshi API or use a trading terminal?
Build on the Kalshi API when proprietary code creates the trading advantage. A custom model, automated quoting logic, or a private data pipeline can justify owning authentication, deployment, monitoring, and order-state recovery. The API gives the software direct access to one venue.
Use a trading terminal when the advantage comes from seeing and executing the trade. Kairos puts Kalshi, Polymarket, and Predict.fun in one book with sub-second data, aggregation, advanced order types, and low-latency execution. The trader gets professional infrastructure without building the plumbing first.
The split is clean. Developers who need custom automation should use the API. Active traders who need cross-venue prices and execution should use Kairos. Event contracts carry real market risk in either workflow. Traders still own every decision that reaches the order book.
Do you need one API for Kalshi and Polymarket?
Teams that trade more than one venue end up maintaining one integration per exchange, each with its own authentication, rate limits, data formats, and settlement.
The Kairos Enterprise API is one REST and WebSocket integration for market data and order execution across Kalshi, Polymarket, Predict.fun, and Hyperliquid. It ships unified market IDs, batch cancel of up to 100 orders, a per-venue kill switch, and client_order_id idempotency so a retried request never double-fills.
It is built for trading desks, apps, and quant teams that want Kalshi depth without owning a separate integration for every venue.
Which order and order-book formats should a new client use?
Kalshi's V2 event-order endpoint is POST /portfolio/events/orders. Its documented request uses a bid/ask side, dollar-string price and fixed-point count. Migrate deliberately from the legacy order shape; changing an endpoint string without adapting the payload is not a migration.
The order-book response uses orderbook_fp with yes_dollars and no_dollars arrays. A pair such as ["0.4200", "13.00"] means a $0.42 bid for 13 contracts. Treat both as decimal values. Do not read the dollar string as integer cents or discard fractional contract precision.
Is there a Kalshi MCP server for AI agents?
Yes. Community-built Kalshi MCP servers turn the Kalshi API into tools an AI client can discover and call. Kalshi owns the exchange API. Community maintainers own the MCP layer, and none of the repositories Kairos reviewed is an official Kalshi product.
The 9crusher server exposes market discovery, settlement rules, order books, candles, trades, balances, positions, fills, and order management. It defaults to Kalshi's demo environment and requires an explicit confirmation value before it creates or amends an order. The BrainDAO server ships as an npm package, runs locally, and sends requests only to Kalshi's official API, per its repository.
An agent connects through an MCP-compatible client such as Claude, with the server running locally or on infrastructure you control. Keep the private key outside prompts and model context. Start read-only, move to demo, and go live last with small limits and a confirmation gate the model cannot bypass.
A server gives an agent access. It does not supply a model, an edge, or a risk policy, and it covers only the Kalshi tools its maintainer built. Repository capabilities change, so review the live source before installation. Cross-venue trading needs a separate layer, and Kairos puts Kalshi, Polymarket, and Predict.fun in one book.
Sources
Kalshi API documentation confirms REST, WebSocket, and FIX support for real-time market data and trade execution. Kalshi's market data quick start documents public endpoints that work without authentication.
Kalshi's API key guide documents key creation, RSA request signing, and the required authentication headers. Kalshi's environment guide lists the production and demo hosts. Kalshi's rate-limit guide documents token costs, tier budgets, batch behavior, and HTTP 429 responses.
The 9crusher Kalshi MCP server and BrainDAO Kalshi MCP server repositories document current MCP tool and configuration claims. The Model Context Protocol specification covers the protocol and its tool safety model.
Kairos product details come from the live Kairos offer. See you in the order books.
Where a Kalshi bot fits
A Kalshi bot turns the API into an automated trading loop. It reads market data, applies a predefined rule set, and sends orders without manual input. Traders still need deployment, monitoring, risk limits, and clean order-state recovery.