Skip to main content
Get the aggregated order book for a market. The response contains bid and ask arrays with cumulative depth data at each price level, allowing you to assess market liquidity and your position within it.

Endpoint

Authentication

No authentication is required for this endpoint.

Parameters

id
integer
required
The unique identifier of the market.
currency_mode
string
required
The currency mode to query. Accepted values: play_money, real_money.
position
string
default:"long"
The position side to query. Accepted values: long, short.

Response

bid
object[]
required
Aggregated bid levels, sorted from highest to lowest price.
ask
object[]
required
Aggregated ask levels, sorted from lowest to highest price.

Example

cURL
Sample response