# DefiLlama — Zapi reference > Total value locked per chain dan kapitalisasi stablecoin per aset beserta mekanisme peg-nya. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/finance/defillama - Endpoint catalog: https://zpi.web.id/category/finance - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## DefiLlama **Category:** finance · **Slug:** `defillama` **Detail page:** https://zpi.web.id/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.zpi.web.id/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.zpi.web.id/v1/finance:defillama/chains?length=50&minTvl=1000000" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/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.zpi.web.id/v1/finance:defillama/chains?length=50&minTvl=1000000", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "count": 8, "items": [ { "tvl": 41845009588.19007, "name": "Ethereum", "symbol": "ETH", "chainId": 1, "coingeckoId": "ethereum" }, { "tvl": 4921593430.9558325, "name": "BSC", "symbol": "BNB", "chainId": 56, "coingeckoId": "binancecoin" }, { "tvl": 4835501754.115794, "name": "Tron", "symbol": "TRON", "coingeckoId": "tron" }, { "tvl": 4767152449.781957, "name": "Solana", "symbol": "SOL", "coingeckoId": "solana" }, { "tvl": 4671057737.503124, "name": "Base", "chainId": 8453 }, { "tvl": 3555970028.2875915, "name": "Bitcoin", "symbol": "BTC", "coingeckoId": "bitcoin" }, { "tvl": 1605143288.6728976, "name": "Provenance", "symbol": "HASH", "coingeckoId": "hash-2" }, { "tvl": 1214352763.234852, "name": "Hyperliquid L1", "symbol": "HYPE", "coingeckoId": "hyperliquid" } ], "total": 147, "source": "defillama", "currency": "USD", "totalTvl": 75782728272.26877 } ``` --- ### Stablecoins Stablecoin terbesar per peredaran, dengan jenis peg dan mekanismenya. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/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.zpi.web.id/v1/finance:defillama/stablecoins?length=25&peg=peggedUSD" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/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.zpi.web.id/v1/finance:defillama/stablecoins?length=25&peg=peggedUSD", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "peg": "peggedUSD", "count": 8, "items": [ { "peg": "peggedUSD", "name": "Tether", "price": 0.9995188917966215, "symbol": "USDT", "mechanism": "fiat-backed", "circulating": 183127127959.5557, "coingeckoId": "tether" }, { "peg": "peggedUSD", "name": "USD Coin", "price": 0.9997633522963482, "symbol": "USDC", "mechanism": "fiat-backed", "circulating": 72263289737.97133, "coingeckoId": "usd-coin" }, { "peg": "peggedUSD", "name": "Sky Dollar", "price": 0.9998972229229902, "symbol": "USDS", "mechanism": "crypto-backed", "circulating": 6708358376.129132, "coingeckoId": "usds" }, { "peg": "peggedUSD", "name": "Dai", "price": 0.999842581457719, "symbol": "DAI", "mechanism": "crypto-backed", "circulating": 4798800804.290539, "coingeckoId": "dai" }, { "peg": "peggedUSD", "name": "World Liberty Financial USD", "price": 0.9999298572022839, "symbol": "USD1", "mechanism": "fiat-backed", "circulating": 4024147014.292561, "coingeckoId": "usd1-wlfi" }, { "peg": "peggedUSD", "name": "Ethena USDe", "price": 0.9997111140842515, "symbol": "USDe", "mechanism": "crypto-backed", "circulating": 3910568013.8701806, "coingeckoId": "ethena-usde" }, { "peg": "peggedUSD", "name": "Global Dollar", "price": 0.9998509614306155, "symbol": "USDG", "mechanism": "fiat-backed", "circulating": 3416773831.7715063, "coingeckoId": "global-dollar" }, { "peg": "peggedUSD", "name": "Circle USYC", "price": 1.1333629066346362, "symbol": "USYC", "mechanism": "fiat-backed", "circulating": 3004513138.0821843, "coingeckoId": "hashnote-usyc" } ], "total": 328, "source": "defillama" } ``` --- _Generated: 2026-08-08T12:10:56.940Z_