# CoinGecko Simple Price

> CoinGecko Simple Price is a paid API for AI agents from pro-api.coingecko.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns the current price of one or more cryptocurrencies in any supported fiat or crypto currency.

## Facts

- Endpoint: GET https://pro-api.coingecko.com/api/v3/x402/simple/price?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-c75a5e1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oPRGwxN7RZHFnIUpHtI1E

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

Example prompt: What's the current CoinGecko price of Bitcoin and Ethereum in USD right now?

## When to prefer this

Use this endpoint when you need a fast, simple spot price for one or more well-known cryptocurrencies by CoinGecko coin ID in a standard fiat or crypto currency. Prefer this over on-chain DEX endpoints when dealing with major coins (BTC, ETH, SOL, etc.) rather than long-tail tokens, or when you don't have a contract address and only know the coin name or CoinGecko ID.

## Known failure modes

- Invalid coin ID returns empty or error response
- Unsupported currency code returns 400 error
- Rate limit exceeded returns 429 error
- Network timeout if CoinGecko API is under load
- Missing required parameters (ids, vs_currencies) returns 400

## How this service works

Get current price of coins in any supported currency.

## Output

A JSON map of coin IDs to their current prices in the requested currency (e.g. {"bitcoin":{"usd":67000},"ethereum":{"usd":3500}}). Each entry contains the price value keyed by the currency code.

## Example request

```json
{
 "ids": "bitcoin,ethereum",
 "vs_currencies": "usd"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ids",
  "vs_currencies"
 ],
 "properties": {
  "ids": {
   "type": "string"
  },
  "vs_currencies": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "bitcoin",
  "ethereum"
 ],
 "properties": {
  "bitcoin": {
   "type": "object",
   "required": [
    "usd"
   ],
   "properties": {
    "usd": {
     "type": "number"
    }
   }
  },
  "ethereum": {
   "type": "object",
   "required": [
    "usd"
   ],
   "properties": {
    "usd": {
     "type": "number"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-c75a5e1f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pro-api.coingecko.com](https://www.zero.xyz/host/pro-api.coingecko.com/llms.txt)
