Skip to navigation

Get order book

Returns a full L2 snapshot for one outcome side. Replace the local book atomically. The response is not a sequenced delta.

Request

This endpoint expects an object.
type"l2Book"Required
coinstringRequired

Side-specific market-data coin in #<10 * hl_id + side> form.

nSigFigsintegerOptional
Optional price aggregation precision from 2 through 5 significant figures.
mantissaintegerOptional
Optional aggregation mantissa. Valid values are 1, 2, and 5.

Response

This endpoint returns an object.
coinstring
timelong
levelslist of lists of objects
Two arrays, bids first and asks second.