# CoinGecko Coin Metadata & Market Data by ID

> CoinGecko Coin Metadata & Market Data by ID is a paid API for AI agents from coingecko.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns detailed metadata and market data for a specific crypto coin by its CoinGecko ID slug, including name, symbol, market-cap rank, price, homepage, and categories.

## Facts

- Endpoint: GET https://coingecko.use.x402atlas.com/coin
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-coin-metadata-market-data-by-id-e3feaf3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_74sOb1gPLJGJ1GoJpb2kH

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-metadata-market-data-by-id-e3feaf3d
```

Example prompt: Can you pull up the CoinGecko metadata for 'uniswap' — I need its market-cap rank, categories, and official homepage?

## When to prefer this

Use this endpoint when you need rich, structured metadata for a single known coin — including its categories, homepage, and market-cap rank — and you already know its CoinGecko ID slug. Prefer this over the price endpoint when you need more than just a spot price, and over the market-cap ranking list when you need detail on a specific coin rather than a ranked overview.

## Known failure modes

- Invalid or unknown CoinGecko ID slug returns a 4xx error
- Coin ID is misspelled or uses the coin's symbol instead of slug (e.g. 'ETH' instead of 'ethereum')
- Rate limiting or payment failure results in 402 or 429 response
- Newly listed coins may not yet have full metadata populated

## How this service works

Crypto coin metadata and market data by CoinGecko id — name, symbol, market-cap rank, price, homepage and categories for any token.

## Output

A JSON object containing the coin's canonical name, ticker symbol, market-cap rank, current price, official homepage URL, and the CoinGecko category tags associated with the token.

## 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": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "CoinGecko coin id slug, lowercase letters/digits/hyphens, e.g. bitcoin"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "queried_at",
      "id",
      "symbol",
      "name",
      "market_data"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "CoinGecko coin id slug"
      },
      "name": {
       "type": "string",
       "description": "Coin name"
      },
      "image": {
       "type": "string",
       "description": "URL of the coin's large logo image"
      },
      "symbol": {
       "type": "string",
       "description": "Ticker symbol"
      },
      "homepage": {
       "type": "string",
       "description": "Project homepage URL"
      },
      "categories": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Project category labels"
      },
      "queried_at": {
       "type": "string",
       "format": "date-time",
       "description": "UTC timestamp the upstream was queried"
      },
      "market_data": {
       "type": "object",
       "properties": {
        "ath_usd": {
         "type": "number",
         "description": "All-time high price in USD"
        },
        "atl_usd": {
         "type": "number",
         "description": "All-time low price in USD"
        },
        "max_supply": {
         "type": "number",
         "description": "Max supply"
        },
        "total_supply": {
         "type": "number",
         "description": "Total supply"
        },
        "market_cap_usd": {
         "type": "number",
         "description": "Market cap in USD"
        },
        "total_volume_usd": {
         "type": "number",
         "description": "24h trading volume in USD"
        },
        "curren
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "bitcoin",
  "name": "Bitcoin",
  "image": "https://assets.coingecko.com/coins/images/1/large/bitcoin.png",
  "symbol": "btc",
  "homepage": "https://www.bitcoin.org",
  "categories": [
   "Cryptocurrency"
  ],
  "queried_at": "2026-06-08T12:00:00Z",
  "market_data": {
   "market_cap_usd": 1300000000000,
   "current_price_usd": 67000
  },
  "market_cap_rank": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-coin-metadata-market-data-by-id-e3feaf3d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coingecko.use.x402atlas.com](https://www.zero.xyz/host/coingecko.use.x402atlas.com/llms.txt)
