Skip to main content
WSSws.kraken.com/v2book
The book channel streams level 2 (L2) order book. It describes the individual price levels in the book with aggregated order quantities at each level. Subscriptions to this channel can be made for multiple symbols at once by specifying a list of pairs in the symbol. For more detail on maintaining the order book and generating a checksum, see guide.

Subscribe

string
required
Value: subscribe
object
required
integer
Optional client originated request identifier sent as acknowledgment in the response.

Snapshot

The returned snapshot data contains the specified number of bids and asks for the symbol including a CRC32 checksum of the top 10 bids and asks.
string
Value: book
string
One of: snapshot
object[]

Update

The data contains the updates of the bids and asks for the relevant symbol including a CRC32 checksum of the top 10 bids and asks. Note, it is possible to have multiple updates to the same price level in a single update message. Updates should always be processed in sequence.
string
Value: book
string
One of: update
object[]

Unsubscribe

string
required
Value: unsubscribe
object
required
integer
Optional client originated request identifier sent as acknowledgment in the response.