Skip to main content
WSS

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.

Messages
apiKey
type:apiKey

API key authentication required for margin WebSocket connections.

method
type:string

GET

Subscribe Command
type:object

Subscribe to one or more margin 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
type:object

Update a subscription using sid rather than sids

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