# x402 APIs - Crypto Price Data

> x402 APIs - Crypto Price Data is a paid API for AI agents from x402-apis-eta.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns current cryptocurrency price and market data for a specified coin in a given fiat currency, paid per-request via x402 micropayment protocol

## Facts

- Endpoint: GET https://x402-apis-eta.vercel.app/api/data/crypto
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-apis-crypto-price-data-2d52f8d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nvfULjrn7sMdsaPfxPBbj

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 x402-apis-crypto-price-data-2d52f8d8
```

Example prompt: What's the current price of Bitcoin in USD? Use the CoinGecko-backed crypto data endpoint — coin ID is 'bitcoin', currency is 'usd'.

## When to prefer this

Prefer this endpoint when you need a quick, one-off cryptocurrency price lookup without wanting to manage API keys or account subscriptions — ideal for AI agents that can handle x402 micropayments and need on-demand crypto pricing with minimal setup overhead.

## Known failure modes

- Invalid or unknown CoinGecko coin ID returns an error or empty result
- Unsupported fiat currency code returns an error
- Payment of 0.005 USDC not provided or rejected causes HTTP 402 response
- CoinGecko upstream downtime causes service unavailability
- Network timeout on Vercel edge infrastructure

## How this service works

AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.

## Output

Returns the current price and market data for the specified cryptocurrency (identified by CoinGecko coin ID) denominated in the requested fiat currency. Likely includes price, possibly market cap, volume, and price change data.

## Example request

```json
{
 "coin": "bitcoin",
 "currency": "usd"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "coin": {
   "type": "string",
   "description": "CoinGecko coin ID"
  },
  "currency": {
   "type": "string",
   "description": "Fiat currency"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-apis-crypto-price-data-2d52f8d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-apis-eta.vercel.app](https://www.zero.xyz/host/x402-apis-eta.vercel.app/llms.txt)
