# x402 Crypto Price API

> x402 Crypto Price API is a paid API for AI agents from x402.167-172-95-184.nip.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-10).

Returns real-time USD price, 24h change, market cap, and volume for a specified cryptocurrency, payable per-call with USDC on Base via x402

## Facts

- Endpoint: GET https://x402.167-172-95-184.nip.io/price/%7Bcoin%7D
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-crypto-price-api-0906be57
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WerChC6Cw6nzHJ8yHXrx8

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-crypto-price-api-0906be57
```

Example prompt: What's the current USD price of BTC, including its 24-hour change and market cap?

## When to prefer this

Use this endpoint when an AI agent needs real-time cryptocurrency price data for a single coin and can pay per-call in USDC via the x402 protocol on Base. Ideal for autonomous agents that need programmatic micropayment-gated market data without a subscription.

## Known failure modes

- Unsupported coin symbol returns an error or empty response
- Missing or failed USDC payment via x402 results in a 402 Payment Required response
- Invalid coin path parameter causes a 404 or bad request
- Network issues or provider downtime result in timeout or 5xx error

## How this service works

Agent-payable crypto price API. Free demo, paid routes from $0.01. Pay with USDC on Base via x402 protocol.

## Output

A JSON object containing the coin's ticker symbol, current USD price, network (Base), market capitalization, 24-hour trading volume, 24-hour percentage price change, and a Unix timestamp of the data.

## Response schema (JSON Schema)

```json
{
 "example": {
  "coin": "btc",
  "symbol": "BTC",
  "network": "base",
  "price_usd": 100000,
  "timestamp": 1780000000,
  "market_cap": 1980000000000,
  "volume_24h": 45000000000,
  "change_24h_pct": 1.23
 },
 "mimeType": "application/json",
 "description": "Current USD price, 24h change, market cap, and volume for a supported crypto asset."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-crypto-price-api-0906be57/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.167-172-95-184.nip.io](https://www.zero.xyz/host/x402.167-172-95-184.nip.io/llms.txt)
