{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"6db519fa-608a-4656-a3ba-60440a47780a","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 All Chains 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 blockchain name and slug, gecko id, and cmc id to rank blockchain ecosystems, resolve chain slugs, and cross-reference asset metadata.","descriptionTranslations":{"ar":"استعلم عن القيمة الإجمالية المقفلة TVL الحالية لجميع الشبكات المفهرسة في DefiLlama عبر OpenAny REST لمقارنة سيولة الأنظمة. يعيد هذا الطلب بدون معاملات مصفوفة JSON تضم اسم الشبكة وTVL ورمز العملة ومعرفات ChainId وCoinGecko وCMC.","ja":"OpenAny REST で DefiLlama 収録の全ブロックチェーンの現在 TVL を取得し、L1・L2 ネットワークの流動性を比較できます。パラメータ不要の GET リクエストで、チェーン名、TVL、ネイティブトークン記号、chainId、CoinGecko/CMC ID を返します。","zh":"通过 OpenAny REST 查询 DefiLlama 收录的全部区块链当前总锁仓价值（TVL），用于对比生态流动性并排定 L1 与 L2 网络。该无参 GET 请求返回包含链名称、实时 TVL、原生代币符号、链 ID 及 CoinGecko/CMC 标识的 JSON 数组。"},"effectContentHtml":"","executionMode":"sync","id":"7ce75e94-c2b3-4c39-9ed8-a7fdb2771ef5","includedContentHtml":"","inputs":[],"logoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","method":"GET","name":"DefiLlama — Get current TVL of all chains","nameTranslations":{"ar":"DefiLlama — الحصول على إجمالي القيمة المقفلة الحالية لجميع السلاسل","ja":"DefiLlama — すべてのチェーンの現在のTVLを取得","zh":"DefiLlama — 获取所有链的当前 TVL"},"overviewHtml":"\u003ch2\u003eDefiLlama All Chains TVL API\u003c/h2\u003e\n\u003cp\u003eSend a parameter-free GET request to list every tracked blockchain alongside its current TVL and cross-platform reference IDs. Use returned chain names as slugs for historical chain TVL queries.\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 current TVL of 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\u003eRank blockchain ecosystems\u003c/strong\u003e: Sort all chains by current TVL for market share tables and DeFi landscape reports.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eResolve chain slugs\u003c/strong\u003e: Fetch canonical chain names before calling chain-scoped TVL or DEX volume endpoints.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCross-reference asset metadata\u003c/strong\u003e: Map chainId, gecko_id and cmcId to external market data feeds.\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\u003eArray of blockchain TVL summary objects\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBlockchain name and slug\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].tvl\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrent total value locked in USD\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].tokenSymbol\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNative gas or ecosystem token symbol\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].chainId\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNumeric chain ID where applicable\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].gecko_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCoinGecko identifier for the chain native asset\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].cmcId\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCoinMarketCap identifier for the chain native asset\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/chains \\\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/7ce75e94-c2b3-4c39-9ed8-a7fdb2771ef5\"\u003ePublished DefiLlama All Chains 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\u003eDoes this endpoint accept any query parameters?\u003c/h3\u003e\n\u003cp\u003eNo. The live contract defines no path, query or body inputs.\u003c/p\u003e\n\u003ch3\u003eWhat currency is used for the tvl field?\u003c/h3\u003e\n\u003cp\u003eTVL values are reported in USD.\u003c/p\u003e\n\u003ch3\u003eHow do I get historical TVL for a specific chain?\u003c/h3\u003e\n\u003cp\u003ePass a chain name from this response to the DefiLlama Chain Historical TVL API.\u003c/p\u003e\n\u003ch3\u003eAre non-EVM chains included in the list?\u003c/h3\u003e\n\u003cp\u003eYes. Non-EVM chains appear in the array, though numeric chainId may be null or omitted for chains without an EVM chain ID.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint break down TVL by individual protocols?\u003c/h3\u003e\n\u003cp\u003eNo. Use the DefiLlama All Protocols TVL API to inspect per-protocol TVL and chain breakdowns.\u003c/p\u003e\n\u003ch3\u003eHow can I combine this with stablecoin supply per chain?\u003c/h3\u003e\n\u003cp\u003eJoin records by chain name with the DefiLlama Stablecoin Chains API.\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-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-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-current-tvl-of-all-chains?offering=7ce75e94-c2b3-4c39-9ed8-a7fdb2771ef5","providerId":"defillama","publicPath":"/v1/agent-apis/defillama/v2/chains","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Official UI example (not runtime verified)","request":{"body":null,"headers":{},"path":{},"query":{}},"response_body":[{"chainId":1,"cmcId":"1027","gecko_id":"ethereum","name":"Ethereum","tokenSymbol":"ETH","tvl":65998652431.40251}]}],"seoDescription":"Get DefiLlama All Chains TVL data via REST or MCP powered by DeFiLlama. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:55:14.732Z","usageInstructionsHtml":""}}