Sources › Finance › DefiLlama › Stablecoin History

DefiLlama Stablecoin History API

Daily circulating supply for one peg type, whole market or one chain.

DefiLlamaGET /stablecoin-historyAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:defillama/stablecoin-history

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.

Parameters

NameTypeInRequiredDescription
pegstringqueryNoPeg type to read. Default peggedUSD. Others include peggedEUR, peggedVAR, peggedJPY, peggedGBP. Example: peggedUSD
chainstringqueryNoRestrict to one chain. Omit for the whole market. Example: Ethereum
fromnumberqueryNoKeep points at or after this UNIX second. Example: 1735689600
tonumberqueryNoKeep points at or before this UNIX second. Example: 1767225600
limitnumberqueryNoKeep only the most recent N points. Omit for the full series. Example: 365

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:defillama/stablecoin-history?peg=peggedUSD&chain=Ethereum&from=1735689600&to=1767225600&limit=365" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:defillama/stablecoin-history?peg=peggedUSD&chain=Ethereum&from=1735689600&to=1767225600&limit=365", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:defillama/stablecoin-history",
    params={"peg":"peggedUSD","chain":"Ethereum","from":"1735689600","to":"1767225600","limit":"365"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:defillama",
  "data": {
    "peg": "peggedUSD",
    "chain": null,
    "count": 3188,
    "items": [
      {
        "date": "2017-11-29",
        "time": 1511913600,
        "mintedUsd": null,
        "unreleased": null,
        "circulating": 109970,
        "circulatingUsd": 110105
      },
      {
        "date": "2017-11-30",
        "time": 1512000000,
        "mintedUsd": null,
        "unreleased": null,
        "circulating": 109970,
        "circulatingUsd": 110105
      },
      {
        "date": "2017-12-01",
        "time": 1512086400,
        "mintedUsd": null,
        "unreleased": null,
        "circulating": 109970,
        "circulatingUsd": 110105
      },
      {
        "date": "2017-12-02",
        "time": 1512172800,
        "mintedUsd": null,
        "unreleased": null,
        "circulating": 109970,
        "circulatingUsd": 110105
      },
      {
        "date": "2017-12-03",
        "time": 1512259200,
        "mintedUsd": null,
        "unreleased": null,
        "circulating": 109970,
        "circulatingUsd": 110105
      },
      {
        "date": "2017-12-04",
        "time": 1512345600,
        "mintedUsd": null,
        "unreleased": null,
        "circulating": 109970,
        "circulatingUsd": 110105
      },
      {
        "date": "2017-12-05",
        "time": 1512432000,
        "mintedUsd": null,
        "unreleased": null,
        "circulating": 109970,
        "circulatingUsd": 110105
      },
      {
        "date": "2017-12-06",
        "time": 1512518400,
        "mintedUsd": null,
        "unreleased": null,
        "circulating": 109970,
        "circulatingUsd": 110105
      }
    ],
    "total": 3188,
    "dataset": "stablecoin-history",
    "interval": "1d",
    "provider": "defillama"
  },
  "timestamp": "2026-08-08T10:10:23Z"
}

Frequently asked questions

How do I call the DefiLlama Stablecoin History API?

Send a GET request to https://api.zapi.ink/v1/finance:defillama/stablecoin-history with your Zapi key in the x-api-key header. Parameters — optional: peg, chain, from, to, limit. The response is JSON in the { project, data, timestamp } envelope.

What does the DefiLlama Stablecoin History API return?

Daily circulating supply for one peg type, whole market or one chain. The example response has the fields peg, chain, count, items, total, dataset, interval, provider. Each item in items has fields such as date, time, mintedUsd, unreleased, circulating, circulatingUsd.

Is the DefiLlama Stablecoin History API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the DefiLlama Stablecoin History API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "defillama" and endpoint "stablecoin-history".

What other DefiLlama API endpoints are there?

It has 5 endpoints. Besides Stablecoin History: Chain TVL, Stablecoins, Stablecoin Chains, Chain Tvl History.