# Crypto Prices by CoinGecko ID

> Crypto Prices by CoinGecko ID is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-03).

Returns current price, 24-hour change, and market cap for up to 25 cryptocurrencies in up to 5 currencies using CoinGecko IDs

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/crypto/price?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-crypto-prices-by-coingecko-id-8d989483
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lJabQBl9Vi5NdMuW3CZJe

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 agent-data-tools-revmesh2074-workers-dev-crypto-prices-by-coingecko-id-8d989483
```

Example prompt: What are the current prices of bitcoin, ethereum, and solana in USD and EUR, including their 24-hour change and market cap?

## When to prefer this

Use this endpoint when you need off-chain cryptocurrency prices (coins listed on CoinGecko but not necessarily available as on-chain tokens), when you need to value a portfolio across multiple fiat or crypto currencies simultaneously, or when 24-hour change and market cap data are needed alongside price. Prefer this over on-chain token price tools for coins like bitcoin that don't exist as EVM tokens, or when multi-currency output is required in a single call.

## Known failure modes

- Invalid or misspelled CoinGecko ID returns empty or missing data for that coin
- Requesting more than 25 coin IDs or more than 5 currencies may exceed limits
- Unsupported currency code returns no data for that currency
- Network or upstream CoinGecko outage may return stale or error response
- Missing required 'ids' parameter returns a validation error

## How this service works

Current price of up to 25 cryptocurrencies by CoinGecko id (bitcoin, ethereum, solana, usd-coin…) in up to 5 currencies, with the 24-hour change (from Coinbase for the coins it trades; tickers such as BTC work too). Use to price coins that are not on-chain tokens, value a portfolio in several currencies, or check a move.

## Output

A JSON object with a 'prices' key mapping each requested CoinGecko coin ID to an object containing the current price, 24-hour percentage change, and market cap in each requested currency (e.g. usd, eur). Also includes a 'source' string indicating the data provider.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ids"
 ],
 "properties": {
  "vs": {
   "type": "string",
   "description": "Comma-separated currencies (default usd)"
  },
  "ids": {
   "type": "string",
   "description": "Comma-separated CoinGecko ids"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prices": {
   "type": "object",
   "properties": {
    "bitcoin": {
     "type": "object",
     "properties": {
      "usd": {
       "type": "number"
      },
      "usd_24h_change": {
       "type": "number"
      },
      "usd_market_cap": {}
     }
    },
    "ethereum": {
     "type": "object",
     "properties": {
      "usd": {
       "type": "number"
      },
      "usd_24h_change": {
       "type": "number"
      },
      "usd_market_cap": {}
     }
    }
   }
  },
  "source": {
   "type": "string"
  },
  "missing": {
   "type": "array",
   "items": {}
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-crypto-prices-by-coingecko-id-8d989483/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
