Polymarket Endpoints

Polymarket Orderbook History API

Orderbook returns the live bid/ask ladder for a Polymarket market token, proxied from clob.polymarket.com.

GET/api/v2/polymarket/orderbook-historyTry It

Get Polymarket orderbook

Current orderbook depth (bids and asks) for a Polymarket market, proxied live from clob.polymarket.com.

Live GET Request

Try it

Live Response
Click Try It to run this GET request against the API.
Request
curl 'https://api.thepredictionmarkets.com/api/v2/polymarket/orderbook-history?market_slug=2026-nba-champion' \
  -H 'X-API-Key: YOUR_TPM_API_KEY'
Response
{
  "bids": [
    { "price": "0.49", "size": "2500" },
    { "price": "0.48", "size": "1200" }
  ],
  "asks": [
    { "price": "0.50", "size": "3100" },
    { "price": "0.51", "size": "900" }
  ],
  "market_slug": "2026-nba-champion",
  "token_id": "0xabc123..."
}

Query Parameters

NameTypeRequiredDefaultExampleDescription
market_slugstringNo-2026-nba-championPolymarket market or event slug. Used to look up the CLOB token ID.
token_idstringNo-0xabc123...Polymarket CLOB token ID. Overrides market_slug when provided.
outcome_indexintegerNo000 for first/YES token, 1 for second/NO token.

Response Fields

FieldTypeExampleDescription
bidsobject[]-Bid levels sorted descending by price. Each has price and size.
asksobject[]-Ask levels sorted ascending by price. Each has price and size.
token_idstring-CLOB token ID used for this orderbook lookup.

Build with TPM

Get your API key

Start with Kalshi and Polymarket market data, then add unified spreads, signals, alerts, and watchlists as your workflow grows.