{"uid":"cap_wwln_1zxmediKs7lWSH9y","slug":"api-strale-io-7ce9c887","name":"DeFi Protocol Fees & Revenue Lookup","description":"Get fees and revenue data for any DeFi protocol. Returns 24h, 7d, 30d, and all-time fees plus revenue breakdown. Covers 7,000+ protocols via DeFi Llama.","url":"https://api.strale.io/x402/protocol-fees-lookup?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["protocol"],"properties":{"protocol":{"type":"string","description":"Protocol name or DeFi Llama slug (e.g., 'aave-v3', 'uniswap')"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"protocol":"aave-v3"}}},"response":{"slug":"1599","_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0x7b4194cbaf8f56bac7c3c3637256dac7393a3ae0c81447cbf819c724969fcccf"},"capability":"protocol-fees-lookup","latency_ms":3198,"provenance":{"source":"api.llama.fi","fetched_at":"2026-06-16T01:24:30.184Z"}},"protocol":"Aave V3","fees_7d_usd":6720954,"fees_24h_usd":982141,"fees_30d_usd":41173496,"revenue_7d_usd":null,"revenue_24h_usd":null,"revenue_30d_usd":null,"fees_all_time_usd":1737019291,"fees_48h_to_24h_usd":943543,"revenue_all_time_usd":null}},"exampleRequest":{"protocol":"aave-v3"},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k5_YMJMb1damN_uCLk9PI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns 24h, 7d, 30d, and all-time fees and revenue data for any DeFi protocol, covering 7,000+ protocols via DeFi Llama.","exampleAgentPrompt":"What are the fees and revenue for Aave V3 — give me the 24h, 7d, 30d, and all-time numbers.","exampleUseCases":null,"resultDescription":"Returns a structured breakdown of fees and revenue for the specified DeFi protocol across four time windows: 24 hours, 7 days, 30 days, and all-time. Includes a revenue breakdown showing how fees are distributed. Data is sourced from DeFi Llama, covering over 7,000 protocols.","failureModes":["Unknown or misspelled protocol name returns an error or empty result","Protocol exists on DeFi Llama but has no fee tracking data","Rate limiting or payment failure returns 402 or 429 status","Protocol slug differs from common name (e.g., 'uniswap-v3' vs 'uniswap') causing no match","Newly launched protocols may have incomplete or missing historical data"],"whenToPreferThis":"Use this endpoint when you need structured fee and revenue metrics for any DeFi protocol across multiple time horizons. It is ideal for protocol comparison, due diligence, yield analysis, or tracking DeFi ecosystem revenue trends. The 7,000+ protocol coverage via DeFi Llama makes it the best choice for broad DeFi analytics without needing to integrate DeFi Llama directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:30:57.700Z","isFirstParty":false,"canonicalSlug":"api-strale-io-7ce9c887"}