# x402node OHLCV Candlestick Chart Data for DEX Pairs

> x402node OHLCV Candlestick Chart Data for DEX Pairs is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-10-22).

Returns OHLCV (open, high, low, close, volume) candlestick data for a DEX trading pair across multiple timeframes (1h, 4h, 1d, 1w) for technical analysis

## Facts

- Endpoint: GET https://api.x402node.dev/market/token-chart?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402node-ohlcv-candlestick-chart-data-for-dex-pairs-5ad8f0fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jRhnic7Yxb8mvFG9yl3dz

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 x402node-ohlcv-candlestick-chart-data-for-dex-pairs-5ad8f0fe
```

Example prompt: Pull the 4-hour OHLCV candlestick data for the WETH/USDC pair on that DEX so I can run a support and resistance analysis on recent price action.

## When to prefer this

Choose this endpoint when you need structured OHLCV candlestick data for a DEX trading pair to run technical analysis, identify support and resistance levels, or build price charts. Prefer this over general price endpoints when you need historical candle series with volume data across multiple timeframes rather than a single spot price.

## Known failure modes

- Invalid or unsupported token/pair address returns an error
- Unsupported timeframe value outside 1h/4h/1d/1w returns a validation error
- Missing or invalid API key returns 401/402 unauthorized
- No data available for the requested pair returns empty dataset
- Rate limit exceeded returns 429 error

## How this service works

OHLCV candlestick chart data for a DEX pair across timeframes (1h/4h/1d/1w) - open, high, low, close and volume per candle for agents running technical analysis on price trends, support and resistance, real-time data behind an API key. ohlc, candlestick, price chart, kline, technical analysis, candle data, ohlcv, chart data

## Output

An array of OHLCV candlestick records for the requested DEX pair and timeframe, each containing open, high, low, close prices and volume per candle interval, suitable for technical analysis of price trends.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "pair"
     ],
     "properties": {
      "pair": {
       "type": "string",
       "description": "DEX pair address (required)"
      },
      "chain": {
       "type": "string",
       "description": "base (default), eth, arbitrum, optimism, polygon"
      },
      "limit": {
       "type": "string",
       "description": "Number of candles, default 24, max 100"
      },
      "timeframe": {
       "type": "string",
       "description": "1h (default), 4h, 1d, 1w"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402node-ohlcv-candlestick-chart-data-for-dex-pairs-5ad8f0fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
