TheDocumentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
level3 channel has an additional level of granularity over the book channel, it provides visibility of individual orders in the book.
L3 shows orders resting in the visible order book and it will never be crossed (i.e. no overlapping buy and sell orders). This feed excludes:
- In-flight orders.
- Unmatched market orders.
- Untriggered stop-loss and take-profit orders.
- Hidden quantity of iceberg orders.
Subscription limits
Thelevel3 channel is authenticated (i.e. it requires an API token to subscribe) and there are restrictions of the number of symbols and the subscription rate.
- The total number of symbols per websocket connection is
200. A client can open multiple websockets connections to increase symbol coverage. - The subscription rate determined by client tier and order book depth. Standard rate count limit per second is
200and the pro limit is500. - The counter increase per book depth subscription is given in the table below.
| Order Book Depth | Rate Counter Increase per Symbol |
|---|---|
| 10 | 5 |
| 100 | 25 |
| 1000 | 100 |
Subscribe
Only one subscription to one depth level per symbol is supported, i.e. cannot subscribe to 10 levels and 1000 levels of “BTC/USD”.- Request
- Response
Snapshot
Value:
level3One of:
snapshotUpdate
- The updates will be streamed following the initial snapshot, no sequencing is required.
- The L3 channel is not throttled, updates will be provided in the real-time.
- If a price level is removed from the subscribed levels (i.e. result of trades/cancels) then all orders in the next available level will generate an add event.
Maintaining the book
After each update, the book should be truncated to your subscribed depth, there will be nodelete event for price levels that fall out of scope.
In other words, if you are subscribed with depth of 10 and an insert into the book results in 11 bids, you must remove the 11th worst bid.
Value:
level3One of:
update