# Polymarket Price History

> Polymarket Price History is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-17).

Returns time-series price (probability) history for a single Polymarket prediction market outcome, with OHLC-style summary stats.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/polymarket/price-history?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-polymarket-price-history-d31f876a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CBfsr3qp_BkOk06F8yR5b

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-data-tools-revmesh2074-workers-dev-polymarket-price-history-d31f876a
```

Example prompt: Can you pull the weekly price history for the 'Yes' outcome on the Polymarket market 'will-fed-cut-rates-in-2025' and tell me the high, low, and how much it's moved?

## When to prefer this

Use this endpoint when you need historical probability (price) data for a specific Polymarket prediction market outcome — especially for charting odds movement, spotting post-news swings, or backtesting. Prefer over generic market data APIs when you need Polymarket CLOB-specific time-series data with OHLC-style summaries. Use slug+outcome for human-readable input, or token_id for precise programmatic access.

## Known failure modes

- Invalid or unknown slug returns an error or empty history
- Outcome name not found for the given market returns an error
- Invalid token_id returns a not-found error
- Very short intervals (1h) on low-activity markets may return few or no data points
- Network or CLOB upstream timeout returns a 5xx error

## How this service works

Polymarket price history of one market outcome from the CLOB: time and price points over the last hour, 6 hours, day, week, month or all time, with first, last, change, high and low. Give the market slug and outcome, or a CLOB token id. Use to chart how the odds moved, spot a swing after news, or backtest a signal.

## Output

Returns a JSON object with: an array of {time, price} data points covering the requested interval, plus summary stats (first price, last price, high, low, change), the market question text, resolved outcome name, token ID, slug, and the interval used. Suitable for charting or quantitative analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "slug": {
   "type": "string",
   "description": "The market's Polymarket slug (from polymarket_markets) or its polymarket.com URL"
  },
  "outcome": {
   "type": "string",
   "description": "Outcome name, e.g. Yes or No (default the first outcome)"
  },
  "interval": {
   "enum": [
    "1h",
    "6h",
    "1d",
    "1w",
    "1m",
    "max"
   ],
   "type": "string",
   "description": "1h, 6h, 1d, 1w (default), 1m or max"
  },
  "token_id": {
   "type": "string",
   "description": "Instead of slug: the CLOB token id of one outcome"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "low": {
   "type": "number"
  },
  "high": {
   "type": "number"
  },
  "last": {
   "type": "number"
  },
  "note": {
   "type": "string"
  },
  "slug": {
   "type": "string"
  },
  "first": {
   "type": "number"
  },
  "change": {
   "type": "number"
  },
  "points": {
   "type": "number"
  },
  "history": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "time": {
      "type": "string"
     },
     "price": {
      "type": "number"
     }
    }
   }
  },
  "outcome": {
   "type": "string"
  },
  "tokenId": {
   "type": "string"
  },
  "interval": {
   "type": "string"
  },
  "question": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-polymarket-price-history-d31f876a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
