# Crypto Market Data (CoinGecko, Batched)

> Crypto Market Data (CoinGecko, Batched) is a paid API for AI agents from x402-stock-indicators.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Returns rich market data for BTC, ETH, SOL, and 17+ major cryptocurrencies in a single call: price, market cap, rank, 24h volume/high/low/change, supply figures, and all-time-high with date.

## Facts

- Endpoint: GET https://x402-stock-indicators.vercel.app/crypto-prices?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-market-data-coingecko-batched-dd6c232f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_01-QpTnhQpo9cDWnIzqsQ

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-market-data-coingecko-batched-dd6c232f
```

Example prompt: Pull the full market data snapshot for BTC, ETH, and SOL — I want price, market cap, 24h volume, 24h high/low, circulating supply, and all-time-high with date for each.

## When to prefer this

Choose this endpoint when you need rich, multi-field market data for multiple cryptocurrencies in a single call — especially when you need market cap, supply figures, or all-time-high data that plain price APIs omit. It is better than generic stock-data APIs whose crypto tickers often return null market cap, and better than calling multiple single-coin endpoints when you need data for several assets at once.

## Known failure modes

- Unsupported ticker symbol returns null or missing entry for that coin
- Network or upstream CoinGecko outage causes 5xx error
- Malformed symbols query param returns 400 bad request
- Payment failure or expired x402 token results in 402 response

## How this service works

Real crypto market data in one batched call: price, market cap, market-cap rank, 24h volume/high/low/change, circulating/total/max supply, and all-time-high with date -- for BTC, ETH, SOL, and 17+ other major coins by ticker. Richer than a plain price feed: most stock-data APIs' crypto tickers report null market cap. From CoinGecko. $0.005/call.

## Output

A batched JSON response keyed by ticker symbol, each containing: current price, market cap (USD), market cap rank, 24h trading volume, 24h high, 24h low, 24h price change percentage, circulating supply, total supply, max supply, all-time-high price, and all-time-high date.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbols"
     ],
     "properties": {
      "symbols": {
       "type": "string",
       "description": "Comma-separated ticker symbols, e.g. BTC,ETH,SOL"
      }
     }
    }
   },
   "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-market-data-coingecko-batched-dd6c232f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-stock-indicators.vercel.app](https://www.zero.xyz/host/x402-stock-indicators.vercel.app/llms.txt)
