{"uid":"cap_Snfo-uqoxtmSl5wfed-zA","slug":"aayat-ai-defi-protocol-fee-revenue-rankings-7ddae01b","name":"Aayat AI – DeFi Protocol Fee & Revenue Rankings","description":"Which crypto protocols earn the most: a ranking by fees paid by users or by the protocol's own revenue over 24 hours, 7 days or 30 days, optionally for one chain (e.g. Base, Solana) or one category (Dexs, Lending, Stablecoin Issuer, Derivatives...). Up to 50 rows with amount, day-on-day change and number of chains. DefiLlama data.","url":"https://aayatai.com/protocol/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":{"by":{"enum":["fees","revenue"],"type":"string","default":"fees","description":"fees = what users paid; revenue = what the protocol kept."},"chain":{"type":"string","maxLength":60,"description":"Only this chain, e.g. Base (default: all chains)."},"limit":{"type":"integer","default":10,"maximum":50,"minimum":1,"description":"How many rows (1-50)."},"detail":{"enum":["full","brief"],"type":"string","default":"full","description":"brief = key fields only (same price)"},"period":{"enum":["24h","7d","30d"],"type":"string","default":"24h","description":"Time window."},"category":{"type":"string","maxLength":60,"description":"Only this DefiLlama category, e.g. Dexs, Lending (default: all)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["by","period","protocols","source"],"properties":{"by":{"type":"string"},"chain":{"type":["string","null"]},"trust":{"type":"object","description":"Third-party text, cleaned: read trust.notice; removed = what we stripped."},"period":{"type":"string"},"source":{"type":"string"},"category":{"type":["string","null"]},"protocols":{"type":"array","items":{"type":"object"}},"totalTracked":{"type":"integer"}}}}}}},"responseSchema":null,"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_S5nqLzaf_RtUimeJC1ERG","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 a ranked list of up to 50 crypto protocols by fees paid by users or by protocol revenue over 24h, 7d, or 30d, optionally filtered by chain or category, using DefiLlama data.","exampleAgentPrompt":"Show me the top 20 DeFi protocols ranked by fees paid over the last 7 days on Solana, including day-on-day changes.","exampleUseCases":[{"title":"Top DEX fee earners this week","prompt":"What are the top 10 decentralized exchanges ranked by fees collected in the last 7 days across all chains?"},{"title":"Lending protocol revenue on Base","prompt":"Which lending protocols earned the most revenue on Base in the last 30 days? Show me up to 15 results with day-on-day changes."},{"title":"Daily fee leaders across all DeFi","prompt":"Give me the top 25 DeFi protocols by user fees paid in the last 24 hours, across all categories and chains."}],"resultDescription":"A ranked JSON array of up to 50 DeFi protocols with protocol name, fee or revenue amount for the selected period, percentage change day-on-day, and number of chains the protocol operates on. Also includes metadata such as the ranking metric used, time period, optional chain/category filter applied, total number of protocols tracked, and the DefiLlama source attribution.","failureModes":["Invalid chain name returns empty results or error","Invalid category string returns no matching protocols","Limit out of range (below 1 or above 50) returns validation error","DefiLlama data unavailability may cause stale or missing results","Unsupported period value returns schema validation error"],"whenToPreferThis":"Choose this endpoint when you need current or recent DeFi protocol fee and revenue rankings from DefiLlama, especially when filtering by chain or protocol category matters. Prefer it over generic crypto market data APIs because it specifically surfaces protocol-level economic activity (fees and revenue) rather than token prices or TVL. It is ideal for DeFi research agents, investment screening, and competitive protocol analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:38:05.297Z","isFirstParty":false,"canonicalSlug":"aayat-ai-defi-protocol-fee-revenue-rankings-7ddae01b"}