v3
OpenAPI 3.0.02026-07-31103181312.8 KBmarket
Get Market Orderbook
Endpoint for getting the current order book for a specific market. The order book shows all active bid orders for both yes and no sides of a binary market. It returns yes bids and no bids only (no asks are returned). This is because in binary markets, a bid for yes at price X is equivalent to an ask for no at price (100-X). For example, a yes bid at 7¢ is the same as a no ask at 93¢, with identical contract sizes. Each side shows price levels with their corresponding quantities and order counts, organized from best to worst prices.
get/markets/{ticker}/orderbook
Path parameters
tickerstring required
Market ticker
Query parameters
depthinteger
Depth of the orderbook to retrieve (0 or negative means all levels, 1-100 for specific depth)
Response
Orderbook retrieved successfully
Example response
{
"orderbook_fp": {
"yes_dollars": [
[
"0.1500",
"100.00"
]
],
"no_dollars": [
[
"0.1500",
"100.00"
]
]
}
}