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.
/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"
| Parameter | Description |
|---|---|
chainpath · 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.
| Field | Type | Description |
|---|---|---|
chain | string | The chain asked about. |
timestamp | integer | Unix seconds, 00:00 UTC of the day the figures are for. |
totalUsd | number | Every stablecoin on the chain, all pegs, in USD. |
pegs | object[] | The total split by peg currency, largest first. |
pegs[].peg | string | The peg currency code: USD, EUR, …; VAR is a floating peg. |
pegs[].usd | number | The stablecoins with that peg, in USD. |
dominant | object | null | The largest stablecoin on the chain; null when it could not be read with the total. |
dominant.symbol | string | Its ticker symbol. |
dominant.usd | number | Its supply on this chain, in USD. |
dominant.sharePct | number | null | Its 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