Polymarket order book API

Official Polymarket CLOB order book for a market token: bids and asks with price and size. Does not place orders. POST /api/v1/polymarket/order-book costs $0.0085 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Polymarket Gamma API Polymarket Data API v2 Limits: Public market data only — no order placement and no private fills. Does not use the retired Data API v1 or authenticated CLOB user-trades routes.

Official Polymarket CLOB order book for a market token: bids and asks with price and size. Does not place orders. POST /api/v1/polymarket/order-book costs $0.0085 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Polymarket Gamma API Polymarket Data API v2 Limits: Public market data only — no order placement and no private fills. Does not use the retired Data API v1 or authenticated CLOB user-trades routes.

POST$0.0085 USDC
/api/v1/polymarket/order-book

Example request

curl -i -X POST "https://www.brainiac.software/api/v1/polymarket/order-book" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "tokenId": "32338220190071351435772801779725302244575775216413325951443816017994629993401",
  "depth": 10
}
JSON

Example response

{
  "status": "complete",
  "tokenId": "32338220190071351435772801779725302244575775216413325951443816017994629993401",
  "bids": [
    {
      "price": "0.017",
      "size": "10507.64"
    }
  ],
  "asks": [
    {
      "price": "0.018",
      "size": "7893.67"
    }
  ],
  "truncated": true,
  "source": "Polymarket CLOB",
  "sourceUrl": "https://clob.polymarket.com/book",
  "asOf": "2026-11-20T23:20:00.000Z",
  "missing_items": []
}

An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.

Errors: HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; failed or empty results are not charged. Invalid cursor returns HTTP 400 (uncharged).

Limits: Public market data only — no order placement and no private fills. Does not use the retired Data API v1 or authenticated CLOB user-trades routes. query filters are applied client-side on the returned Gamma page.

FAQ

  • Do I need an API key? No. Pay the listed USDC amount with x402.
  • What network? Base (eip155:8453), USDC.
  • Is this an official determination? No. Results are for human review against the cited sources.

Related APIs

Polymarket Markets Odds Trades API APIGroup docsHow it works