# CoinGecko Crypto Price Lookup via SiteCheck

> CoinGecko Crypto Price Lookup via SiteCheck is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Fetches current prices and 24-hour price change percentages for up to 10 cryptocurrencies by CoinGecko ID, quoted in a specified fiat currency

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/coingecko?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-crypto-price-lookup-via-sitecheck-c7693920
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lJYqGmavgFxJcsKf_2NiS

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-lookup-via-sitecheck-c7693920
```

Example prompt: What are the current prices 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 you need current spot prices and 24-hour change data for one or more specific cryptocurrencies by their CoinGecko ID, without needing to sign up for an API key. It is ideal for pay-per-call agent workflows where you want to avoid subscription overhead and only pay $0.002 USDC per lookup. Prefer it over direct CoinGecko API calls when your agent operates in an x402 micropayment environment.

## Known failure modes

- Invalid or misspelled CoinGecko coin ID returns an error or empty result
- Requesting more than 10 coin IDs may be rejected or return partial results
- Unsupported quote currency code returns an error
- CoinGecko upstream downtime causes fetch failure
- x402 payment failure results in no charge and no data returned

## How this service works

CoinGecko spot prices for up to 10 coins (by CoinGecko id, e.g. bitcoin,ethereum) in one currency, with 24h change. Prices are CoinGecko's aggregated spot prices; no history.

## Output

Returns a JSON object containing the quote currency, an array of coin objects each with their CoinGecko ID, current price, and 24-hour percentage change, plus the CoinGecko source URL and the timestamp when the data was checked.

## 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": {
       "type": "string",
       "description": "Quote currency code, e.g. usd, eur (default usd)"
      },
      "ids": {
       "type": "string",
       "description": "Comma-separated CoinGecko ids, up to 10 (e.g. bitcoin,ethereum)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "vs": "usd",
  "coins": [
   {
    "id": "bitcoin",
    "price": 81556,
    "change24h": -0.2
   },
   {
    "id": "ethereum",
    "price": 2393.07,
    "change24h": -0.26
   }
  ],
  "source": "https://api.coingecko.com/api/v3/simple/price",
  "checkedAt": "2026-10-23T09:36:12.941Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-crypto-price-lookup-via-sitecheck-c7693920/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
