{"uid":"cap_indro_-LkDCIBOph06eB-","slug":"defillama-protocol-tvl-lookup-a6017d5c","name":"DefiLlama Protocol TVL Lookup","description":"Current protocol TVL by DefiLlama — the single latest total-value-locked number for one protocol by slug.","url":"https://defillama.use.x402atlas.com/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":["protocol"],"properties":{"protocol":{"type":"string","pattern":"^[^/?#]+$","maxLength":100,"minLength":1,"description":"Protocol slug (e.g. aave, uniswap, lido)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","data"],"properties":{"data":{"type":"number","description":"Latest total-value-locked USD scalar for the protocol"},"queried_at":{"type":"string","format":"date-time","description":"Time the upstream was queried"}}}}}}},"responseSchema":{"type":"json","example":{"data":12300000000,"queried_at":"2026-07-01T12:00:00Z"}},"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_GBXmiV0ArTlcigohp0Tyr","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) for a single DeFi protocol by its DefiLlama slug.","exampleAgentPrompt":"What's the current total value locked for the Aave protocol according to DefiLlama?","exampleUseCases":[{"title":"Monitor major protocol health metrics","prompt":"Can you check how much total value is currently locked in Lido and Curve Finance? I want to see if they're still the top protocols."},{"title":"Compare DeFi platform sizes quickly","prompt":"Pull the latest TVL numbers for Uniswap, Aave, and MakerDAO so I can see which one has the most capital deployed right now."},{"title":"Track protocol growth for investment analysis","prompt":"What's the current TVL for Convex Finance? I'm trying to understand if it's still growing compared to where it was last month."}],"resultDescription":"A single numeric TVL figure (in USD) representing the latest total value locked in the specified DeFi protocol, identified by its DefiLlama slug.","failureModes":["Unknown protocol slug returns an error or empty response","Stale data if DefiLlama's upstream indexer hasn't updated recently","Payment failure if the $0.005 USDC x402 payment is not provided or rejected","Rate limiting or network errors from the upstream DefiLlama API"],"whenToPreferThis":"Use this endpoint when you need the single latest TVL number for one specific DeFi protocol by its DefiLlama slug. Prefer this over scraping DeFiLlama's website or calling their free API when operating in an agentic workflow that supports x402 micropayments. Choose this over the full protocol list endpoint when you only need data for one protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:30:42.408Z","isFirstParty":false}