{"uid":"cap_iisilVfbb_F8JVs-VW1nl","slug":"defi-protocol-fees-history-108d3cff","name":"DeFi Protocol Fees History","description":"Fees history for one protocol","url":"https://santyvv-x402.santyvv1993.workers.dev/api/defi/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","properties":{}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Iqt6IjTfWNVAcWDYWwG1u","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical fee data for a specified DeFi protocol over time","exampleAgentPrompt":"Can you pull up the historical fee data for the Uniswap protocol so I can see how fees have trended over time?","exampleUseCases":[{"title":"Tracking Uniswap fee revenue trends","prompt":"Show me the full fees history for Uniswap — I want to see how much the protocol has been generating in fees over time."},{"title":"Comparing protocol fee metrics for research","prompt":"I'm researching DeFi protocols — can you get me the historical fee data for Aave so I can analyze its revenue trends?"},{"title":"Monitoring protocol health via fee changes","prompt":"Can you fetch the fees history for Curve Finance? I want to monitor whether fees are growing or declining to assess the protocol's activity."}],"resultDescription":"Returns a time-series dataset of fee amounts collected by the specified DeFi protocol, typically including timestamps and fee values that allow analysis of historical fee trends and protocol revenue over time.","failureModes":["Unknown or unsupported protocol identifier returns empty or error response","Missing required protocol parameter causes validation error","Upstream DeFi data source unavailable leads to timeout or 503","Protocol has no recorded fee history returns empty dataset","Rate limiting or payment failure returns 402 or 429 status"],"whenToPreferThis":"Use this endpoint when you need historical fee data for a specific DeFi protocol — useful for analytics, research, or monitoring protocol revenue over time. Prefer this over general market data endpoints when the focus is specifically on protocol-level fee metrics rather than token prices or market cap.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:35:10.416Z","isFirstParty":false,"canonicalSlug":"defi-protocol-fees-history-108d3cff"}