Request
https://api.zapi.ink/v1/finance:defillama/stablecoinsSend 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 15 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| length | number | query | No | Rows to return (default 25, max 200) Example: 25 |
| peg | string | query | No | Keep only this peg type (peggedUSD, peggedEUR, …). Example: peggedUSD |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:defillama/stablecoins?length=25&peg=peggedUSD" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:defillama/stablecoins?length=25&peg=peggedUSD", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:defillama/stablecoins", params={"length":"25","peg":"peggedUSD"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:defillama", "data": { "count": 25, "items": [ { "peg": "peggedUSD", "name": "Tether", "price": 0.9996529389237235, "symbol": "USDT", "mechanism": "fiat-backed", "circulating": 183011061240.82898, "coingeckoId": "tether" }, { "peg": "peggedUSD", "name": "USD Coin", "price": 0.999761122073589, "symbol": "USDC", "mechanism": "fiat-backed", "circulating": 72905794546.1014, "coingeckoId": "usd-coin" }, { "peg": "peggedUSD", "name": "Sky Dollar", "price": 0.9997885300919773, "symbol": "USDS", "mechanism": "crypto-backed", "circulating": 6721244278.757235, "coingeckoId": "usds" }, { "peg": "peggedUSD", "name": "Dai", "price": 0.9999215726557905, "symbol": "DAI", "mechanism": "crypto-backed", "circulating": 4779468708.49562, "coingeckoId": "dai" }, { "peg": "peggedUSD", "name": "Ethena USDe", "price": 0.9998132003483738, "symbol": "USDe", "mechanism": "crypto-backed", "circulating": 4080222642.0417285, "coingeckoId": "ethena-usde" }, { "peg": "peggedUSD", "name": "World Liberty Financial USD", "price": 0.9995358748930847, "symbol": "USD1", "mechanism": "fiat-backed", "circulating": 4001013937.994626, "coingeckoId": "usd1-wlfi" }, { "peg": "peggedUSD", "name": "Global Dollar", "price": 0.9999688726376925, "symbol": "USDG", "mechanism": "fiat-backed", "circulating": 3378436340.120869, "coingeckoId": "global-dollar" }, { "peg": "peggedUSD", "name": "Circle USYC", "price": 1.1346424163708866, "symbol": "USYC", "mechanism": "fiat-backed", "circulating": 2922480174.730857, "coingeckoId": "hashnote-usyc" } ], "total": 418, "source": "defillama" }, "timestamp": "2026-08-08T10:10:23Z" }
Frequently asked questions
How do I call the DefiLlama Stablecoins API?
Send a GET request to https://api.zapi.ink/v1/finance:defillama/stablecoins with your Zapi key in the x-api-key header. Parameters — optional: length, peg. The response is JSON in the { project, data, timestamp } envelope.
What does the DefiLlama Stablecoins API return?
Stablecoin terbesar per peredaran, dengan jenis peg dan mekanismenya. The example response has the fields count, items, total, source. Each item in items has fields such as peg, name, price, symbol, mechanism, circulating, coingeckoId.
Is the DefiLlama Stablecoins 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 Stablecoins 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 "stablecoins".
What other DefiLlama API endpoints are there?
It has 5 endpoints. Besides Stablecoins: Chain TVL, Stablecoin Chains, Chain Tvl History, Stablecoin History.
