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.
book channel includes a CRC32 checksum with each update message. Validating it confirms your local book is correctly synchronised with the exchange.
Checksum verification is optional. You can validate on every update or periodically depending on throughput requirements. The checksum is always calculated over the top 10 price levels regardless of subscription depth.
Checksums are not sent in snapshot messages — only in update messages. The checksum field ("c") appears in the last bid or ask map structure in the message.
Example book update
Checksum calculation
Algorithm
Apply the update
Apply all price level updates in the message to your local book before calculating the checksum.
Build the asks string
For each of the top 10 ask price levels, sorted by price low to high:
- Remove
.from the price →"0.05000"→"005000" - Remove leading zeros →
"005000"→"5000" - Apply the same formatting to the volume
- Append
price + volumeto the asks string
"0.05000" with volume "0.00000304" formats as "5000304". Timestamps are not included.Build the bids string
For each of the top 10 bid price levels, sorted by price high to low, apply the same formatting and append to the bids string.
Example
Input book state:974947235