Skip to main content

Book

CHANNEL

wss://futures.kraken.com/ws/v1

book

The book feed returns information about the order book.

Request

MESSAGE BODY

event string required
subscribe or unsubscribe
feed string required
The requested subscription feed book
product_ids list of strings required
A list of strings which represent the products that user will receive information upon.

Response Success

MESSAGE BODY

event string
The result, subscribed or subscribed_failed or unsubscribed or unsubscribed_failed
feed string
The requested subscription feed book
product_ids list of strings required
A list of strings which represent the products that user will receive information upon.

Response Snapshot

MESSAGE BODY

feed string
The subscribed feed.
product_id string
The subscribed product (referred also as instrument or symbol).
seq positive integer
The subscription message sequence number.
timestamp positive integer
Timestamp in milliseconds
tickSize string
Always null.
bids list of structures
qty positive float
The quantity of the entry
price positive float
The price of the entry
asks list of structures
qty positive float
The quantity of the entry
price positive float
The price of the entry

Response Delta

MESSAGE BODY

feed string
The subscribed feed.
product_id string
The subscribed product (referred also as instrument or symbol).
seq positive integer
The subscription message sequence number.
timestamp positive integer
Timestamp in milliseconds
side string
The side of the entry.
price positive float
The price of the entry
qty positive float
The quantity of the entry

Response Error

MESSAGE BODY

event string
Always error
message string
An error message out of:
Invalid product id
Invalid feed
Json Error