WSS
wss://api.elections.kalshi.com
Messages
apiKey
type:apiKey

API key authentication required for WebSocket connections. The API key should be provided during the WebSocket handshake.

method
type:string

GET

Subscribe Command
type:object

Subscribe to one or more channels

Unsubscribe Command
type:object

Cancel one or more subscriptions

Update Subscription Command
type:object

Add or remove markets from an existing subscription

Subscribed Response
type:object

Confirmation that subscription was successful

Unsubscribed Response
type:object

Confirmation that unsubscription was successful

OK Response
type:object

Successful update operation response

Error Response
type:object

Error response for failed operations