# CoinGecko Markets – Paginated Crypto Market Data

> CoinGecko Markets – Paginated Crypto Market Data 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 a paginated list of top cryptocurrencies ranked by market cap, including price, market-cap rank, and symbol in any target currency, sourced from CoinGecko.

## Facts

- Endpoint: GET https://coingecko.use.x402atlas.com/markets
- 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-markets-paginated-crypto-market-data-b544f041
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pXRo9MiiAdYqphpQQQPi3

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-markets-paginated-crypto-market-data-b544f041
```

Example prompt: Show me the top 50 cryptocurrencies ranked by market cap in EUR — pull the first page from CoinGecko's markets endpoint.

## When to prefer this

Use this endpoint when you need a ranked, paginated list of top cryptocurrencies by market cap — ideal for leaderboards, portfolio screeners, or market overviews. Prefer this over the spot-price endpoint when you need rank, symbol, and price together for many coins at once, and over the trending endpoint when you want market-cap ranking rather than search popularity.

## Known failure modes

- Invalid vs_currency code returns an error or empty results
- page or per_page out of allowed range (per_page must be 1–250, page >= 1) returns a validation error
- Payment failure (402) if USDC payment is not properly attached
- Rate limiting if called too frequently
- Empty result set if page number exceeds available data

## How this service works

Top crypto coins ranked by market cap — paginated market data (price, market-cap rank, symbol) in any currency, CoinGecko-sourced.

## Output

A paginated list of cryptocurrencies sorted by market-cap rank, each entry including the coin's name, symbol, current price in the requested currency, market cap, and market-cap rank. Results are sourced from CoinGecko and support up to 250 rows per page.

## 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",
     "properties": {
      "page": {
       "type": "integer",
       "default": 1,
       "maximum": 1000,
       "minimum": 1,
       "description": "Page number, 1-1000 (default: 1)"
      },
      "per_page": {
       "type": "integer",
       "default": 50,
       "maximum": 250,
       "minimum": 1,
       "description": "Rows per page, 1-250 (default: 50)"
      },
      "vs_currency": {
       "type": "string",
       "default": "usd",
       "description": "Target currency code (default: usd)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "queried_at",
      "vs_currency",
      "page",
      "per_page",
      "markets"
     ],
     "properties": {
      "page": {
       "type": "integer",
       "description": "Page number returned"
      },
      "markets": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "id",
         "symbol",
         "name"
        ],
        "properties": {
         "id": {
          "type": "string",
          "description": "CoinGecko coin id slug"
         },
         "ath": {
          "type": "number",
          "description": "All-time high price"
         },
         "name": {
          "type": "string",
          "description": "Coin name"
         },
         "image": {
          "type": "string",
          "description": "URL of the coin's logo image"
         },
         "symbol": {
          "type": "string",
          "description": "Ticker symbol"
         },
         "low_24h": {
          "type": "number",
          "description": "24h low price"
         },
         "high_24h": {
          "type": "number",
          "description": "24h high price"
         },
         "market_cap": {
          "type": "number",
          "description": "Market cap"
         },
         "max_supply": {
          "type": "number",
          "description
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "page": 1,
  "markets": [
   {
    "id": "bitcoin",
    "name": "Bitcoin",
    "symbol": "btc",
    "current_price": 67000,
    "market_cap_rank": 1
   }
  ],
  "per_page": 10,
  "queried_at": "2026-06-08T12:00:00Z",
  "vs_currency": "usd"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-markets-paginated-crypto-market-data-b544f041/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)
