v3
OpenAPI 3.0.02026-07-31103181312.8 KBmarket
Get Multiple Market Orderbooks
Endpoint for getting the current order books for multiple markets in a single request. 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. Returns one orderbook per requested market ticker.
get/markets/orderbooks
Query parameters
tickersstring[] required
List of market tickers to fetch orderbooks for
Response
Orderbooks retrieved successfully
Example response
{
"orderbooks": [
{
"orderbook_fp": {
"yes_dollars": [
[
"0.1500",
"100.00"
]
],
"no_dollars": [
[
"0.1500",
"100.00"
]
]
}
}
]
}