Use the dedicated Trade API WebSocket hosts for new integrations:Documentation Index
Fetch the complete documentation index at: https://docs.kalshi.com/llms.txt
Use this file to discover all available pages before exploring further.
| Environment | WebSocket URL | Shared host, also supported |
|---|---|---|
| Production | wss://external-api-ws.kalshi.com/trade-api/ws/v2 | wss://api.elections.kalshi.com/trade-api/ws/v2 |
| Demo | wss://external-api-ws.demo.kalshi.co/trade-api/ws/v2 | wss://demo-api.kalshi.co/trade-api/ws/v2 |
- For connection and subscription examples, see Quick Start: WebSockets.
- For all REST and WebSocket base URLs, see API Environments and Endpoints.
- To generate clients or inspect channel payloads directly, download the AsyncAPI specification.