Polymarket price history API

Official Polymarket CLOB historical prices for a market token from the public prices-history API. POST /api/v1/polymarket/price-history 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 historical prices for a market token from the public prices-history API. POST /api/v1/polymarket/price-history 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/price-history

Example request

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

Example response

{
  "status": "complete",
  "data": {
    "tokenId": "32338220190071351435772801779725302244575775216413325951443816017994629993401",
    "interval": "1d",
    "history": [
      {
        "time": "2026-11-19T12:00:00.000Z",
        "price": "0.0145"
      },
      {
        "time": "2026-11-20T12:00:00.000Z",
        "price": "0.0175"
      }
    ],
    "sourceUrl": "https://clob.polymarket.com/prices-history",
    "asOf": "2026-11-20T23:20:00.000Z"
  },
  "nextCursor": null,
  "progress": {
    "processed": 0,
    "total": null,
    "unit": "items",
    "scannedRange": null
  },
  "sources": [],
  "missing_items": [],
  "limitations": []
}

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. Optional cursor resumes the next deterministic chunk. Partial responses include nextCursor, progress, sources, and data under a ~22s wall budget (#212).

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