Chains API

How much stablecoin value sits on this chain, and which stablecoin dominates it?

One chain's total stablecoin supply today in USD, split by peg currency, with the largest stablecoin on the chain and its share.

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

What it returns

The total value of every stablecoin on one chain today, in USD, split by the currency each is pegged to, and the single largest stablecoin on the chain with its share. The figures are for 00:00 UTC of the day in timestamp. dominant is null when only the chain total and its split could be read. For a related daily series of the chain's stablecoin supply, which on some chains counts more coins than this total, use GET /stablecoin-analysis/stablecoin-supply-history/{chain}.

Chains

  • Solana SOL
  • BNB Chain BNB
  • Ethereum ETH
  • Stable STABLE
  • Base BASE
  • Robinhood Chain RHC
  • Arc ARC

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-stablecoins/SOL"
Parameters
ParameterDescription
chain

path · string · required

The chain to query. CELO, ARB, OP and SCROLL return 400 here.

Response fields

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

Response fields of How much stablecoin value sits on this chain, and which stablecoin dominates it?
FieldTypeDescription
chainstringThe chain asked about.
timestampintegerUnix seconds, 00:00 UTC of the day the figures are for.
totalUsdnumberEvery stablecoin on the chain, all pegs, in USD.
pegsobject[]The total split by peg currency, largest first.
pegs[].pegstringThe peg currency code: USD, EUR, …; VAR is a floating peg.
pegs[].usdnumberThe stablecoins with that peg, in USD.
dominantobject | nullThe largest stablecoin on the chain; null when it could not be read with the total.
dominant.symbolstringIts ticker symbol.
dominant.usdnumberIts supply on this chain, in USD.
dominant.sharePctnumber | nullIts share of totalUsd, in percent. Null when the total is 0.

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