{"uid":"cap_4tAbVHEJJ1clXfcQ398EE","slug":"defi-tvl-lookup-by-protocol-slug-5c2aa164","name":"DeFi TVL Lookup by Protocol Slug","description":"DeFi TVL API: current total value locked in USD for any DeFi protocol by DefiLlama slug ('aave', 'uniswap', 'lido' — full list at defillama.com/protocols). Aggregates across every chain the protocol deploys on. Use for protocol health checks, DeFi rankings, risk screening, and market research by autonomous agents. Slugs are lowercase. Cached up to 5 minutes; freshness reported in meta.fetchedAt.","url":"https://gateway.stride20k.com/defi/tvl/:protocol","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"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_CioVBEt90cnSa6QcQYTSX","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 any DeFi protocol, aggregated across all chains, using a DefiLlama slug as identifier.","exampleAgentPrompt":"What's Aave's current total value locked in USD across all chains? I want to check its protocol health before investing.","exampleUseCases":[{"title":"Compare top DeFi protocol sizes","prompt":"Can you pull the current TVL for Uniswap, Curve, and Lido so I can rank them by size and figure out which protocols are dominating the market right now?"},{"title":"Risk screen before yield farming","prompt":"Before I deploy capital into Compound, can you check how much total value is locked in it across all chains? I want to make sure it's a healthy, well-capitalized protocol."},{"title":"Track MakerDAO protocol health","prompt":"What's MakerDAO's current TVL in USD? I'm doing weekly DeFi market research and need to see if its locked value has grown or shrunk compared to last time I checked."}],"resultDescription":"A JSON object containing the protocol slug, its current TVL in USD (aggregated across all chains), plus metadata including the upstream source (DefiLlama), whether the result was served from cache, and the ISO 8601 timestamp of when data was last fetched from the upstream (cached up to 5 minutes).","failureModes":["Unknown or misspelled protocol slug returns an error (slugs must match DefiLlama's exact lowercase format)","Protocol not yet indexed by DefiLlama returns a not-found error","Upstream DefiLlama API unavailability causes a fetch failure","Stale cache (up to 5 minutes) may return slightly outdated TVL during volatile market conditions","Payment failure (x402) blocks the request if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a quick, aggregated, cross-chain TVL figure for a specific DeFi protocol and already know its DefiLlama slug. Ideal for protocol health checks, risk screening, DeFi rankings, and market research by autonomous agents. Prefer this over scraping DefiLlama's website directly, as it provides structured JSON output with cache freshness metadata and requires only a single protocol slug parameter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:46:21.393Z","isFirstParty":false}