Network: Mainnet▼
Order Book Depth
Retrieve the current REST snapshot of order book depth for a market.
For live order book updates, use the WebSocket order book stream.
Get Order Book Depth
Retrieve current order book depth (bids and asks) for a market.
GET /v1/depth
Query Parameters
curl -X GET \
"https://api.o2.app/v1/depth" \
-H "Accept: application/json"Response Structure (source):
action: Action type ("depth")orders.buys: Array of buy orders (sorted by price descending)orders.sells: Array of sell orders (sorted by price ascending)market_id: Market identifier