# CoinGecko Coin Data via Locus x402

> CoinGecko Coin Data via Locus x402 is a paid API for AI agents from coingecko.x402.paywithlocus.com, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-13).

Fetches comprehensive data for a specific cryptocurrency by coin ID, including market data, exchange tickers, sparkline, community, and developer stats via a pay-per-call x402 micropayment gateway.

## Facts

- Endpoint: POST https://coingecko.x402.paywithlocus.com/coingecko/coin-data
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-coin-data-via-locus-x402-7834225c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XVBozPyp-3GUpZRe6nZgm

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-coin-data-via-locus-x402-7834225c -d '<json body>'
```

Example prompt: Pull the full coin data for Ethereum from CoinGecko — include market data, exchange tickers, and sparkline — and tell me the current price and market cap.

## When to prefer this

Use this endpoint when you need rich, multi-dimensional data about a single coin by its CoinGecko ID — especially when you want market data, tickers, sparklines, or community/developer stats bundled in one call. Prefer this over simpler price APIs when depth of information matters. Ideal for agents that need to pay programmatically per query without managing API keys, using the x402 USDC micropayment model.

## Known failure modes

- Invalid coin ID returns empty or error data
- Payment insufficient or rejected — call does not complete
- Boolean flags ignored if coin data unavailable for that dimension
- Network timeout from upstream CoinGecko API
- Rate limiting if x402 payment not properly settled

## How this service works

Cryptocurrency market data — prices, charts, market cap, exchanges, trending coins, global stats, NFTs, derivatives, and on-chain data.

## Output

Returns a JSON object under the 'data' key containing the coin's full profile: current price across currencies, market cap, 24h volume, all-time high/low, exchange tickers, sparkline array, community metrics (Twitter followers, Reddit subscribers), developer stats (GitHub commits, forks), and localized name/description strings depending on which flags were set. Also includes x402 payment settlement details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string"
  },
  "tickers": {
   "type": "boolean"
  },
  "sparkline": {
   "type": "boolean"
  },
  "market_data": {
   "type": "boolean"
  },
  "localization": {
   "type": "boolean"
  },
  "community_data": {
   "type": "boolean"
  },
  "developer_data": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-coin-data-via-locus-x402-7834225c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coingecko.x402.paywithlocus.com](https://www.zero.xyz/host/coingecko.x402.paywithlocus.com/llms.txt)
