{"uid":"cap_K8Sagc8rJBFsoHtAaGWZr","slug":"defi-api-agenticfi-wtf-bc18b38b","name":"DeFi Protocol TVL Lookup","description":"TVL by protocol - top 50 or specific protocol with chain breakdown","url":"https://defi-api.agenticfi.wtf/api/defi/protocol-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","properties":{"protocol":{"type":"string","title":"protocol (optional)","description":"Optional. Protocol slug (e.g. 'aave', 'uniswap') Examples: aave, uniswap, curve"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"protocol":"aave"}}},"response":{"tvl":{"BSC":155063891,"Base":369074621,"Celo":4228238,"Aptos":1333498,"Linea":11178510,"Metis":289276,"Sonic":7719164,"pool2":606670,"Fantom":4674,"Gnosis":50379054,"Mantle":89490355,"Plasma":573577424,"Scroll":1675381,"Harmony":0,"MegaETH":93953028,"Polygon":122750681,"Soneium":155624,"X Layer":58253225,"staking":138254093,"Arbitrum":406337633,"Ethereum":9901493075,"borrowed":9875696815,"Avalanche":260816524,"OP Mainnet":41170748,"ZKsync Era":945895,"BSC-borrowed":73079183,"Base-borrowed":285601639,"Celo-borrowed":2048670,"Aptos-borrowed":751351,"Ethereum-pool2":606670,"Linea-borrowed":8611910,"Metis-borrowed":35371,"Sonic-borrowed":4743965,"Fantom-borrowed":1142,"Gnosis-borrowed":21037819,"Mantle-borrowed":202194527,"Plasma-borrowed":822818646,"Scroll-borrowed":830473,"Ethereum-staking":138254093,"Harmony-borrowed":12082004,"MegaETH-borrowed":431701880,"Polygon-borrowed":54065745,"Soneium-borrowed":38410,"X Layer-borrowed":6817692,"Arbitrum-borrowed":298808943,"Ethereum-borrowed":7466052674,"Avalanche-borrowed":156712630,"OP Mainnet-borrowed":27427018,"ZKsync Era-borrowed":235110},"name":"Aave","chains":[],"totalTvl":12149890529}},"exampleRequest":{"protocol":"aave"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_sCy4NW17_tcqcznZmspmm","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 Total Value Locked (TVL) for the top 50 DeFi protocols or a specific protocol with per-chain breakdown","exampleAgentPrompt":"What's the current TVL for Aave broken down by chain, and also show me the top 50 DeFi protocols by total value locked?","exampleUseCases":null,"resultDescription":"Returns TVL data either for a specific protocol with a per-chain breakdown of locked value, or a ranked list of the top 50 DeFi protocols by TVL if no protocol is specified.","failureModes":["Unknown protocol slug returns empty or error response","Payment of 0.001 USDC required per call via x402 — missing payment results in 402 error","Invalid protocol slug (e.g. typo) returns no data","Rate limiting if too many requests sent in quick succession"],"whenToPreferThis":"Use this endpoint when you need current TVL figures for specific DeFi protocols or want a ranked overview of the top 50 protocols. Ideal for comparing protocol size, tracking TVL trends, or performing chain-level TVL analysis. Prefer this over lending-rate endpoints (the sibling endpoint) when the user cares about locked capital rather than interest rates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:30:57.326Z","isFirstParty":false}