# EMC2 AI OHLCV Candlestick Data with AI Analysis

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

Returns OHLCV (Open, High, Low, Close, Volume) candlestick bar data for crypto tokens with AI-powered technical analysis via Bitquery

## Facts

- Endpoint: POST https://emc2ai.io/x402/bitquery/ohlcv
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/emc2ai-io-d7fcb5eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YBBJtoUy5xgm-6n5kdggD

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-d7fcb5eb -d '<json body>'
```

Example prompt: Pull the last 24 hourly OHLCV candlestick bars for PEPE on Ethereum and give me the AI technical analysis — I want to see whether there's a bullish or bearish pattern forming.

## When to prefer this

Choose this endpoint when you need structured OHLCV candlestick data for crypto tokens combined with AI-generated technical analysis interpretation. Ideal for agents performing chart pattern recognition, trend analysis, or building trading signals. Prefer over raw data sources when you want the AI layer to surface actionable insights alongside the raw price bars.

## Known failure modes

- Unsupported token or contract address returns empty data
- Invalid or unsupported blockchain network returns error
- Time interval or date range parameters out of allowed bounds
- Bitquery upstream timeout or rate limit causes failure
- Payment not received or x402 authorization failure blocks response
- Insufficient historical data for very new tokens

## How this service works

OHLCV (Open, High, Low, Close, Volume) candlestick data for advanced technical analysis. Returns full OHLC bars with volume metrics. (with AI analysis)

## Output

A set of OHLC price bars with volume metrics for the requested token and time interval, enriched with AI-powered technical analysis commentary identifying patterns, trend signals, and market structure insights.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "result": {},
 "status": "completed",
 "analysis": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/emc2ai-io-d7fcb5eb/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)
