Crypto global market

$0.008 per call · USDC via x402 · GET /api/crypto-global

Global crypto market snapshot: total market cap, total 24h volume, BTC dominance, ETH dominance, active coin count, active exchange count, and 24h market-cap change %. Send GET /api/crypto-global with no required fields (1 optional) and pay $0.008 per call over x402 or MPP (there is no free tier). It returns a JSON object with currency, totalMarketCap, totalVolume24h, marketCapChange24hPct, btcDominancePct and 4 more.

Returned in a chosen vs_currency (default usd). Backed by CoinGecko /global.

Category: Live public data · Tags: crypto global market dominance macro

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
currencystringnovs_currency for cap/volume (default: usd)

Example request

curl -i "https://agent402.tools/api/crypto-global?currency=usd"

Without payment this returns HTTP 402 Payment Required with the exact price for crypto-global; any x402 v2 or MPP client pays it and retries.

Example response

{
  "currency": "usd",
  "totalMarketCap": 2410000000000,
  "totalVolume24h": 92000000000,
  "marketCapChange24hPct": 1.23,
  "btcDominancePct": 54.8,
  "ethDominancePct": 17.6,
  "activeCryptocurrencies": 12450,
  "markets": 952,
  "updatedAt": "2026-06-20T00:30:00Z"
}
FieldTypeAlways presentIn the example
currencystringyesusd
totalMarketCapnumberyes2410000000000
totalVolume24hnumberyes92000000000
marketCapChange24hPctnumberyes1.23
btcDominancePctnumberyes54.8
ethDominancePctnumberyes17.6
activeCryptocurrenciesnumberyes12450
marketsnumberyes952
updatedAtstringyes2026-06-20T00:30:00Z

From an MCP client

catalog.call {
  "slug": "crypto-global",
  "params": {
    "currency": "usd"
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for crypto-global; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/crypto-global?currency=usd");

Part of these workflows

Crypto global market is one step in these 5 skill packs, each sold as a single call:

Related tools

Global DeFi market

$0.005 · GET /api/global-defi

Global DeFi snapshot: DeFi market cap (USD), ETH market cap, DeFi-to-ETH ratio, 24h DeFi trading volume, DeFi dominance …

Crypto market overview

$0.015 · GET /api/crypto-market

Top N coins by market capitalization with full market snapshot per coin: rank, price, 24h change, 7d change, 24h volume,…

US CPI year-over-year inflation

$0.005 · GET /api/cpi-yoy

Latest US Consumer Price Index year-over-year inflation rate (headline CPI-U) plus the trailing 12 months of YoY reading…

Crypto price history

$0.015 · GET /api/crypto-history

Historical price, market cap, and volume time series for a coin. Granularity is automatic per CoinGecko: <=1 day = 5-min…

Crypto price

$0.001 · GET /api/crypto-price

Live crypto prices for one or many coins in any vs_currency (usd, eur, btc, eth, etc). Returns last price, 24h change %,…

Crypto trending

$0.001 · GET /api/crypto-trending

Trending coins on CoinGecko in the last 24 hours, ranked by user search activity on the site (currently ~15 results). In…