Skip to main content
GET
/
markets
/
{id}
/
orderbook
Get market orderbook
curl --request GET \
  --url https://api-v2.polyrouter.io/markets/{id}/orderbook \
  --header 'X-API-Key: <api-key>'
{
  "data": {
    "market_id": "524153",
    "platform": "polymarket",
    "timestamp": "2025-01-01T00:00:00.000Z",
    "yes": {
      "bids": [
        {
          "price": 0.65,
          "size": 1000
        }
      ],
      "asks": [
        {
          "price": 0.65,
          "size": 1000
        }
      ],
      "depth": 50000
    },
    "no": {
      "bids": [
        {
          "price": 0.65,
          "size": 1000
        }
      ],
      "asks": [
        {
          "price": 0.65,
          "size": 1000
        }
      ],
      "depth": 50000
    },
    "metadata": {
      "min_order_size": 5,
      "tick_size": 0.001,
      "neg_risk": false
    }
  },
  "meta": {
    "request_time": 150
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

id
string
required
Example:

"KXELONMARS-99"

Query Parameters

platform
enum<string>

Specify platform to fetch orderbook from. If not specified, auto-detects from market ID

Available options:
polymarket,
kalshi,
limitless,
manifold
include_raw
enum<string>

Include raw platform response data in metadata._raw

Available options:
true,
false

Response

Orderbook data

data
object
required
meta
object
required