# DefiLlama — Zapi reference > Total value locked per chain dan kapitalisasi stablecoin per aset beserta mekanisme peg-nya. **Base URL:** `https://api.zapi.ink` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zapi.ink/dashboard/keys. **Response envelope:** `{ content, message, errors }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zapi.ink/api/finance/defillama - Endpoint catalog: https://zapi.ink/category/finance - Concise index: https://zapi.ink/llms.txt - Full reference: https://zapi.ink/llms-full.txt --- ## DefiLlama **Category:** finance · **Slug:** `defillama` **Detail page:** https://zapi.ink/api/finance/defillama Total value locked per chain dan kapitalisasi stablecoin per aset beserta mekanisme peg-nya. **Tags:** defi, tvl, stablecoin, crypto, finance ### Chain TVL TVL per chain dalam USD, terbesar dulu, bisa disaring dengan `minTvl`. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:defillama/chains` - **Cache TTL:** 900s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `length` | number | query | no | Rows to return (default 50, max 500) | | `minTvl` | number | query | no | Drop chains below this TVL in USD. | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:defillama/chains?length=50&minTvl=1000000" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:defillama/chains?length=50&minTvl=1000000", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:defillama/chains?length=50&minTvl=1000000", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "count": 50, "items": [ { "tvl": 47170499526.70988, "name": "Ethereum", "symbol": "ETH", "chainId": 1, "coingeckoId": "ethereum" }, { "tvl": 5357384941.319784, "name": "BSC", "symbol": "BNB", "chainId": 56, "coingeckoId": "binancecoin" }, { "tvl": 5312745912.351768, "name": "Solana", "symbol": "SOL", "coingeckoId": "solana" }, { "tvl": 5240631291.195125, "name": "Base", "chainId": 8453 }, { "tvl": 5126114876.883402, "name": "Tron", "symbol": "TRON", "coingeckoId": "tron" }, { "tvl": 3985775047.8197036, "name": "Bitcoin", "symbol": "BTC", "coingeckoId": "bitcoin" }, { "tvl": 1792240630.7060046, "name": "Provenance", "symbol": "HASH", "coingeckoId": "hash-2" }, { "tvl": 1445583793.9306028, "name": "Hyperliquid L1", "symbol": "HYPE", "coingeckoId": "hyperliquid" } ], "total": 461, "source": "defillama", "currency": "USD", "totalTvl": 84515501988.66243 } ``` --- ### Stablecoins Stablecoin terbesar per peredaran, dengan jenis peg dan mekanismenya. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:defillama/stablecoins` - **Cache TTL:** 900s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `length` | number | query | no | Rows to return (default 25, max 200) | | `peg` | string | query | no | Keep only this peg type (peggedUSD, peggedEUR, …). | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:defillama/stablecoins?length=25&peg=peggedUSD" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:defillama/stablecoins?length=25&peg=peggedUSD", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:defillama/stablecoins?length=25&peg=peggedUSD", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "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" } ``` --- ### Stablecoin Chains Stablecoin circulating supply per chain, current cross-section. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:defillama/stablecoin-chains` - **Cache TTL:** 900s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `peg` | string | query | no | Peg type to read. Default peggedUSD. | | `limit` | number | query | no | Chains to return, largest first. Default 50, max 500. | | `minCirculating` | number | query | no | Drop chains below this circulating value in USD. | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:defillama/stablecoin-chains?peg=peggedUSD&limit=50&minCirculating=1000000" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:defillama/stablecoin-chains?peg=peggedUSD&limit=50&minCirculating=1000000", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:defillama/stablecoin-chains?peg=peggedUSD&limit=50&minCirculating=1000000", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "peg": "peggedUSD", "count": 50, "items": [ { "chain": "Ethereum", "circulatingUsd": 146952725067.78015 }, { "chain": "Tron", "circulatingUsd": 91887441567.50905 }, { "chain": "Solana", "circulatingUsd": 15863026696.789598 }, { "chain": "BSC", "circulatingUsd": 13383178392.59415 }, { "chain": "Hyperliquid L1", "circulatingUsd": 6570898641.614782 }, { "chain": "Base", "circulatingUsd": 4931807896.464042 }, { "chain": "Arbitrum", "circulatingUsd": 3445788631.870305 }, { "chain": "Polygon", "circulatingUsd": 3044703687.6261106 } ], "total": 204, "dataset": "stablecoin-chains", "currency": "USD", "provider": "defillama" } ``` --- ### Protocols The protocol directory with current TVL and its recent changes. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:defillama/protocols` - **Cache TTL:** 900s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `category` | string | query | no | Keep only this category. Case-insensitive. Others include Lending, CEX, Liquid Staking, Bridge, Restaking. | | `chain` | string | query | no | Keep only protocols deployed on this chain. | | `query` | string | query | no | Free text over protocol name, symbol and slug. | | `minTvl` | number | query | no | Drop protocols below this TVL in USD. | | `page` | number | query | no | Result page. Default 1. | | `limit` | number | query | no | Protocols per page, largest TVL first. Default 50, max 500. | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:defillama/protocols?category=Dexs&chain=Ethereum&query=uniswap&minTvl=1000000&page=1&limit=50" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:defillama/protocols?category=Dexs&chain=Ethereum&query=uniswap&minTvl=1000000&page=1&limit=50", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:defillama/protocols?category=Dexs&chain=Ethereum&query=uniswap&minTvl=1000000&page=1&limit=50", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "page": 1, "chain": null, "count": 50, "items": [ { "id": "194", "tvl": 1909573717.2501187, "url": "https://pancakeswap.finance/", "logo": "https://icons.llamao.fi/icons/protocols/pancakeswap-amm", "name": "PancakeSwap AMM", "slug": "pancakeswap-amm", "chain": "Multi-Chain", "chains": [ "Binance", "Ethereum", "Aptos", "Base", "zkSync Era", "Arbitrum", "Op_Bnb", "Linea" ], "symbol": "CAKE", "category": "Dexs", "change1d": null, "change1h": 0.4894595925158711, "change7d": 11.300991871895746, "listedAt": null, "marketCap": null, "coingeckoId": null }, { "id": "2198", "tvl": 1426020655.9630637, "url": "https://app.uniswap.org/", "logo": "https://icons.llamao.fi/icons/protocols/uniswap-v3", "name": "Uniswap V3", "slug": "uniswap-v3", "chain": "Multi-Chain", "chains": [ "Ethereum", "Base", "Arbitrum", "Binance", "Robinhood Chain", "Polygon", "X Layer", "Optimism" ], "symbol": "UNI", "category": "Dexs", "change1d": 0.30566703831671305, "change1h": 0.7316921288834664, "change7d": 1.1399914162315525, "listedAt": 1666191475, "marketCap": null, "coingeckoId": null }, { "id": "3", "tvl": 1298281201.671089, "url": "https://curve.finance", "logo": "https://icons.llamao.fi/icons/protocols/curve", "name": "Curve DEX", "slug": "curve-dex", "chain": "Multi-Chain", "chains": [ "Ethereum", "Arbitrum", "Fraxtal", "Base", "Etherlink", "Monad", "Polygon", "Plasma" ], "symbol": "CRV", "category": "Dexs", "change1d": -0.9453846915700694, "change1h": 0.29059083690547993, "change7d": 2.1177046958854078, "listedAt": null, "marketCap": null, "coingeckoId": null }, { "id": "214", "tvl": 965690986.797965, "url": "https://raydium.io", "logo": "https://icons.llamao.fi/icons/protocols/raydium", "name": "Raydium AMM", "slug": "raydium-amm", "chain": "Solana", "chains": [ "Solana" ], "symbol": "RAY", "category": "Dexs", "change1d": 6.3438237769895665, "change1h": 0.7116196555577972, "change7d": 13.795945095765518, "listedAt": null, "marketCap": null, "coingeckoId": null }, { "id": "5690", "tvl": 874552955.8189095, "url": "https://app.uniswap.org/", "logo": "https://icons.llamao.fi/icons/protocols/uniswap-v4", "name": "Uniswap V4", "slug": "uniswap-v4", "chain": "Multi-Chain", "chains": [ "Ethereum", "Base", "Binance", "Robinhood Chain", "Arbitrum", "Monad", "Polygon", "Unichain" ], "symbol": "UNI", "category": "Dexs", "change1d": 1.6275463999139532, "change1h": -1.1518216087795707, "change7d": 15.424095079156814, "listedAt": 1738172667, "marketCap": null, "coingeckoId": null }, { "id": "2197", "tvl": 782517080.6357405, "url": "https://app.uniswap.org/", "logo": "https://icons.llamao.fi/icons/protocols/uniswap-v2", "name": "Uniswap V2", "slug": "uniswap-v2", "chain": "Multi-Chain", "chains": [ "Ethereum", "Base", "Polygon", "Robinhood Chain", "Arbitrum", "Binance", "X Layer", "Monad" ], "symbol": "UNI", "category": "Dexs", "change1d": -0.014043881732845875, "change1h": 0.0006830874891790018, "change7d": -1.711437975707014, "listedAt": 1666191162, "marketCap": null, "coingeckoId": null }, { "id": "2769", "tvl": 301700939.9900973, "url": "https://pancakeswap.finance/swap", "logo": "https://icons.llamao.fi/icons/protocols/pancakeswap-amm-v3", "name": "PancakeSwap AMM V3", "slug": "pancakeswap-amm-v3", "chain": "Multi-Chain", "chains": [ "Binance", "Ethereum", "Base", "Solana", "Arbitrum", "Monad", "zkSync Era", "Linea" ], "symbol": "CAKE", "category": "Dexs", "change1d": 2.4777775797572446, "change1h": 0.1870164261948304, "change7d": 4.900587086806979, "listedAt": 1680561479, "marketCap": null, "coingeckoId": null }, { "id": "5317", "tvl": 300268523.1468633, "url": "https://www.fluid.io/", "logo": "https://icons.llamao.fi/icons/protocols/fluid-dex", "name": "Fluid DEX", "slug": "fluid-dex", "chain": "Multi-Chain", "chains": [ "Ethereum", "Plasma", "Arbitrum", "Base", "Polygon" ], "symbol": "FLUID", "category": "Dexs", "change1d": 0.7228477830560394, "change1h": 0.22246186434567505, "change7d": 5.796209851015149, "listedAt": 1730732495, "marketCap": null, "coingeckoId": null } ], "query": null, "total": 2067, "dataset": "protocols", "hasMore": true, "category": "Dexs", "currency": "USD", "nextPage": 2, "provider": "defillama" } ``` --- ### Chain Tvl History Daily TVL series for one chain, or for every chain summed. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:defillama/chain-tvl-history` - **Cache TTL:** 3600s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `chain` | string | query | no | Chain name as the `chains` endpoint spells it. Omit for every chain summed. | | `from` | number | query | no | Keep points at or after this UNIX second. | | `to` | number | query | no | Keep points at or before this UNIX second. | | `limit` | number | query | no | Keep only the most recent N points. Omit for the full series. | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:defillama/chain-tvl-history?chain=Ethereum&from=1735689600&to=1767225600&limit=365" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:defillama/chain-tvl-history?chain=Ethereum&from=1735689600&to=1767225600&limit=365", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:defillama/chain-tvl-history?chain=Ethereum&from=1735689600&to=1767225600&limit=365", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "chain": "Ethereum", "count": 3251, "items": [ { "tvl": 0, "date": "2017-09-27", "time": 1506470400 }, { "tvl": 0, "date": "2017-09-28", "time": 1506556800 }, { "tvl": 0, "date": "2017-09-29", "time": 1506643200 }, { "tvl": 0, "date": "2017-09-30", "time": 1506729600 }, { "tvl": 0, "date": "2017-10-01", "time": 1506816000 }, { "tvl": 0, "date": "2017-10-02", "time": 1506902400 }, { "tvl": 0, "date": "2017-10-03", "time": 1506988800 }, { "tvl": 0, "date": "2017-10-04", "time": 1507075200 } ], "total": 3251, "dataset": "chain-tvl-history", "currency": "USD", "interval": "1d", "provider": "defillama" } ``` --- ### Stablecoin History Daily circulating supply for one peg type, whole market or one chain. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:defillama/stablecoin-history` - **Cache TTL:** 3600s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `peg` | string | query | no | Peg type to read. Default peggedUSD. Others include peggedEUR, peggedVAR, peggedJPY, peggedGBP. | | `chain` | string | query | no | Restrict to one chain. Omit for the whole market. | | `from` | number | query | no | Keep points at or after this UNIX second. | | `to` | number | query | no | Keep points at or before this UNIX second. | | `limit` | number | query | no | Keep only the most recent N points. Omit for the full series. | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:defillama/stablecoin-history?peg=peggedUSD&chain=Ethereum&from=1735689600&to=1767225600&limit=365" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:defillama/stablecoin-history?peg=peggedUSD&chain=Ethereum&from=1735689600&to=1767225600&limit=365", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:defillama/stablecoin-history?peg=peggedUSD&chain=Ethereum&from=1735689600&to=1767225600&limit=365", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "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" } ``` --- _Generated: 2026-09-25T14:30:54.504Z_