# CoinGecko Crypto Price & 24h Change Summary

> CoinGecko Crypto Price & 24h Change Summary is a paid API for AI agents from task-radar-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns current price and 24-hour percentage change for one or more cryptocurrencies by CoinGecko ID, paid per call via x402 on Base.

## Facts

- Endpoint: GET https://task-radar-x402.vercel.app/api/price?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-crypto-price-24h-change-summary-e4b91aa7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D9eW53aAFCVUnEvszWga8

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 coingecko-crypto-price-24h-change-summary-e4b91aa7
```

Example prompt: Can you pull the current prices and 24-hour changes for bitcoin, ethereum, and solana right now?

## When to prefer this

Choose this endpoint when you need current price and 24h change data for named cryptocurrencies identified by CoinGecko slug (e.g. 'bitcoin', 'ethereum', 'solana'). Prefer it over contract-address-based price endpoints when you already know the CoinGecko IDs. Use sibling endpoints if you need price by contract address (DefiLlama), trending coins, or DEX pool data instead.

## Known failure modes

- Invalid or misspelled CoinGecko IDs return no data for that coin
- Requesting more than 25 IDs at once may result in an error or truncated response
- CoinGecko rate limits or downtime cause upstream failures
- Payment failure on Base network blocks the request with a 402 response
- Empty or missing 'ids' query parameter may return an error or empty result

## How this service works

Crypto price + 24h change summary (CoinGecko). 0.01 USDC/call on Base.

## Output

Returns current USD price and 24-hour change (absolute and/or percentage) for each requested coin, keyed by CoinGecko ID. Up to 25 coins can be queried per call.

## 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "ids": {
       "type": "string",
       "description": "Comma-separated CoinGecko ids, max 25 (e.g. bitcoin,ethereum,solana)"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-crypto-price-24h-change-summary-e4b91aa7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-radar-x402.vercel.app](https://www.zero.xyz/host/task-radar-x402.vercel.app/llms.txt)
