{"uid":"cap_BEnPaZVG_QhXpMX459OXS","slug":"defi-top-protocols-by-24h-fees-ad0eb1ad","name":"DeFi Top Protocols by 24h Fees","description":"Top DeFi protocols by 24h fees (DefiLlama): name, 24h/7d fees USD, 1d change, plus market total. No params. Use when an agent needs which protocols earn the most.","url":"https://x402-data-api.sigrunner.workers.dev/defi/fees-top?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","properties":{"limit":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["total24h_usd","protocols"],"properties":{"protocols":{"type":"array","items":{"type":"object","required":["name","fees24h_usd"],"properties":{"name":{"type":"string"},"fees24h_usd":{"type":"integer"}}}},"total24h_usd":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"protocols":[{"name":"Tether","fees24h_usd":1000000}],"total24h_usd":66595988}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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_lXKJWhbtBLemOPko0GRR2","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 the top DeFi protocols ranked by 24-hour fees earned, including 7-day fees, 1-day change, and the market-wide total, sourced from DefiLlama.","exampleAgentPrompt":"Which DeFi protocols are earning the most in fees right now? Show me the top ones by 24-hour fees along with the total market fees.","exampleUseCases":[{"title":"DeFi revenue leaderboard for investors","prompt":"What are the top DeFi protocols generating the most fees in the last 24 hours? I want to see who's earning the most and how the market total looks."},{"title":"Daily DeFi fee change monitoring","prompt":"Which DeFi protocols had the biggest 24-hour fee earnings today, and how does that compare to yesterday? I'm tracking day-over-day changes."},{"title":"Protocol fee comparison for research","prompt":"Can you pull the top fee-generating DeFi protocols and their 7-day fee totals? I'm comparing protocol revenue for a research report."}],"resultDescription":"A JSON object containing an array of top DeFi protocols each with their name, 24h fees in USD, 7d fees in USD, and 1-day change percentage, plus a total24h_usd field representing the aggregate fee market total across all protocols.","failureModes":["DefiLlama upstream data unavailable — may return empty or stale data","Network timeout from the Cloudflare Worker — returns 5xx error","Invalid limit parameter type — may return 400 or be silently ignored","Rate limiting or payment failure via x402 — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a ranked, ready-to-use snapshot of top DeFi protocol fee revenue without building your own aggregation pipeline. It is ideal for agents that need quick protocol revenue context for investment analysis, DeFi dashboards, or market summaries, and is preferable over raw DefiLlama API calls because it pre-ranks, pre-formats, and includes market totals in one response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:08:23.251Z","isFirstParty":false,"canonicalSlug":"defi-top-protocols-by-24h-fees-ad0eb1ad"}