GET/v1/markets/:id/orderbook

Get Market Orderbook

Returns the live orderbook for a specific market with UP and DOWN token books, best bid/ask, and depth.

Path Parameters

idstringrequired
Market ID (conditionId)

Response

200401403404500

Successful Response

Code Snippet
curl -X GET "https://api.resolvedmarkets.com/v1/markets/:id/orderbook" \
  -H "X-API-Key: YOUR_API_KEY"
200
{
  "marketId": "0x778be094...",
  "crypto": "BTC",
  "timeframe": "5m",
  "cryptoPrice": 67420.50,
  "up": {
    "bestBid": 0.52,
    "bestAsk": 0.53,
    "midPrice": 0.525,
    "bids": [...],
    "asks": [...]
  },
  "down": {...}
}
Get Market Orderbook — API Docs | Resolved Markets