# AgentTools Crypto Price

> AgentTools Crypto Price is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Returns live cryptocurrency prices in USD, EUR, GBP, or JPY plus 24-hour change for any coin by id or ticker via CoinGecko (60-second cache).

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/crypto/price?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-crypto-price-b112a237
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_96d-FOfsoU7MloNOrtmjl

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-b112a237
```

Example prompt: What's the live price of bitcoin and ethereum right now in USD, including how much they've moved in the last 24 hours?

## When to prefer this

Use this endpoint when an AI agent needs real-time (60-second cached) token prices and 24-hour change data from CoinGecko without managing API keys or rate limits. Prefer it for single or multi-coin lookups in any of the four supported fiat currencies. If you need historical OHLCV data, order books, or exchange-level depth, look for a more comprehensive market data API.

## Known failure modes

- Unknown coin id or ticker returns an empty result or 404 error
- Unsupported quote currency (outside usd/eur/gbp/jpy) returns a validation error
- CoinGecko upstream downtime or rate limiting causes a 503 or timeout
- Stale data if cache has not yet refreshed within the 60-second window
- Missing required 'ids' query parameter returns a 400 bad request

## 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 or ticker, each containing the current price in the requested currency (USD, EUR, GBP, or JPY) and the 24-hour percentage change. Data is sourced from CoinGecko and refreshed every 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-b112a237/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
