Network: Mainnet▼
Order Book & Depth Data
Access real-time order book depth data for markets, showing current bids and asks.
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