Skip to main content
The l2Book channel streams real-time L2 order book data: bids and asks aggregated into price levels by significant figures. Each message is self-contained, so it’s the simplest channel to consume: you don’t maintain local state between messages. Use it for top-of-book quotes, spread monitoring, and depth analytics.
For high-frequency book tracking across many assets, prefer l2BookDiff; it sends only changed levels and is billed at a fraction of the per-minute rate.

Subscribe

coin is optional; omit it to stream all assets on one subscription (billed at the higher wildcard rate; see pricing).

Message shape

Each message carries the aggregated book for a coin. Levels are a two-element array ([bids, asks]), and each level is { px, sz, n }.

Consume it

Because each message is a complete snapshot, you can read top-of-book directly; no state to maintain:

When to use L2 vs. L2 diff