# Crypto Market Top Coins

> Crypto Market Top Coins is a paid API for AI agents from market-data-x402-5wh8-ivory.vercel.app, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-15).

Returns top cryptocurrencies by market cap, top gainers, and top losers for a configurable number of coins

## Facts

- Endpoint: GET https://market-data-x402-5wh8-ivory.vercel.app/api/crypto/top
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-market-top-coins-bcea62cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f16a4Wzcs0jkFPYMao4Q4

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-top-coins-bcea62cc
```

Example prompt: Show me the top 20 cryptocurrencies right now — I want to see which ones are gaining the most, which are losing the most, and how they rank by market cap.

## When to prefer this

Use this endpoint when you need a quick, ranked overview of the cryptocurrency market including gainers, losers, and market cap leaders in a single call. Prefer it over individual coin lookup endpoints when you need a market-wide leaderboard rather than data on a specific asset.

## Known failure modes

- limit parameter missing or out of range (1-50) may cause validation error
- service unavailability on the Vercel deployment could return 5xx errors
- stale or delayed market data if upstream data provider has latency
- payment of $0.006 USDC required per call; unpaid requests return 402

## How this service works

Pay-per-request crypto &amp; stock market data for AI agents and developers, settled in USDC on Base via x402.

## Output

A JSON object containing three arrays: top_gainers (coins with the highest price increases), top_losers (coins with the largest price drops), and top_by_market_cap (coins ranked by total market capitalization), each containing up to the requested number of coins with relevant price and market data.

## 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": [
      "limit"
     ],
     "properties": {
      "limit": {
       "type": "string",
       "description": "Number of coins to return (1-50)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "top_losers": [],
  "top_gainers": [],
  "top_by_market_cap": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-market-top-coins-bcea62cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market-data-x402-5wh8-ivory.vercel.app](https://www.zero.xyz/host/market-data-x402-5wh8-ivory.vercel.app/llms.txt)
