Kraken Spot WebSocket API v2
Real-time market data and private user data over WebSocket v2 using subscribe/unsubscribe semantics. Public channels include ticker (L1), book (L2), trade, ohlc, instrument, and admin frames (status, heartbeat, ping/pong). Authenticated channels include executions and balances. Trading methods include add_order, amend_order, edit_order, cancel_order, cancel_all, cancel_on_disconnect, batch_add, and batch_cancel. The authenticated endpoint requires a token obtained from the Spot REST GetWebSocketsToken operation.
This event API exposes 12 operations across 6 channels, and defines 45 schemas. It is described by AsyncAPI 2.6.0, at version 2.0.0.
The API connects through 2 servers: ws.kraken.com/v2 (wss), ws-auth.kraken.com/v2 (wss).
Metadata
The identity and technical contract details declared by the specification.
Channels & Operations 12
Across 6 channels, the API surfaces 12 operations. Each is listed below with its action, channel, parameters, and response codes.
Messages & Schemas 45
The contract defines 45 schemas that model the data carried by its messages. The most detailed are Pair (16 properties), Ticker (12 properties), Candle (10 properties), Asset (8 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable AsyncAPI contract behind this narrative.