# Crypto Price Lookup via CoinGecko

> Crypto Price Lookup via CoinGecko is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054001/call, status unknown (last checked 2026-09-14).

Returns current price, market cap, and trend data for any of 10,000+ cryptocurrencies in multiple fiat currencies, powered by CoinGecko.

## Facts

- Endpoint: GET https://api.strale.io/x402/crypto-price
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-bc86286e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LZ3mZAe_CN9LZBk27uA_w

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 api-strale-io-bc86286e
```

Example prompt: What's the current price and market cap of Solana in USD right now?

## When to prefer this

Use this endpoint when you need real-time cryptocurrency price and market cap data for any of 10,000+ coins in one or more fiat currencies. Prefer this over building a direct CoinGecko integration when you need a quick, pay-per-call lookup without managing API keys or rate limits.

## Known failure modes

- Unknown coin symbol or name — returns error if the coin parameter does not match a CoinGecko-recognized identifier
- Unsupported fiat currency in vs_currencies — may return empty or error if the currency code is invalid
- Rate limiting or CoinGecko API downtime — may return 5xx or timeout
- Missing required 'coin' query parameter — returns validation error

## How this service works

Get current cryptocurrency price, market cap, and trends via CoinGecko API. Supports 10,000+ coins. Multiple fiat currencies.

## Output

Returns the current price, market capitalization, and trend data for the requested cryptocurrency in the specified fiat currency (or USD by default), sourced from the CoinGecko API. Covers over 10,000 coins.

## Example request

```json
{
 "coin": "bitcoin",
 "vs_currencies": "usd"
}
```

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "coin"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "description": "Coin name/symbol (bitcoin, eth, sol)"
      },
      "vs_currencies": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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