# x402 Crypto Market Data

> x402 Crypto Market Data is a paid API for AI agents from x402tap.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns rich market data for one or more cryptocurrencies, including rank, 24h high/low, volume, ATH, and more, billed per call via x402

## Facts

- Endpoint: GET https://x402tap.com/api/crypto-market?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-crypto-market-data-950280a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ea0W-VKsqrXIMk64_2gAt

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-market-data-950280a7
```

Example prompt: Pull up full market data for bitcoin and ethereum in USD — I need the rank, 24h high and low, volume, market cap, and how far each is from its all-time high.

## When to prefer this

Prefer this endpoint when you need comprehensive market statistics beyond just current price — specifically when you need ATH data, 24h high/low, circulating supply, or rank for one or more coins in a single call. Use the sibling crypto-price endpoint for lightweight price-only lookups. This endpoint is best when building dashboards, portfolio summaries, or comparative analyses requiring multiple data points per coin.

## Known failure modes

- Invalid or misspelled CoinGecko coin ID returns empty or error result
- Unsupported quote currency may default to USD or return an error
- Rate limiting or upstream CoinGecko outage may cause delayed or failed responses
- Payment failure via x402 protocol blocks the request before execution

## How this service works

Rich market data for one or more cryptocurrencies: rank, 24h high/low, volume, ATH, and more

## Output

A JSON object with the quote currency and an array of coin objects, each containing: coin ID, name, symbol, rank, current price, 24h high, 24h low, 24h volume, 24h change percentage, market cap, circulating supply, all-time high price, and ATH change percentage.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ids"
     ],
     "properties": {
      "vs": {
       "type": "string",
       "description": "Quote currency, e.g. \"usd\", \"eur\" (default usd)"
      },
      "ids": {
       "type": "string",
       "description": "Comma-separated CoinGecko coin ids, e.g. \"bitcoin,ethereum\""
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "vs": "usd",
  "coins": [
   {
    "id": "bitcoin",
    "name": "Bitcoin",
    "rank": 1,
    "price": 63151,
    "low24h": 61890,
    "symbol": "btc",
    "high24h": 63980,
    "athPrice": 108786,
    "marketCap": 1267177736333,
    "volume24h": 28123456789,
    "athChangePct": -41.9,
    "change24hPct": -0.2,
    "circulatingSupply": 19780000
   }
  ],
  "count": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-crypto-market-data-950280a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402tap.com](https://www.zero.xyz/host/x402tap.com/llms.txt)
