{"uid":"cap_5VD0yNj7m6B5JX6uTH02R","slug":"defi-protocols-by-tvl-2da2ef54","name":"DeFi Protocols by TVL","description":"Top DeFi protocols ranked by TVL (total value locked), highest first, source DefiLlama. Optional parameter: ?limit=<n> (1 to 100, default 20).","url":"https://x402-seller-0ay3.onrender.com/api/defi/protocols","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":{"limit":{"type":"integer","description":"Number of protocols to return (1-100, default 20)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":20,"source":"https://api.llama.fi/protocols","protocols":[{"name":"Binance CEX","chain":"Multi-Chain","symbol":"BNB","tvl_usd":120000000000,"category":"CEX"}],"fetched_at":"2026-09-01T12:00:00.000Z"}},"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_ULPAdfaOaU6IPXxiULk_i","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 top DeFi protocols ranked by total value locked (TVL) in USD, sourced from DefiLlama, with an optional limit parameter.","exampleAgentPrompt":"Pull the top 20 DeFi protocols ranked by total value locked from DefiLlama and show me their names, chains, and TVL figures.","exampleUseCases":[{"title":"DeFi market overview dashboard","prompt":"Give me the top 50 DeFi protocols ranked by TVL right now — I want to see the name, chain, category, and how much is locked in each one."},{"title":"Identifying leading DeFi protocol","prompt":"Which DeFi protocol has the highest total value locked right now according to DefiLlama? Show me the top 5."},{"title":"Competitor landscape research","prompt":"I'm researching the DeFi lending space — can you pull the top 30 DeFi protocols by TVL so I can see who the biggest players are and what chains they're on?"}],"resultDescription":"Returns a JSON object containing a count of results, the source URL (DefiLlama API), a fetch timestamp, and an array of protocol objects each with name, chain, token symbol, TVL in USD, and category — sorted highest TVL first.","failureModes":["limit parameter out of range (below 1 or above 100) may return an error or default behavior","DefiLlama API unavailability may cause stale or missing data","Network timeout on Render.com cold start if service is idle","Missing or malformed query parameter may return default 20 results"],"whenToPreferThis":"Choose this endpoint when you need a ranked list of DeFi protocols by TVL sourced from DefiLlama without building your own aggregation logic. It is ideal for market overviews, competitor research, or any workflow needing up-to-date TVL rankings across multiple chains. Prefer this over raw DefiLlama API calls when you want a pay-per-use, agent-compatible interface at low cost ($0.005 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:50.005Z","isFirstParty":false}