# HTTPay Token Price (CoinGecko)

> HTTPay Token Price (CoinGecko) is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Returns the live USD price and 24h market data for a given cryptocurrency token symbol, sourced from CoinGecko

## Facts

- Endpoint: POST https://httpay.xyz/api/token-price/NOTAREALCOIN?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Success rate: 0% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-token-price-coingecko-ad19316c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uNdzUzEzhPI74-wNMTmsK

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 httpay-token-price-coingecko-ad19316c -d '<json body>'
```

Example prompt: What is the current price of ETH right now, including its 24-hour change and market cap?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call USD price lookup for a crypto token without managing a CoinGecko API key. Ideal for agents that need spot prices plus 24h change, market cap, and volume in a single call at very low cost ($0.005 USDC). Prefer over alternatives when operating in a x402/USDC micropayment context or when avoiding subscription-based API key management.

## Known failure modes

- Unknown or unsupported token symbol (e.g. NOTAREALCOIN) may return an error or empty result
- CoinGecko upstream unavailability may cause stale or failed responses
- Payment failure (insufficient USDC) blocks the request before it reaches CoinGecko
- Malformed symbol input may return a 400 bad request

## How this service works

Live token price in USD from CoinGecko

## Output

A JSON object containing the token's current USD price (e.g. '$3200.50'), the 24h percentage price change, total market cap, 24h trading volume, the token symbol, and the data source (CoinGecko).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-token-price-coingecko-ad19316c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
