# AgentTools Crypto Price (CoinGecko)

> AgentTools Crypto Price (CoinGecko) is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns live cryptocurrency prices in USD/EUR/GBP/JPY plus 24-hour percent change for any coin by CoinGecko ID or common ticker, cached 60 seconds.

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/crypto/price?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-crypto-price-coingecko-77c476c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e9BPEyy8vY2u2622lz6dc

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 agenttools-crypto-price-coingecko-77c476c2
```

Example prompt: What's the current price of Bitcoin and Ethereum in USD, and how much have they moved in the last 24 hours?

## When to prefer this

Choose this endpoint when an agent needs real-time or near-real-time cryptocurrency prices with 24-hour change data sourced from CoinGecko, and the required quote currency is USD, EUR, GBP, or JPY. It is well-suited for portfolio dashboards, alert systems, or any workflow needing quick coin price lookups by CoinGecko ID or standard ticker. Prefer alternatives if you need historical OHLCV data, order book depth, or quote currencies beyond the four supported ones.

## Known failure modes

- Unknown coin ID or ticker returns an empty result or error indicating the coin was not found
- Invalid or unsupported quote currency (not usd/eur/gbp/jpy) causes a validation error
- CoinGecko upstream rate limit or outage results in a 5xx or timeout response
- Missing required 'ids' query parameter causes a 400 bad request error
- Stale data possible within the 60-second cache window — price may lag by up to one minute

## How this service works

Live cryptocurrency prices from CoinGecko's public API: current price in USD/EUR/GBP/JPY plus 24-hour change for any coin by id or common ticker (btc, eth, sol…). Cached 60 seconds. Use this when an agent needs to live token prices and 24h change via CoinGecko.

## Output

Returns a JSON object keyed by coin ID containing the current price in the requested quote currency (usd, eur, gbp, or jpy) and the 24-hour price change percentage, sourced from CoinGecko and cached for up to 60 seconds.

## 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": {
       "enum": [
        "usd",
        "eur",
        "gbp",
        "jpy"
       ],
       "type": "string",
       "description": "Quote currency"
      },
      "ids": {
       "type": "string",
       "description": "Coin ids or tickers"
      }
     }
    }
   },
   "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/agenttools-crypto-price-coingecko-77c476c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
