{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"40fa5c9f-c089-41b8-b66b-0b2916b5d27c","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 Protocol Current 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 to power lightweight kpi badges, run threshold alerts, and enrich ai agent answers.","descriptionTranslations":{"ar":"احصل على أحدث قيمة مقفلة TVL لبروتوكول تمويل لامركزي محدد كرقم خفيف عبر OpenAny REST لتحديث المؤشرات بسرعة دون بيانات تاريخية ضخمة. مرر معرف البروتوكول في المسار لاستلام قيمة TVL الحالية بالدولار مباشرة.","ja":"OpenAny REST で単一 DeFi プロトコルの最新 TVL を軽量な数値のみで取得でき、履歴データの負荷なしに KPI を高速更新できます。パスにプロトコルスラッグを指定すると現在の USD TVL を直接返し、監視ボットやウィジェットに最適です。","zh":"通过 OpenAny REST 以轻量级单数值形式获取单个 DeFi 协议的最新总锁仓价值（TVL），避免拉取冗长历史载荷，满足快速 KPI 刷新需求。在路径中传入协议标识，即可直接返回当前美元 TVL 数值，适用于自选监控、告警机器人与嵌入式组件。"},"effectContentHtml":"","executionMode":"sync","id":"1ff76e60-1c95-47a4-acfd-5bcf3446534c","includedContentHtml":"","inputs":[{"description":"protocol slug","location":"path","name":"protocol","nullable":false,"required":true,"type":"string"}],"logoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","method":"GET","name":"DefiLlama — Simplified endpoint to get current TVL of a protocol","nameTranslations":{"ar":"DefiLlama — نقطة نهاية مبسطة للحصول على القيمة الإجمالية المقفلة الحالية لبروتوكول","ja":"DefiLlama — プロトコルの現在の TVL を取得する簡易エンドポイント","zh":"DefiLlama — 用于获取协议当前 TVL 的简化端点"},"overviewHtml":"\u003ch2\u003eDefiLlama Protocol Current TVL API\u003c/h2\u003e\n\u003cp\u003eProvide a \u003ccode\u003eprotocol\u003c/code\u003e slug (such as \u003ccode\u003euniswap\u003c/code\u003e) in the path. Unlike \u003ccode\u003e/protocol/{protocol}\u003c/code\u003e, this simplified endpoint returns a single top-level JSON number representing current USD 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: protocol (protocol slug such as uniswap, obtainable from the All Protocols TVL API).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003edefillama · DefiLlama — Simplified endpoint to get current TVL of a protocol\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\u003ePower lightweight KPI badges\u003c/strong\u003e: Display live TVL for a protocol in a header or widget without downloading multi-megabyte history.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eRun threshold alerts\u003c/strong\u003e: Poll a watchlist of protocol slugs and trigger alerts if TVL drops below a configured USD floor.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eEnrich AI agent answers\u003c/strong\u003e: Fetch an exact current TVL scalar with minimal token footprint for agent tool calls.\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``\u003c/td\u003e\n\u003ctd\u003eTop-level JSON number representing the protocol’s current total value locked in USD\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/tvl/uniswap \\\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/1ff76e60-1c95-47a4-acfd-5bcf3446534c\"\u003ePublished DefiLlama Protocol Current 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\u003eWhat JSON type does this endpoint return?\u003c/h3\u003e\n\u003cp\u003eIt returns a single top-level JSON number (for example, 4962012809.795062), not a wrapped JSON object.\u003c/p\u003e\n\u003ch3\u003eWhat currency is the returned number in?\u003c/h3\u003e\n\u003cp\u003eThe returned TVL figure is denominated in USD.\u003c/p\u003e\n\u003ch3\u003eWhere do I find valid protocol slugs?\u003c/h3\u003e\n\u003cp\u003eList protocols with the DefiLlama All Protocols TVL API and use the protocol slug (such as uniswap or aave).\u003c/p\u003e\n\u003ch3\u003eWhen should I use this instead of Protocol Historical TVL?\u003c/h3\u003e\n\u003cp\u003eUse this simplified endpoint when you only need the current scalar TVL; use Protocol Historical TVL for history and chain/token breakdowns.\u003c/p\u003e\n\u003ch3\u003eDoes this response include per-chain TVL or borrowed balances?\u003c/h3\u003e\n\u003cp\u003eNo. It returns only the single aggregate TVL number for the protocol.\u003c/p\u003e\n\u003ch3\u003eCan I query multiple protocols in one call?\u003c/h3\u003e\n\u003cp\u003eNo. This endpoint takes one protocol slug per request; use the All Protocols TVL API to fetch all protocols at once.\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-of-a-protocol-and-breakdowns-by-token-and-chain\"\u003eDefiLlama Protocol 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\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\u003c/ul\u003e\n","pagePath":"/markets/apis/defillama/defillama-simplified-endpoint-to-get-current-tvl-of-a-protocol?offering=1ff76e60-1c95-47a4-acfd-5bcf3446534c","providerId":"defillama","publicPath":"/v1/agent-apis/defillama/tvl/{protocol}","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Official example","request":{"body":null,"headers":{},"path":{"protocol":"uniswap"},"query":{}},"response_body":4962012809.795062}],"seoDescription":"Get DefiLlama Protocol Current TVL data via REST or MCP powered by DeFiLlama. Pay per call, no subscription. Built to power lightweight kpi badges.","updatedAt":"2026-12-03T02:39:15.162Z","usageInstructionsHtml":""}}