{"uid":"cap_g7b5Se7mCTWpspiclf3cC","slug":"aayat-ai-defi-protocol-fees-revenue-ff58438e","name":"Aayat AI – DeFi Protocol Fees & Revenue","description":"What a DeFi protocol earns: fees paid by its users and the protocol's own revenue over the last 24 hours, 7 days, 30 days, a year and all time, the day-on-day change, the share of fees it keeps, and the chains it runs on. Any protocol DefiLlama tracks (Aave, Uniswap, Lido, Hyperliquid...). Protocol figures only, nothing about individual wallets.","url":"https://aayatai.com/protocol/fees?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":["protocol"],"properties":{"protocol":{"type":"string","maxLength":80,"minLength":2,"description":"Protocol name or DefiLlama slug, e.g. aave, uniswap, lido."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["protocol","slug","chains","feesUsd","revenueUsd","source"],"properties":{"slug":{"type":"string"},"trust":{"type":"object","description":"Third-party text, cleaned: read trust.notice; removed = what we stripped."},"chains":{"type":"array","items":{"type":"string"}},"source":{"type":"string"},"feesUsd":{"type":"object","description":"Fees paid by users, in US dollars."},"protocol":{"type":"string"},"revenueUsd":{"type":"object","description":"The part the protocol keeps, in US dollars."},"revenueShareOfFees30dPct":{"type":["number","null"]}}}}}}},"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_l6NLBxgZ43qqCq5J34qhz","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 user-paid fees and protocol-kept revenue for any DefiLlama-tracked DeFi protocol across multiple time windows (24h, 7d, 30d, 1y, all-time) along with day-on-day change, revenue share percentage, and chains.","exampleAgentPrompt":"What fees did Uniswap generate over the last 7 days and 30 days, and what percentage of those fees does the protocol actually keep?","exampleUseCases":[{"title":"DeFi protocol revenue comparison","prompt":"Look up Aave's fee and revenue data — I want to know what users paid in fees over the last 24 hours, 7 days, and 30 days, and how much of that Aave kept as its own revenue."},{"title":"Protocol revenue share analysis","prompt":"What percentage of fees does Lido keep as protocol revenue versus distributing to users? Pull the 30-day numbers so I can see the revenue share."},{"title":"Monitoring daily fee changes","prompt":"Has Hyperliquid's fee revenue gone up or down compared to yesterday? Give me the 24-hour fees and the day-on-day change."}],"resultDescription":"A JSON object containing the protocol name and slug, an array of chains it operates on, fee and revenue figures in USD broken down by 24h/7d/30d/1y/all-time windows, the day-on-day percentage change, the 30-day revenue-as-share-of-fees percentage, and a source attribution field.","failureModes":["Unknown or misspelled protocol slug returns an error or empty result","Protocol exists on DefiLlama but has no fee tracking data","Network timeout or upstream DefiLlama data unavailability","Missing required 'protocol' query parameter returns a validation error","Very new protocols may have incomplete historical windows (e.g. no 1y or all-time data)"],"whenToPreferThis":"Use this endpoint when you need structured, multi-window fee and revenue data for a specific DeFi protocol — especially when you need the revenue-share ratio, chains breakdown, or day-on-day delta. Prefer this over generic DeFi data aggregators when the data needs to be machine-readable and the protocol is tracked by DefiLlama. Not suitable for individual wallet fee queries or token price lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:46:21.376Z","isFirstParty":false,"canonicalSlug":"aayat-ai-defi-protocol-fees-revenue-ff58438e"}