{"uid":"cap_A3KoyhGZdnuQ7tdr41Rds","slug":"agentsvc-io-defi-tvl-lookup-ad8b07e4","name":"agentsvc.io DeFi TVL Lookup","description":"86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.","url":"https://agentsvc.io/api/v1/proxy/defi-tvl?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["protocol","top","chains","dex_volume"],"type":"string"},"chain":{"type":"string","description":"Chain name, e.g. Base, Ethereum (modes top, dex_volume)"},"limit":{"type":"integer","default":10,"maximum":50,"minimum":1},"category":{"type":"string","description":"DefiLlama category (mode top)"},"protocol":{"type":"string","description":"Protocol slug or name (mode protocol)"}}},"responseSchema":{"type":"json","example":{"data":{"mode":"protocol","found":true,"query":"aave","source":"DefiLlama","protocols":[{"url":"https://aave.com","name":"Aave V3","slug":"aave-v3","symbol":"AAVE","tvl_usd":18447878695,"category":"Lending","mcap_usd":null,"defillama":"https://defillama.com/protocol/aave-v3","top_chains":[{"chain":"Ethereum","tvl_usd":15545458426},{"chain":"Base","tvl_usd":574387153}],"chain_count":21,"mcap_to_tvl":null,"change_1d_pct":-0.62,"change_7d_pct":0.2},{"url":"https://aave.com","name":"Aave V4","slug":"aave-v4","symbol":"AAVE","tvl_usd":675107580,"category":"Lending","mcap_usd":null,"defillama":"https://defillama.com/protocol/aave-v4","top_chains":[{"chain":"Ethereum","tvl_usd":461813271},{"chain":"Arc","tvl_usd":183375728}],"chain_count":3,"mcap_to_tvl":null,"change_1d_pct":-0.4,"change_7d_pct":3.07}],"checked_at":"2026-10-06T14:29:38.091Z"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pmcvS4Ffe1BQ1iwzD2xLm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches DeFi protocol TVL data, top protocols by chain/category, chain stats, and DEX volume from DefiLlama via a pay-per-call API.","exampleAgentPrompt":"What's the current TVL for Aave across all chains, and how has it changed over the last 7 days? Use protocol mode and search for 'aave'.","exampleUseCases":[{"title":"Protocol TVL research for investment analysis","prompt":"Look up the current TVL for Uniswap, including its breakdown by chain and the 7-day change percentage — I want to see how it's been trending."},{"title":"Top DeFi protocols on a specific chain","prompt":"Give me the top 15 DeFi protocols by TVL on Ethereum right now, so I can see where the most liquidity is concentrated."},{"title":"DEX volume monitoring on Base","prompt":"What's the current DEX trading volume on Base? I want to understand how active on-chain trading is there compared to other chains."}],"resultDescription":"Returns a JSON object with the queried mode, a found flag, the source (DefiLlama), a timestamp, and an array of matched protocols each containing name, slug, symbol, TVL in USD, category, DefiLlama URL, top chains with TVL breakdown, chain count, mcap-to-TVL ratio, and 1-day and 7-day percentage changes.","failureModes":["Protocol slug not found returns found:false with empty protocols array","Invalid mode enum value returns a validation error","Chain name typo may return no results","Payment failure (402) if USDC balance is insufficient","Rate limit or upstream DefiLlama API unavailability causes service errors"],"whenToPreferThis":"Use this endpoint when you need real-time DeFi TVL data sourced from DefiLlama without needing a DefiLlama API key or account. It is ideal for agents that need on-demand TVL lookups paid per-call in USDC with no subscription overhead. Prefer this over direct DefiLlama API calls when operating in a pay-per-use agent economy or when account management is undesirable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:40:16.363Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-defi-tvl-lookup-ad8b07e4"}