Chains API

Chain DEX volume and fee revenue

DEX trading volume and protocol fee revenue for a whole chain, over trailing 24h/7d/30d windows. Ethereum only today.

GET/api/external/chain-analysis/chain-economics/{chain}

What it returns

Chain-level economic activity: rolling DEX trading volume and protocol fee revenue, over trailing 24-hour, 7-day and 30-day windows. Distinct from chain-stats (indexed trade activity): this endpoint answers from a different source and a different metric family — trading volume and fee revenue, not trade count. Every field is null when nothing could be established, never 0, which here would claim a chain saw no volume or fee revenue at all. dexVolumeUsd and feesUsd degrade INDEPENDENTLY of each other: a failure fetching one never nulls the other. Chain coverage today is Ethereum only — every other catalogue chain refuses with a 400 naming the reason, not a guessed or partial answer.

Chains

  • Ethereum ETH

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/chain-analysis/chain-economics/ETH"
Parameters
ParameterDescription
chain

path · string · required

The chain to query. Ethereum only; every other chain returns 400 — this resource is not offered there.

Response fields

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

Response fields of Chain DEX volume and fee revenue
FieldType
dexVolumeUsdobject
dexVolumeUsd.h24number | null
dexVolumeUsd.d7number | null
dexVolumeUsd.d30number | null
feesUsdobject
feesUsd.h24number | null
feesUsd.d7number | null
feesUsd.d30number | null

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