{"uid":"cap_w52CLF3DpCfbjwAiPviX_","slug":"defi-protocol-tvl-lookup-4d2abe4b","name":"DeFi Protocol TVL Lookup","description":"DeFi total value locked for agents: TVL of any protocol and TVL ranking of chains. Paid per call via x402 (USDC on Base).","url":"https://defi.x402utils.workers.dev/v1/protocol-tvl?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["protocol"],"properties":{"protocol":{"type":"string","description":"comma-separated protocol slugs"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"protocols":{"aave":{"tvl_usd":19222272263}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mcG7FO8OvAY3LFYnZM__x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 one or more specified DeFi protocols, paid per call via x402 micropayments.","exampleAgentPrompt":"What's the current total value locked for Aave and Uniswap right now?","exampleUseCases":[{"title":"Protocol due diligence before investing","prompt":"Before I put money into this protocol, can you tell me the current TVL for Lido and Rocket Pool so I can compare how big they are?"},{"title":"DeFi dashboard TVL monitoring","prompt":"Pull the current TVL for Aave, Uniswap, MakerDAO, and Compound so I can update my DeFi dashboard."},{"title":"Research report on protocol size","prompt":"I'm writing a report on lending protocols — what's the TVL for Aave, Compound, and Morpho right now?"}],"resultDescription":"A JSON object keyed by protocol slug, each containing the protocol's current total value locked in USD (e.g. {\"protocols\":{\"aave\":{\"tvl_usd\":19222272263}}}).","failureModes":["Unknown or misspelled protocol slug returns empty or error response","Multiple protocol slugs with one invalid may cause partial or full failure","Network or worker timeout if queried under load","x402 payment failure if USDC balance on Base is insufficient","Rate limiting if called too frequently without valid payment"],"whenToPreferThis":"Choose this endpoint when you need real-time TVL data for specific DeFi protocols by slug and want a low-cost, pay-per-call model via x402 micropayments on Base. It is ideal for agents that need to programmatically compare protocol sizes, monitor DeFi health, or enrich reports with live TVL figures without committing to a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:34:55.756Z","isFirstParty":false,"canonicalSlug":"defi-protocol-tvl-lookup-4d2abe4b"}