Fetching the order book
size is the resting maker’s stake, not what you can bet against it. To turn a level into taker
capacity and price a bet across levels, see The order book.
Fetching best odds
Top of book for select markets. A side isnull when it has no liquidity.
seed_best_odds.mjs
Seeding and then subscribing to realtime best odds
Seed fromGET /orders-v3/odds/best and treat publications as updates on top of that seed. Note that the channel is a global channel
Seeding and subscribing realtime to the order book
orderbook_v3:{marketHash} carries the same shape the
snapshot serves, and each publication is a full replacement, not a delta. Subscribe first, then seed from REST, and run both the snapshot and every publication through
the version apply rule.
Related
The order book
Depth, sizing, and pricing a bet across levels.
Book versioning
Applying live book updates in the right order.
Real-time data
Tokens, snapshot + subscribe, and reconnect handling.
Best odds
Parameters, caps, and validation rules.