# stablecrypto.dev Global Crypto Market Stats

> stablecrypto.dev Global Crypto Market Stats is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns aggregated global cryptocurrency market statistics including total market cap, volume, dominance, and other macro metrics via CoinGecko data

## Facts

- Endpoint: POST https://stablecrypto.dev/api/coingecko/global
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecrypto-dev-49a494ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r6VO923XPtOAc2_N-YMS6

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 stablecrypto-dev-49a494ab -d '<json body>'
```

Example prompt: What does the global crypto market look like right now — total market cap, 24-hour volume, and Bitcoin dominance percentage?

## When to prefer this

Use this endpoint when you need a single high-level snapshot of the entire cryptocurrency market rather than data on specific coins or protocols. Prefer this over coin-specific endpoints when the user is asking about macro conditions, overall market sentiment, or Bitcoin dominance. It is a simple no-parameter call ideal for dashboards or market overview tasks.

## Known failure modes

- CoinGecko upstream API unavailable — returns 5xx or timeout
- Payment not processed (x402 payment required) — returns 402 if USDC payment not included
- Rate limit exceeded — returns 429
- Stale data if CoinGecko cache is delayed

## How this service works

Get global crypto market stats

## Output

Returns global crypto market aggregates including total market capitalization across all coins, 24-hour trading volume, Bitcoin and Ethereum dominance percentages, number of active cryptocurrencies, number of markets, and market cap change over the last 24 hours — all sourced from CoinGecko.

## Example request

```json
{
 "include": "market_data",
 "duration": "24h"
}
```

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecrypto-dev-49a494ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablecrypto.dev](https://www.zero.xyz/host/stablecrypto.dev/llms.txt)
