Skip to main content
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

List Subscriptions Command
type:object

List all active subscriptions

Update Subscription - Add Markets
type:object

Add markets to an existing subscription

Update Subscription - Delete Markets
type:object

Remove markets from an existing subscription

Update Subscription - Single SID Format
type:object

Update subscription using sid parameter instead of sids array

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

List Subscriptions Response
type:object

Response containing all active subscriptions

Error Response
type:object

Error response for failed operations

I