# Crypto Market Data – Live Top Coins by Market Cap

> Crypto Market Data – Live Top Coins by Market Cap is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Returns live price, market cap, 24h change, and volume for the top N cryptocurrencies ranked by market cap, sourced from CoinGecko.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/crypto-markets?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-market-data-live-top-coins-by-market-cap-47554035
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iHKf4S1FDRT6au9PIYGU6

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 crypto-market-data-live-top-coins-by-market-cap-47554035
```

Example prompt: Pull a live snapshot of the top 50 cryptocurrencies ranked by market cap and show me their prices, 24h changes, and volumes — quote everything in USD.

## When to prefer this

Choose this endpoint when you need a broad, ranked overview of the entire crypto market — top coins by market cap with price, volume, and 24h change — rather than deep data on a specific Base token address. It is the right first call before any trading decision, portfolio rebalancing, or market-awareness task where you need the global leaderboard rather than a single asset or DEX pair.

## Known failure modes

- Invalid vs currency code returns an error or empty results
- limit above 100 may be rejected or capped
- Upstream CoinGecko outage causes stale or missing data
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Live cross-asset market data: the top coins ranked by market cap with price, market cap, 24h change and volume (CoinGecko). The global snapshot an agent reads before trading — our other price tools are Base-token-address based; this is the whole market. Pass limit= (up to 100) and vs= (usd/eur/…). Not financial advice.

## Output

A ranked list of up to 100 cryptocurrencies, each with: coin name, symbol, current price in the requested quote currency, total market cap, 24h percentage price change, and 24h trading volume. Data is sourced live from CoinGecko.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "vs": {
       "type": "string",
       "description": "Quote currency (default usd)"
      },
      "limit": {
       "type": "string",
       "description": "How many coins (default 20, max 100)"
      }
     }
    }
   },
   "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/crypto-market-data-live-top-coins-by-market-cap-47554035/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
