# Asset Price Chart via Tokens API

> Asset Price Chart via Tokens API 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-12-03).

Returns historical price chart data for a crypto asset using the Tokens API on Base/EVM networks

## Facts

- Endpoint: POST https://api.xona-agent.com/tokens-api/asset-price-chart?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/asset-price-chart-via-tokens-api-b2175d2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RdXezQVt5-E2pG1WPHoE_

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 asset-price-chart-via-tokens-api-b2175d2c -d '<json body>'
```

Example prompt: Can you pull up the historical price chart data for the USDC token on Base mainnet so I can see how it has traded recently?

## When to prefer this

Use this endpoint when you need historical price chart data for a token on Base or EVM-compatible networks, especially when integrated into a workflow already using the Tokens API suite (which also offers asset risk, DEX markets, and mint descriptions on the same host). Prefer this over generic price APIs when operating in the Base/EVM ecosystem.

## Known failure modes

- Unknown or unsupported asset identifier returns empty or error response
- Invalid contract address returns a validation error
- Network or chain not supported returns an error
- Payment not received or x402 payment failure causes 402 response
- Malformed request body causes 400 bad request

## How this service works

Price chart via Tokens API

## Output

Returns historical price chart data for the specified asset, likely including timestamps and price values (OHLCV or close price series) suitable for charting or analysis on Base/EVM networks.

## 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/asset-price-chart-via-tokens-api-b2175d2c/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)
