Orderbook API
Fetch orderbook data for markets
Orderbook API
The Orderbook API provides methods to fetch orderbook data for prediction markets.
Access
Methods
get_orderbook
Fetch the orderbook for a specific market.
Parameters
| Parameter | Type | Description |
|---|---|---|
market_id | str | The market ticker or ID |
depth | int | None | Number of price levels to return |