Skip to main content

Full Order Book (431)

Channel orderbook, event <PAIR> (for example BTCUSDT). A complete snapshot of the book.

Subscribe with message type 151. One snapshot is pushed immediately on a successful join.

[431, {
"type": 431, "channel": "orderbook", "event": "BTCUSDT",
"CS": 1841,
"PS": "BTCUSDT",
"BO": [ { "P": "85391", "A": "0.00292756" } ],
"AO": [ { "P": "85412", "A": "0.0983193" } ]
}]
CodeMeaning
CSChange set - increments as the book changes
PSPair symbol
BOBid orders, each { "P": price, "A": amount }
AOAsk orders, same shape

Prices and amounts are strings without trailing zeros.

To keep a local book up to date without re-receiving the whole snapshot, subscribe to Order Book Difference as well and apply its updates in CS order.