# Crypto Price History

> Crypto Price History is a paid API for AI agents from www.x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns daily price, market-cap, and volume history for major cryptocurrencies over a configurable lookback window via CoinGecko.

## Facts

- Endpoint: GET https://www.x402financialdata.com/crypto-history/:symbol
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-price-history-556b9e27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0J-yxbzePtm1iGp-2vMdT

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 crypto-price-history-556b9e27
```

Example prompt: Pull the last 90 days of price, market cap, and volume history for ETH from CoinGecko so I can analyze its trend.

## When to prefer this

Use this endpoint when you need structured historical price, market cap, and volume time series for a specific major cryptocurrency (BTC, ETH, SOL, or 17+ others) with configurable lookback windows up to 365 days. Prefer this over general market overview endpoints when you need per-coin historical data rather than a snapshot, and over equity /history endpoints when your subject is a crypto asset rather than a stock.

## Known failure modes

- Unsupported ticker symbol returns an error or empty result
- Requested 'days' value exceeds 365 maximum
- Missing required 'symbol' path parameter causes a 400 error
- CoinGecko upstream outage causes service unavailability
- Payment failure (x402) blocks the request

## How this service works

Daily price/market-cap/volume history for one coin -- the crypto analogue of /history, for BTC, ETH, SOL, and 17+ other major coins by ticker. Optional 'days' controls the lookback window (default 30, max 365); CoinGecko auto-picks point granularity from 'days' (roughly hourly under 90 days, daily above). From CoinGecko. $0.01/call.

## Output

A time series dataset containing daily (or hourly for windows under 90 days) price, market capitalization, and trading volume data for the requested cryptocurrency, sourced from CoinGecko. Granularity is automatically selected based on the requested lookback window.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Coin ticker, e.g. BTC, ETH, SOL"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "days": {
       "type": "integer",
       "description": "Lookback window in days, default 30, max 365."
      }
     }
    }
   },
   "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/crypto-price-history-556b9e27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.x402financialdata.com](https://www.zero.xyz/host/www.x402financialdata.com/llms.txt)
