{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"c5cf4122-89d1-4805-9254-04daea9589b6","catalogType":"api","categories":["data","finance","crypto-defi"],"dataPlatform":"DefiLlama","dataPlatformLogoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","dataPlatformTranslations":{"ar":"DefiLlama","ja":"DefiLlama","zh":"DefiLlama"},"dataProduct":"tvl","description":"Get DefiLlama Global Historical TVL data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DeFiLlama, configure supported query parameters and filters, and retrieve structured data including date to track macro defi cycles, benchmark chain dominance, and generate executive briefings, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استرجع إجمالي القيمة المقفلة TVL التاريخية للتمويل اللامركزي عبر جميع الشبكات من خلال OpenAny REST باستثناء الرهن السائل والحساب المزدوج. يعيد هذا الطلب بدون معاملات مصفوفة JSON من الطوابع الزمنية وإجمالي TVL بالدولار.","ja":"OpenAny REST で全チェーン合算の歴史的 DeFi TVL を取得できます（リキッドステーキングと二重計上を除外）。パラメータ不要の GET リクエストで、UNIX タイムスタンプと合算 USD TVL の JSON 配列を返します。","zh":"通过 OpenAny REST 获取全部区块链 DeFi 汇总历史总锁仓价值（TVL），剔除流动性质押与重复计算以提供准确的宏观流动性基准。该无参 GET 请求返回包含 UNIX 时间戳与总美元 TVL 的 JSON 数组，适用于周期分析与行情看板。"},"effectContentHtml":"","executionMode":"sync","id":"c0bcad1d-fba5-4b1d-917a-218cdf250ec4","includedContentHtml":"","inputs":[],"logoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","method":"GET","name":"DefiLlama — Get historical TVL (excludes liquid staking and double counted tvl) of DeFi on all chains","nameTranslations":{"ar":"DefiLlama — الحصول على TVL التاريخي (باستثناء التخزين السائل وTVL المحسوب مرتين) لـ DeFi على جميع السلاسل","ja":"DefiLlama — すべてのチェーン上の DeFi の過去の TVL（リキッドステーキングと二重計上された TVL を除く）を取得","zh":"DefiLlama — 获取所有链上 DeFi 的历史 TVL（不包括流动性质押和重复计算的 TVL）"},"overviewHtml":"\u003ch2\u003eDefiLlama Global Historical TVL API\u003c/h2\u003e\n\u003cp\u003eCall this parameter-free GET endpoint to fetch the historical aggregate DeFi TVL curve across all chains. Liquid staking and double-counted TVL are excluded from the returned \u003ccode\u003edate\u003c/code\u003e and \u003ccode\u003etvl\u003c/code\u003e entries.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eGET with no required path, query or body parameters.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003edefillama · DefiLlama — Get historical TVL (excludes liquid staking and double counted tvl) of DeFi on all chains\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eTrack macro DeFi cycles\u003c/strong\u003e: Overlay global DeFi TVL against stablecoin supply to measure on-chain capital deployment.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBenchmark chain dominance\u003c/strong\u003e: Use global daily TVL as the denominator when computing single-chain market share over time.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eGenerate executive briefings\u003c/strong\u003e: Compute 7-day, 30-day and year-to-date aggregate TVL percentage changes.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[]\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eGlobal historical DeFi TVL time-series array\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].date\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUNIX timestamp for the aggregate TVL observation\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].tvl\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCombined DeFi TVL in USD across all chains (excluding liquid staking and double-counted TVL)\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/defillama/v2/historicalChainTvl \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/c0bcad1d-fba5-4b1d-917a-218cdf250ec4\"\u003ePublished DefiLlama Global Historical TVL API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eAre any request parameters required?\u003c/h3\u003e\n\u003cp\u003eNo. Send a GET request with your OpenAny API key and no path or query inputs.\u003c/p\u003e\n\u003ch3\u003eWhy are liquid staking and double-counted TVL excluded?\u003c/h3\u003e\n\u003cp\u003eExcluding them avoids counting the same underlying collateral multiple times across protocols and chains.\u003c/p\u003e\n\u003ch3\u003eWhat fields does each array item contain?\u003c/h3\u003e\n\u003cp\u003eEach entry provides date (UNIX timestamp) and tvl (USD total).\u003c/p\u003e\n\u003ch3\u003eCan I request only the last 30 days from the API?\u003c/h3\u003e\n\u003cp\u003eNo date filter is defined in the contract; filter the returned time-series array by date client-side.\u003c/p\u003e\n\u003ch3\u003eHow do I get historical TVL for just one chain?\u003c/h3\u003e\n\u003cp\u003eUse the DefiLlama Chain Historical TVL API and pass the target chain slug in the path.\u003c/p\u003e\n\u003ch3\u003eWhere can I get current per-chain TVL rankings?\u003c/h3\u003e\n\u003cp\u003eUse the DefiLlama All Chains TVL API to fetch current TVL for every chain.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-historical-tvl-excludes-liquid-staking-and-double-counted-tvl-of-a-chain\"\u003eDefiLlama Chain Historical TVL API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-current-tvl-of-all-chains\"\u003eDefiLlama All Chains TVL API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-list-all-protocols-on-defillama-along-with-their-tvl\"\u003eDefiLlama All Protocols TVL API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/defillama/defillama-get-historical-tvl-excludes-liquid-staking-and-double-counted-tvl-of-defi-on-all-chain?offering=c0bcad1d-fba5-4b1d-917a-218cdf250ec4","providerId":"defillama","publicPath":"/v1/agent-apis/defillama/v2/historicalChainTvl","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Official UI example (not runtime verified)","request":{"body":null,"headers":{},"path":{},"query":{}},"response_body":[{"date":1609459200,"tvl":15000000000}]}],"seoDescription":"Get DefiLlama Global Historical TVL data via REST or MCP powered by DeFiLlama. Pay per call, no subscription. Built to track macro defi cycles.","updatedAt":"2026-12-03T02:39:12.613Z","usageInstructionsHtml":""}}