Get live Polymarket CLOB or Kalshi bid/ask orderbook depth & spread
GET/v1/markets/orderbook· Updated 2026-11-15
Returns normalized YES bids, YES asks, best_bid, best_ask, mid_price implied probability, spread_bps, and total USD depth. Cost: 5 Credits / call (0 Credits on 404).
Parameters
token_idstringPolymarket CLOB asset token_id.
tickerstringKalshi contract ticker (e.g. KXELONMARS-99).
market_idstringUnified market_id (auto-resolves CLOB token_id or Kalshi ticker).
Example Request (cURL / Python / JavaScript)
curl "https://api.predictionmarketapi.dev/v1/markets/orderbook" \
-H "x-api-key: pm_live_your_api_key"import requests
res = requests.get(
"https://api.predictionmarketapi.dev/v1/markets/orderbook",
headers={"x-api-key": "pm_live_your_api_key"},
timeout=30,
)
print(res.json())const res = await fetch("https://api.predictionmarketapi.dev/v1/markets/orderbook", {
headers: { "x-api-key": "pm_live_your_api_key" },
});
const data = await res.json();
console.log(data);Response Fields
Normalized live orderbook
Status Codes
- 200
- Normalized live orderbook