# Xona Agent OHLCV Candle Data API (Base/EVM)

> Xona Agent OHLCV Candle Data API (Base/EVM) is a paid API for AI agents from api.xona-agent.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Returns OHLCV (Open, High, Low, Close, Volume) candlestick data for EVM/Base network tokens via the Tokens API

## Facts

- Endpoint: POST https://api.xona-agent.com/base-main/tokens-api/asset-ohlcv?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xona-agent-ohlcv-candle-data-api-base-evm-a78b2b04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6RgX1RiNFDZpnBXAeyOi0

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 xona-agent-ohlcv-candle-data-api-base-evm-a78b2b04 -d '<json body>'
```

Example prompt: Can you pull the OHLCV candlestick data for the token at address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base mainnet so I can analyze its recent price action?

## When to prefer this

Choose this endpoint when you need structured OHLCV candlestick data for a token on the Base/EVM network, particularly for DeFi analytics, trading signal generation, or price history visualization. It is purpose-built for Base mainnet assets and integrates with the x402 micropayment protocol, making it suitable for automated agent workflows that need per-call token price data without a subscription.

## Known failure modes

- Invalid or unrecognized token address returns an error or empty dataset
- Token not listed on supported DEX markets returns no data
- Malformed request body causes a 400 error
- Payment failure (x402) results in a 402 response and no data returned
- Rate limiting or quota exceeded may return a 429 error

## How this service works

OHLCV candle data via Tokens API (Base/EVM)

## Output

Returns OHLCV candlestick data for the specified EVM/Base token asset, including open, high, low, close prices and trading volume across time intervals, suitable for charting or quantitative analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xona-agent-ohlcv-candle-data-api-base-evm-a78b2b04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xona-agent.com](https://www.zero.xyz/host/api.xona-agent.com/llms.txt)
