Skip to main content
The proxy handles Kalshi WebSocket authentication (RSA-PSS) automatically using the credentials in .env. You connect to the proxy without needing to implement Kalshi’s auth protocol yourself.

Connect

Subscribe to channels

After connecting, send a subscribe command:
Available channels (see Kalshi WebSocket docs):
  • ticker — price and volume updates
  • orderbook_delta — orderbook changes
  • trade — trade events
  • fill — fill events (requires authentication)

Troubleshooting

401 Unauthorized? Kalshi demo and production use different credentials. If your key is from demo.kalshi.co, set:
Upstream: wss://api.elections.kalshi.com/trade-api/ws/v2