# CoinGecko Global Crypto Market Stats

> CoinGecko Global Crypto Market Stats is a paid API for AI agents from x402-data-api.sigrunner.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns a one-call global cryptocurrency market overview including total market cap, 24h volume, BTC dominance, ETH dominance, and active coin count via CoinGecko data.

## Facts

- Endpoint: GET https://x402-data-api.sigrunner.workers.dev/crypto/global?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-global-crypto-market-stats-87ad8d02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X7mYwJ6Hg1U8e_WWshzbh

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-global-crypto-market-stats-87ad8d02
```

Example prompt: Give me a quick global crypto market snapshot — total market cap, BTC and ETH dominance, 24h volume, and how many coins are active right now.

## When to prefer this

Choose this endpoint when you need a single, zero-parameter call to get a holistic snapshot of the entire cryptocurrency market. Ideal for dashboards, market briefings, or any agent workflow that needs BTC/ETH dominance and total market cap without specifying individual coins. Prefer over per-coin price endpoints when aggregate market health is the goal.

## Known failure modes

- CoinGecko upstream outage returns stale or error data
- x402 payment failure if USDC balance is insufficient (402 response)
- Rate limiting if endpoint is called too frequently
- Network timeout from Cloudflare Workers edge execution

## How this service works

Global crypto market stats (CoinGecko): total market cap, 24h volume, BTC/ETH dominance, active coins. No params. Use when an agent needs a one-call market overview.

## Output

A JSON object containing total cryptocurrency market capitalization in USD, 24-hour trading volume, Bitcoin dominance percentage, Ethereum dominance percentage, and the count of active coins — all sourced from CoinGecko's global market endpoint.

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "total_market_cap_usd",
      "btc_dominance_pct"
     ],
     "properties": {
      "btc_dominance_pct": {
       "type": "number"
      },
      "total_market_cap_usd": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "btc_dominance_pct": 57.1,
  "total_market_cap_usd": 3900000000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-global-crypto-market-stats-87ad8d02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api.sigrunner.workers.dev](https://www.zero.xyz/host/x402-data-api.sigrunner.workers.dev/llms.txt)
