{"uid":"cap_YanqQWQ6EIZ02LD_yBYxe","slug":"defi-tvl-lookup-via-defillama-2d22d1c4","name":"DeFi TVL Lookup via DefiLlama","description":"DeFi TVL from DefiLlama: top protocols filtered by category and chain (TVL, 1d/7d change, market cap, chains), chain TVL rankings with protocol counts, or one protocol with per-chain TVL split and 90 days of daily TVL history.","url":"https://defi.genexxis.com/defi-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"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"mode":{"type":"string","description":"protocols (default), chains or protocol"},"name":{"type":"string","description":"protocol name or slug for mode=protocol, e.g. aave-v3"},"chain":{"type":"string","description":"chain filter, e.g. Ethereum, Base, Solana"},"category":{"type":"string","description":"DefiLlama category for mode=protocols, e.g. Lending, Dexs, Liquid Staking"},"maxItems":{"type":"string","description":"1-100, default 10"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"mode":"protocols","count":10,"source":"Data courtesy of DefiLlama (https://defillama.com, API api.llama.fi)","filters":{"chain":null,"category":"Lending","maxItems":10},"matched":655,"protocols":[{"tvl":16718114450,"mcap":null,"name":"Aave V3","slug":"aave-v3","chains":["Ethereum","Base","Arbitrum"],"category":"Lending","change_1d":-0.25,"change_7d":-1.16,"chainCount":21}]}},"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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_94MFcKNBOVqCq8H4q3ny4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns DeFi TVL data from DefiLlama — top protocols by category/chain, chain TVL rankings, or a single protocol with per-chain breakdown and 90-day history.","exampleAgentPrompt":"Pull the top 15 lending protocols by TVL on Ethereum from DefiLlama, including their 1-day and 7-day TVL changes.","exampleUseCases":[{"title":"Top DeFi protocols by category","prompt":"Show me the top 20 DEX protocols by TVL right now, including their 7-day change and which chains they're on."},{"title":"Single protocol TVL deep-dive","prompt":"Get me the full TVL breakdown for Aave V3 — how it's split across chains and the last 90 days of daily TVL history."},{"title":"Chain TVL rankings","prompt":"Which blockchains have the highest total DeFi TVL right now? Show me the top 10 chains with their protocol counts."}],"resultDescription":"Returns a JSON object with the mode used, filter parameters, total matched count, and an array of protocols or chains. Protocol entries include name, slug, TVL, market cap, 1d/7d change, category, and supported chains. Chain mode returns TVL rankings with protocol counts. Protocol mode adds per-chain TVL split and 90 days of daily TVL history.","failureModes":["Unknown protocol slug returns empty or error result","Invalid category name returns zero matches","Chain filter with non-standard casing may return no results","maxItems outside 1-100 range may be rejected or clamped","DefiLlama upstream API unavailability causes data fetch failure"],"whenToPreferThis":"Use this endpoint when you need structured, filterable DeFi TVL data sourced from DefiLlama — especially when you need to rank protocols by category or chain, compare TVL changes over time, or drill into a single protocol's cross-chain breakdown and historical TVL trend. Prefer this over direct DefiLlama API calls when you want a pay-per-call model with no API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:08.461Z","isFirstParty":false,"canonicalSlug":"defi-tvl-lookup-via-defillama-2d22d1c4"}