Stablecoins API
How has the stablecoin supply on this chain moved?
Total stablecoin supply on one chain in USD, one point per day, over 7 to 365 days or all history, with the dollar-pegged part shown apart.
/api/external/stablecoin-analysis/stablecoin-supply-history/{chain}What it returns
The total supply of every stablecoin on one chain, one point per day at 00:00 UTC, over the last 7, 30, 90, 180 or 365 days, or its whole history with days=all. circulatingUsd is every stablecoin whatever its peg, converted to USD; usdPeggedUsd is the dollar-pegged ones alone. Windows count back from the newest point on record, normally the current UTC day; a chain no longer tracked answers a series that ends early. A chain whose stablecoins began recently answers fewer points than days, and a day missing from the record is left out rather than filled in.
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/stablecoin-analysis/stablecoin-supply-history/SOL"
| Parameter | Description |
|---|---|
daysquery · string · optional | Trailing window in days, or all for the whole history. Defaults to 90. days ≤ 365 keeps the answer under 32 KB.73090180365all |
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. |
days | string | The window answered. |
points | object[] | Oldest first, one per day. Empty when no stablecoin on the chain is tracked yet. |
points[].timestamp | integer | Unix seconds, 00:00 UTC of the day. |
points[].circulatingUsd | number | null | Every stablecoin on the chain, all pegs, in USD. Null when that day's figure is unreadable. |
points[].usdPeggedUsd | number | null | The dollar-pegged stablecoins alone, in USD. Null when that day has no dollar-pegged figure. |
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