{"uid":"cap_c0MmCvD1wjHzxoiMma3Ur","slug":"defi-protocol-tvl-lookup-via-defillama-5330df4b","name":"DeFi Protocol TVL Lookup via DefiLlama","description":"Current TVL (total value locked) of a specific DeFi protocol, source DefiLlama. Parameter: ?protocol=<slug> (default: aave).","url":"https://x402-seller-0ay3.onrender.com/api/defi/tvl","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"protocol":{"type":"string","description":"DefiLlama protocol slug (e.g. aave, lido, uniswap)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"source":"https://api.llama.fi/tvl/aave","tvl_usd":21000000000,"currency":"USD","protocol":"aave","fetched_at":"2026-09-01T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qMPkrlSplOVF_BBI3bInK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current total value locked (TVL) in USD for a specified DeFi protocol, sourced live from DefiLlama.","exampleAgentPrompt":"What's the current total value locked in Aave right now? Pull it from DefiLlama.","exampleUseCases":[{"title":"Monitor Aave TVL for portfolio dashboard","prompt":"What is Aave's current TVL in USD? I want to track it for my DeFi portfolio dashboard."},{"title":"Compare protocol sizes by TVL","prompt":"Can you look up the current TVL for Uniswap and Lido so I can compare how large each protocol is?"},{"title":"Alert on TVL drop for risk management","prompt":"Check the current total value locked in Compound — I want to know if it's dropped below $5 billion so I can reassess my risk exposure."}],"resultDescription":"A JSON object containing the protocol slug, TVL in USD as a number, currency (USD), the source DefiLlama API URL, and a timestamp of when the data was fetched. Example: {protocol: 'aave', tvl_usd: 21000000000, currency: 'USD', source: 'https://api.llama.fi/tvl/aave', fetched_at: '2026-09-01T12:00:00.000Z'}.","failureModes":["Unknown or misspelled protocol slug returns an error or null TVL","DefiLlama API downtime causes fetch failure","Protocol slug format mismatch (e.g. using display name instead of slug like 'aave-v3' vs 'aave')","Network timeout from Render cold start on first request"],"whenToPreferThis":"Use this endpoint when you need a single DeFi protocol's current TVL and want a lightweight, paid-per-call lookup without managing DefiLlama API keys or rate limits yourself. Ideal for agents that need real-time DeFi protocol size data as part of a broader financial analysis or monitoring workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:35.283Z","isFirstParty":false}