# Financial Data x402 – Crypto Price History

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

Returns historical price, volume, and market cap data for a given cryptocurrency symbol over the past 30 days, paid per-call with USDC via the x402 protocol.

## Facts

- Endpoint: GET https://x402financialdata.com/crypto-history/%7Bsymbol%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/financial-data-x402-crypto-price-history-4e413519
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4mZVY39_UMCenvlfpquaF

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 financial-data-x402-crypto-price-history-4e413519
```

Example prompt: Can you pull the 30-day historical price, volume, and market cap data for BTC? I want to see daily data points in USD without signing up for any service.

## When to prefer this

Choose this endpoint when you need historical cryptocurrency price, volume, and market cap data on a pay-per-call basis without committing to an API subscription or managing API keys. It is ideal for agents that need occasional or sporadic crypto data lookups billed in micropayments (USDC on Base or Solana). Prefer it over subscription-based data providers when usage is infrequent or cost-per-query economics are favorable.

## Known failure modes

- Invalid or unrecognized symbol returns an error or empty dataset
- Payment failure via x402 if wallet has insufficient USDC on Base or Solana
- Rate limiting or upstream CoinGecko outage resulting in stale or unavailable data
- Malformed symbol path parameter causing a 404 or bad request response

## How this service works

Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.

## Output

A JSON object containing the cryptocurrency symbol, CoinGecko ID, the vs_currency (usd), the number of days covered, the number of data points, and an array of time-series points each with a UTC timestamp, price in USD, trading volume, and market capitalization.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 30,
  "points": [
   {
    "t": "2026-07-10T00:00:00Z",
    "price": 63118.23,
    "volume": 15815981040.35,
    "market_cap": 1266456023316.78
   },
   {
    "t": "2026-08-09T05:14:10Z",
    "price": 65167.89,
    "volume": 12200124511.14,
    "market_cap": 1307784610884.24
   }
  ],
  "symbol": "BTC",
  "point_count": 2,
  "vs_currency": "usd",
  "coingecko_id": "bitcoin"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-data-x402-crypto-price-history-4e413519/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402financialdata.com](https://www.zero.xyz/host/x402financialdata.com/llms.txt)
