Skip to main content
POST
/
api
/
coinmarketcap
/
global-metrics
/coinmarketcap/global-metrics
curl --request POST \
  --url https://api.anysite.io/api/coinmarketcap/global-metrics \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '{
  "timeout": 300
}'
[
  {
    "@type": "@coinmarketcap_global_metrics",
    "btc_dominance": 123,
    "eth_dominance": 123,
    "total_market_cap": 123,
    "total_volume_24h": 123,
    "total_market_cap_yesterday": 123,
    "altcoin_market_cap": 123,
    "altcoin_volume_24h": 123,
    "defi_market_cap": 123,
    "defi_volume_24h": 123,
    "stablecoin_market_cap": 123,
    "stablecoin_volume_24h": 123,
    "derivatives_volume_24h": 123,
    "active_cryptocurrencies": 123,
    "active_exchanges": 123,
    "active_market_pairs": 123,
    "total_cryptocurrencies": 123,
    "total_exchanges": 123,
    "last_updated_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@coinmarketcap_global_metrics
btc_dominance
number | null
eth_dominance
number | null
total_market_cap
number | null
total_volume_24h
number | null
total_market_cap_yesterday
number | null
altcoin_market_cap
number | null
altcoin_volume_24h
number | null
defi_market_cap
number | null
defi_volume_24h
number | null
stablecoin_market_cap
number | null
stablecoin_volume_24h
number | null
derivatives_volume_24h
number | null
active_cryptocurrencies
integer | null
active_exchanges
integer | null
active_market_pairs
integer | null
total_cryptocurrencies
integer | null
total_exchanges
integer | null
last_updated_at
string | null