{"uid":"cap_BMZmcSzClvw7c7dh_bLgT","slug":"defi-protocol-fees-revenue-api-26c7a130","name":"DeFi Protocol Fees & Revenue API","description":"DeFi protocol fees and revenue: total 24h and 7d fees (USD) paid by users across protocols, plus the top protocols by 24h fees with each one's 24h revenue where reported. Optional `chain` filter scopes totals and ranking to one chain.","url":"https://crypto.openverbs.com/v1/fees","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":[],"properties":{"chain":{"type":"string","maxLength":50,"minLength":1,"description":"Filter to one chain, e.g. \"Ethereum\", \"Arbitrum\"."},"limit":{"type":"integer","maximum":50,"minimum":1,"description":"How many protocols to return, ranked by 24h fees (default 10)."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":null,"count":1552,"stale":false,"source":"defillama","protocols":[{"name":"Tether","chains":["Off Chain"],"category":"Stablecoin Issuer","fees7dUsd":113034814,"fees24hUsd":16099061,"revenue24hUsd":null}],"total7dUsd":585394346.8,"total24hUsd":83772399.73}},"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_0DjXpvA8UebZo5TEclcFf","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 total 24h and 7d DeFi protocol fees paid by users plus a ranked list of top protocols by 24h fees with revenue, optionally filtered by chain.","exampleAgentPrompt":"What are the top 15 DeFi protocols by fees in the last 24 hours on Ethereum, and how much total fees have users paid across all protocols today and this week?","exampleUseCases":[{"title":"Daily DeFi fee leaderboard monitoring","prompt":"Give me the top 20 DeFi protocols ranked by fees generated in the last 24 hours, including how much revenue each one reported."},{"title":"Chain-specific fee analysis","prompt":"What are the total DeFi fees paid on Arbitrum over the last 24 hours and 7 days, and which protocols are collecting the most fees there?"},{"title":"Weekly DeFi revenue research","prompt":"I'm writing a market report — can you pull the total fees users paid across all DeFi protocols over the last 7 days and show me the top 10 protocols by fees with their revenue figures?"}],"resultDescription":"Returns aggregate USD fee totals for 24h and 7d periods across all DeFi protocols, plus a ranked list of top protocols by 24h fees showing each protocol's name, 24h fees, and 24h revenue where available. Results can be scoped to a single chain.","failureModes":["Invalid chain name returns empty or error response","Limit out of range (must be 1–50) causes validation error","Upstream DeFi data source lag may cause stale or incomplete fee figures","Missing or zero revenue for protocols that do not publicly report revenue"],"whenToPreferThis":"Choose this endpoint when you need current DeFi fee and revenue metrics ranked by protocol, especially when filtering to a specific chain. Prefer this over TVL or volume endpoints when the user's question is specifically about fees paid by users or protocol revenue generation rather than liquidity or trading activity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:12.217Z","isFirstParty":false}