# BlockRun Polymarket Candlesticks

> BlockRun Polymarket Candlesticks is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.0085/call, status unknown (last checked 2026-10-17).

Fetches OHLC candlestick price data for a specific Polymarket prediction market by market ID

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/polymarket/candlesticks/0x0000000000000000000000000000000000000000000000000000000000000000?utm_source=zero.xyz
- Price: $0.0085/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-polymarket-candlesticks-e2fffea0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j0CrHlk8NLC8R4-YcVKF1

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 blockrun-polymarket-candlesticks-e2fffea0
```

Example prompt: Pull the candlestick price history for Polymarket market 0x1234...abcd so I can see how the price has moved over time.

## When to prefer this

Use this endpoint when you need historical OHLC candlestick price data specifically from Polymarket prediction markets, accessed via a pay-per-call x402 model settled in USDC. Prefer this over direct Polymarket API calls when you want a single unified payment layer for multiple blockchain data sources, or when building agents that need frictionless micropayment access without managing API keys.

## Known failure modes

- Invalid or zero-address condition ID returns empty or error response
- Market condition ID not found on Polymarket returns no data
- Payment failure (insufficient USDC) returns 402 Payment Required
- Rate limiting or network issues return 5xx errors
- Market has no trading history yet returns empty data array

## How this service works

BlockRun lets AI agents use money well: pay for results, not for seats or subscriptions, and put every cent on the model or tool that actually does the job.

## Output

Returns OHLC (open, high, low, close) candlestick price data for the specified Polymarket market condition ID, structured as a time-series of price intervals suitable for charting or analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "query": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-polymarket-candlesticks-e2fffea0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
