# Top Crypto by Market Cap

> Top Crypto by Market Cap is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Returns the top cryptocurrencies ranked by market cap (up to 250) with price, percentage changes, volume, all-time high, and supply data, optionally filtered by CoinGecko category.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/crypto/top-coins?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/top-crypto-by-market-cap-18dc793c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_95FyZj0cqxGTzTG-XjBCz

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 top-crypto-by-market-cap-18dc793c
```

Example prompt: Give me the top 50 cryptocurrencies by market cap right now, including their price, 24h change, and volume — and filter it to just layer-1 tokens.

## When to prefer this

Use this endpoint when you need a ranked market overview or sector screener across the top cryptocurrencies — especially when you want category filtering (layer-1, meme tokens, AI tokens, RWA) alongside standard market metrics like price change and volume. Prefer this over single-coin profile endpoints when comparing multiple assets or building dashboards.

## Known failure modes

- Invalid category id returns empty results or error — must use valid CoinGecko category slug
- Limit out of range (below 1 or above 250) may return an error or be clamped
- Rate limiting or upstream CoinGecko API unavailability may cause 5xx errors
- Stale data if CoinGecko feed is delayed

## How this service works

Top cryptocurrencies by market cap (up to 250) with price, 1h/24h/7d change, volume, all-time high and supply, optionally within a CoinGecko category (layer-1, meme-token, artificial-intelligence, real-world-assets). Use for market overviews and screeners.

## Output

A ranked list of up to 250 cryptocurrencies, each including coin name, symbol, current price in USD, percentage price changes over 1 hour / 24 hours / 7 days, 24-hour trading volume, all-time high price, circulating supply, and market capitalization — optionally scoped to a specific CoinGecko category such as layer-1, meme-token, artificial-intelligence, or real-world-assets.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Maximum number of results (1-250)"
      },
      "category": {
       "type": "string",
       "description": "CoinGecko category id, e.g. meme-token"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/top-crypto-by-market-cap-18dc793c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
