Skip to main content

Market API

Get high-level cryptocurrency market statistics including total market cap, volume, Bitcoin dominance, and active cryptocurrencies.

Overview​

The Market API provides aggregated data about the entire cryptocurrency ecosystem, sourced from multiple providers (CoinGecko, CoinPaprika, CoinCap). Use these endpoints to:

  • Track market-wide trends — Total market cap and 24h volume
  • Monitor Bitcoin dominance — BTC market cap as % of total
  • See ecosystem growth — Number of active cryptocurrencies and markets
  • Display market status — DeFi volume, ETH dominance, market cap changes

Use Cases​

Use CaseWhy Use This API
Portfolio DashboardsShow total market context alongside user holdings
Market Analysis ToolsCompare individual assets against market-wide trends
News/Research SitesDisplay real-time crypto market statistics
Trading BotsUse market sentiment (BTC dominance) for strategy decisions

Key Metrics Available​

  • Total Market Cap — Sum of all cryptocurrency market caps (USD)
  • 24h Volume — Total trading volume across all markets
  • BTC Dominance — Bitcoin market cap as % of total crypto market
  • ETH Dominance — Ethereum market cap as % of total crypto market
  • Active Cryptocurrencies — Number of coins actively trading
  • Active Markets — Number of trading pairs across exchanges
  • DeFi Volume — 24h volume for DeFi tokens

Endpoints​

MethodPathDescription
GET/api/market/globalGlobal Market Stats

Quick Start​

# Example: Get global market statistics
curl -s "https://api.web3identity.com/api/market/global" | jq

# Response includes:
# - totalMarketCap: Total crypto market cap (USD)
# - totalVolume: 24h trading volume
# - btcDominance: Bitcoin's % of total market cap
# - ethDominance: Ethereum's % of total market cap
# - activeCoins: Number of active cryptocurrencies
# - activeMarkets: Number of trading pairs

Rate Limits​

  • Anonymous: 100 calls/day
  • SIWE Authenticated: 200 calls/day
  • API Key: 250 calls/day
  • x402 Payments: Unlimited ($0.01 per call)

See Rate Limits for details.

  • Price API — Individual token pricing data
  • DeFi API — DeFi protocol statistics
  • Utilities API — Fear & Greed Index, trending tokens