# CoinMarketCap Cryptocurrency Listings via SiteCheck

> CoinMarketCap Cryptocurrency Listings via SiteCheck is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Fetches a ranked list of top cryptocurrencies with live price, market cap, 24h volume, and percent change from CoinMarketCap

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/coinmarketcap?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinmarketcap-cryptocurrency-listings-via-sitecheck-b99bcae5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pBFP-BmUeNoZAG6S0b2HP

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 coinmarketcap-cryptocurrency-listings-via-sitecheck-b99bcae5
```

Example prompt: Pull the top 25 cryptocurrencies from CoinMarketCap right now — I need each coin's name, symbol, price in USD, market cap, 24-hour trading volume, and percent change.

## When to prefer this

Choose this endpoint when you need live CoinMarketCap-sourced cryptocurrency rankings without signing up for a CoinMarketCap API key; it's ideal for AI agents that need pay-per-call, no-credential access to top-coin price/market-cap data at low cost ($0.002 USDC per call) with x402 micropayment support across multiple chains.

## Known failure modes

- Invalid limit parameter (outside 1–100 range) may return an error or default behavior
- Payment failure via x402 results in no charge and no data returned
- CoinMarketCap upstream outage may cause stale or unavailable data
- Omitting required 'input' field returns a schema validation error
- Network timeout on the Cloudflare Worker may return a 5xx error

## How this service works

CoinMarketCap ranked crypto listing: name, symbol, USD price, market cap, 24h volume and 24h change for the top N coins. Read from the JSON that coinmarketcap.com itself loads (undocumented; can change without notice).

## Output

Returns a JSON object with an array of coins (up to the requested limit), each containing name, slug, symbol, priceUsd, marketCapUsd, volume24hUsd, and changePercent24h, plus a count, the source URL (CoinMarketCap API), and a checkedAt timestamp indicating when the data was retrieved.

## 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": [],
     "properties": {
      "limit": {
       "type": "string",
       "description": "How many coins, 1 to 100 (default 10)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "coins": [
   {
    "name": "CoinMarketCap 20 Index DTF",
    "slug": "coinmarketcap-20-index",
    "symbol": "CMC20",
    "priceUsd": 165.7414026935861,
    "marketCapUsd": 5652557.781488481,
    "volume24hUsd": 1018686.05977253,
    "changePercent24h": -0.09881069
   },
   {
    "name": "Bitcoin",
    "slug": "bitcoin",
    "symbol": "BTC",
    "priceUsd": 81524.67700056388,
    "marketCapUsd": 1638833759042.466,
    "volume24hUsd": 26209435036.17414,
    "changePercent24h": -0.20883282
   }
  ],
  "count": 5,
  "source": "https://api.coinmarketcap.com/data-api/v3/cryptocurrency/listing",
  "checkedAt": "2026-10-23T09:36:17.159Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinmarketcap-cryptocurrency-listings-via-sitecheck-b99bcae5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
