Discovery and markets API

How big is the whole crypto market right now?

Total crypto market cap and 24h volume, the 24h change, active coins and markets, Bitcoin and other top-coin dominance, and the DeFi share. No chain, no token: the whole market.

GET/api/external/discovery/global-market

What it returns

One snapshot of the entire crypto market across all chains and venues: total market cap and 24h volume in USD, the 24h change of the market cap, how many coins and markets are tracked as active, the market-cap shares of the largest coins (Bitcoin dominance among them), and the DeFi slice — its market cap, 24h volume, share of the total and its largest coin. No chain and no subject in the request. Percentages are percent values. defi.sharePercent is computed against this answer's own totalMarketCapUsd, so the two never disagree. defi is null when the DeFi figures could not be read this time.

Chains

This endpoint is not tied to a chain: it takes no chain in its request.

Request

Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.

curl -H "x-dex-data-key: $DEXDATA_API_KEY" \
  "https://api.dexdata.io/api/external/discovery/global-market"

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of How big is the whole crypto market right now?
FieldTypeDescription
totalMarketCapUsdnumber | nullTotal market cap of every tracked coin, USD.
totalVolumeUsd24hnumber | nullTotal trading volume over the last 24h, USD.
marketCapChangePercent24hnumber | nullPercent change of the total market cap over 24h. Signed; a real decline is negative.
activeCoinsinteger | nullHow many coins are tracked as actively trading.
activeMarketsinteger | nullHow many exchanges (markets) are tracked.
marketCapSharesobject[]The largest coins' shares of the total market cap, largest first (the first is usually Bitcoin dominance). Only the top of the market is itemised: the shares do not sum to 100.
marketCapShares[].symbolstringThe coin's ticker, upper-cased.
marketCapShares[].percentnumberPercent of the total market cap.
defiobject | nullThe DeFi slice of the market; null when it could not be read this time — never a claim that DeFi is empty.
defi.marketCapUsdnumber | nullMarket cap of DeFi coins, USD.
defi.volumeUsd24hnumber | nullTrading volume of DeFi coins over 24h, USD.
defi.sharePercentnumber | nullDeFi market cap as a percent of totalMarketCapUsd in this same answer.
defi.topCoinNamestring | nullThe largest DeFi coin, by name.
defi.topCoinSharePercentnumber | nullThat coin's share of the DeFi market cap, percent.
updatedAtinteger | nullWhen the snapshot was last recomputed, unix seconds.

Start building with DexData today

Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.

Get a free API key