# EMC2 AI OHLCV Candlestick Chart Data

> EMC2 AI OHLCV Candlestick Chart Data is a paid API for AI agents from emc2ai.io, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Returns raw OHLCV (Open, High, Low, Close, Volume) candlestick bar data for tokens via Bitquery, enabling technical analysis.

## Facts

- Endpoint: POST https://emc2ai.io/x402/bitquery/candles/raw
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/emc2ai-io-4535092f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d_fYUxU4Qj13nNcXXANWk

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 emc2ai-io-4535092f -d '<json body>'
```

Example prompt: Pull the raw OHLCV candlestick data for PEPE on Uniswap for the last 7 days using 1-hour intervals so I can run a technical analysis on the price action.

## When to prefer this

Use this endpoint when you need raw OHLCV candlestick data for on-chain DEX-traded tokens for technical analysis, charting, or indicator computation. Prefer over generic market data APIs when you need DEX-specific volume and price data sourced directly from blockchain transactions via Bitquery.

## Known failure modes

- Unknown token address or symbol returns empty result set
- Invalid time interval or date range returns error
- Token not traded on specified DEX returns no data
- Rate limiting or payment failure returns 402 or 429 status
- Unsupported blockchain network returns error

## How this service works

OHLCV candlestick chart data. Raw variant: data only ($0.25). Analyzed variant: data + AI commentary + TimesFM/Kronos forecast with quantile bands ($1.00).

## Output

Returns an array of OHLCV candlestick bars, each containing open, high, low, and close prices along with trading volume metrics for the specified token and time interval, sourced from Bitquery on-chain data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "bsc",
    "arbitrum",
    "polygon",
    "optimism",
    "solana"
   ],
   "type": "string",
   "description": "Blockchain to query (e.g., base, ethereum, bsc, solana)"
  },
  "timeperiod": {
   "enum": [
    "1h",
    "4h",
    "24h",
    "7d",
    "30d"
   ],
   "type": "string",
   "description": "Time period for analysis (e.g., 1h, 24h, 7d, 30d)"
  },
  "tokenAddress": {
   "type": "string",
   "description": "Token contract address (for token-specific queries)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/emc2ai-io-4535092f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from emc2ai.io](https://www.zero.xyz/host/emc2ai.io/llms.txt)
