# BlockRun.AI CEX Pair OHLCV Candlesticks

> BlockRun.AI CEX Pair OHLCV Candlesticks is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.0075/call, status unknown (last checked 2026-09-16).

Returns OHLCV (Open, High, Low, Close, Volume) candlestick data for a specified centralized exchange trading pair.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/surf/exchange/klines
- Price: $0.0075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-cex-pair-ohlcv-candlesticks-9384505d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oiJ6hbm_FjLCKt8AAL1ew

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-ai-cex-pair-ohlcv-candlesticks-9384505d
```

Example prompt: Can you pull the OHLCV candlestick data for BTC/USDT on a centralized exchange so I can analyze recent price action?

## When to prefer this

Use this endpoint when you need standardized OHLCV candlestick data for a centralized exchange (CEX) trading pair, particularly for technical analysis, charting, or price history lookups. Prefer this over on-chain DEX data sources when the pair is primarily traded on centralized exchanges.

## Known failure modes

- Invalid or unsupported trading pair symbol returns an error
- Missing required 'pair' query parameter returns a 400 error
- Exchange not supported or unavailable returns an error
- Rate limiting or quota exceeded returns a 429 error
- Payment not processed or x402 payment required error

## How this service works

Pay for the outcome. One endpoint for every model, tool and data source an agent needs — each call priced before it runs, at the best value per dollar. 103 models and 100 data and tool APIs.

## Output

Returns OHLCV candlestick data for the specified CEX trading pair, including open, high, low, close prices and volume across time intervals, suitable for charting and technical analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pair": {
   "type": "string",
   "description": "Required query param"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-ai-cex-pair-ohlcv-candlesticks-9384505d/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)
