{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"b860ef64-994a-44fb-a849-f6f967db8aed","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 Chain 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 structured JSON records, identifiers, and response metadata for chart l1/l2 adoption, compare ecosystem drawdowns, and compute chain market share, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"احصل على السلسلة الزمنية التاريخية للقيمة المقفلة TVL لشبكة محددة عبر OpenAny REST باستثناء الرهن السائل والحساب المزدوج. مرر اسم الشبكة في المسار لاستلام مصفوفة من الطوابع الزمنية وقيم TVL بالدولار.","ja":"OpenAny REST で単一ブロックチェーンの歴史的 TVL 時系列を取得できます（リキッドステーキングと二重計上を除外）。パスにチェーン名スラッグを指定すると、UNIX タイムスタンプと USD TVL の配列を返します。","zh":"通过 OpenAny REST 获取单条区块链的历史总锁仓价值（TVL）时间序列，已剔除流动性质押与重复计算部分以反映真实生态规模。在路径中传入标准链名称标识，即可返回由 UNIX 时间戳与美元 TVL 组成的数组，便于趋势绘图与研究。"},"effectContentHtml":"","executionMode":"sync","id":"a2c082ed-ef5a-404e-b4b2-f7cdae255219","includedContentHtml":"","inputs":[{"description":"chain slug, you can get these from /chains or the chains property on /protocols","location":"path","name":"chain","nullable":false,"required":true,"type":"string"}],"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 a chain","nameTranslations":{"ar":"DefiLlama — الحصول على إجمالي القيمة المقفلة (TVL) التاريخي لسلسلة (باستثناء التخزين السائل وTVL المحسوب مرتين)","ja":"DefiLlama — チェーンの過去のTVLを取得（リキッドステーキングと二重計上されたTVLを除く）","zh":"DefiLlama — 获取某条链的历史 TVL（不含流动性质押和重复计算的 TVL）"},"overviewHtml":"\u003ch2\u003eDefiLlama Chain Historical TVL API\u003c/h2\u003e\n\u003cp\u003eProvide a blockchain slug in the \u003ccode\u003echain\u003c/code\u003e path parameter (such as \u003ccode\u003eEthereum\u003c/code\u003e, obtained from \u003ccode\u003e/v2/chains\u003c/code\u003e). The response is an array of timestamped \u003ccode\u003edate\u003c/code\u003e and \u003ccode\u003etvl\u003c/code\u003e records excluding liquid staking and double-counted TVL.\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\u003eRequired path parameter: chain (chain slug such as Ethereum, obtainable from the All Chains TVL API).\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 a chain\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\u003eChart L1/L2 adoption\u003c/strong\u003e: Plot multi-year TVL curves for Ethereum, Arbitrum, Solana or Base in analytics dashboards.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCompare ecosystem drawdowns\u003c/strong\u003e: Measure peak-to-trough liquidity changes across competing chains during market stress.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCompute chain market share\u003c/strong\u003e: Divide a chain’s historical TVL by global totals from the Global Historical TVL API.\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\u003eHistorical TVL time-series array for the selected chain\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 TVL data point\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].tvl\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eChain total value locked in USD (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/Ethereum \\\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/a2c082ed-ef5a-404e-b4b2-f7cdae255219\"\u003ePublished DefiLlama Chain 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\u003eWhere do I find valid chain slugs?\u003c/h3\u003e\n\u003cp\u003eCall the DefiLlama All Chains TVL API and use the returned name values (for example, Ethereum).\u003c/p\u003e\n\u003ch3\u003eDoes this TVL include liquid staking or double-counted assets?\u003c/h3\u003e\n\u003cp\u003eNo. Per the contract, this endpoint excludes liquid staking and double-counted TVL.\u003c/p\u003e\n\u003ch3\u003eCan I filter by a start or end date in the query string?\u003c/h3\u003e\n\u003cp\u003eNo date range query parameters are defined; slice the returned array by date on the client side.\u003c/p\u003e\n\u003ch3\u003eWhat format are date and tvl returned in?\u003c/h3\u003e\n\u003cp\u003edate is a numeric UNIX timestamp in seconds and tvl is a numeric USD figure.\u003c/p\u003e\n\u003ch3\u003eHow do I get historical TVL across all chains combined?\u003c/h3\u003e\n\u003cp\u003eUse the DefiLlama Global Historical TVL API with no chain path parameter.\u003c/p\u003e\n\u003ch3\u003eHow do I inspect historical TVL for a single DeFi protocol?\u003c/h3\u003e\n\u003cp\u003eUse the DefiLlama Protocol Historical TVL API with a protocol slug.\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-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-get-historical-tvl-excludes-liquid-staking-and-double-counted-tvl-of-defi-on-all-chain\"\u003eDefiLlama Global Historical TVL API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-historical-tvl-of-a-protocol-and-breakdowns-by-token-and-chain\"\u003eDefiLlama Protocol Historical 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-a-chain?offering=a2c082ed-ef5a-404e-b4b2-f7cdae255219","providerId":"defillama","publicPath":"/v1/agent-apis/defillama/v2/historicalChainTvl/{chain}","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Official UI example (not runtime verified)","request":{"body":null,"headers":{},"path":{"chain":"Ethereum"},"query":{}},"response_body":[{"date":1609459200,"tvl":45000000000}]}],"seoDescription":"Get DefiLlama Chain Historical TVL data via REST or MCP powered by DeFiLlama. Pay per call, no subscription. Built for chart l1/l2 adoption workflows.","updatedAt":"2026-12-03T02:39:12.491Z","usageInstructionsHtml":""}}