# Cryptocurrency Single Price Lookup (CoinGecko)

> Cryptocurrency Single Price Lookup (CoinGecko) is a paid API for AI agents from currency-api-production-4a8d.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current price, market cap, and 24-hour change for a single cryptocurrency by symbol or name, quoted in a specified fiat currency.

## Facts

- Endpoint: POST https://currency-api-production-4a8d.up.railway.app/crypto/price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptocurrency-single-price-lookup-coingecko-e8467531
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F612ITuAGeWTmvfq8_R6D

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 cryptocurrency-single-price-lookup-coingecko-e8467531 -d '<json body>'
```

Example prompt: What's the current price and market cap of Ethereum in USD, and how much has it moved in the last 24 hours?

## When to prefer this

Use this endpoint when you need real-time pricing data for a single cryptocurrency, including market cap and 24-hour movement. Prefer this over the batch endpoint when querying just one coin to minimize cost. Choose this over generic finance APIs when CoinGecko's extensive crypto coverage (including small-cap altcoins) is needed.

## Known failure modes

- Unknown or misspelled coin symbol/name returns an error or empty result
- Unsupported vs_currency code causes a validation error
- CoinGecko API rate limiting or downtime causes upstream failures
- Ambiguous coin name matching multiple assets may return unexpected results

## How this service works

Current price, market cap, and 24h change for a single cryptocurrency by symbol or name (CoinGecko).

## Output

Returns the current price, market capitalization, and 24-hour price change (absolute and/or percentage) for the requested cryptocurrency in the specified quote currency, sourced from CoinGecko.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "coin": {
   "type": "string",
   "description": "Cryptocurrency symbol or name, e.g. 'bitcoin', 'btc', or 'ethereum'."
  },
  "vs_currency": {
   "type": "string",
   "description": "Quote currency code, e.g. 'usd'. Defaults to usd if omitted."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptocurrency-single-price-lookup-coingecko-e8467531/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from currency-api-production-4a8d.up.railway.app](https://www.zero.xyz/host/currency-api-production-4a8d.up.railway.app/llms.txt)
