Home / APIs / Kalshi Trade API
APIs
Kalshi Trade API
Kalshi's recommended production REST base for the Trade API. A second host on api.elections.kalshi.com is still supported and, per the docs, is not limited to election markets.
Checked 2026-11-25. Figures below are from the linked page on that date.
What the vendor publishes
| Fact | As published | Source |
|---|---|---|
| Production base | https://external-api.kalshi.com/trade-api/v2 | Source |
| Also supported | https://api.elections.kalshi.com/trade-api/v2 | Source |
| Demo base | https://external-api.demo.kalshi.co/trade-api/v2 (also https://demo-api.kalshi.co/trade-api/v2). | Source |
| Credentials | Demo API keys only work against demo endpoints, and production keys only against production. | Source |
| Signing | Sign the full request path from the API root, without query parameters. The host is not part of the signed payload. Example path: /trade-api/v2/portfolio/orders. | Source |
| Specs | The welcome page links openapi.yaml for the predictions REST API and asyncapi.yaml for the WebSocket. | Source |
Related guides
kalshirest