{"uid":"cap_FrQFkom7sRoQbNnMJbmr5","slug":"beggar-bot-fee-history-lookup-1093f65a","name":"Beggar Bot Fee History Lookup","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/feehist?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","properties":{"days":{"type":"string","description":"days (30)"},"type":{"type":"string","description":"dailyFees|dailyRevenue|dailyHoldersRevenue"},"protocol":{"type":"string","description":"DefiLlama slug"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VXmySIB73mUMSa54qwThi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves historical fee and revenue data for DeFi protocols via DefiLlama, returning daily fee or revenue metrics over a specified time window.","exampleAgentPrompt":"Can you pull the last 30 days of daily fee history for Uniswap from the Beggar Bot fee history endpoint?","exampleUseCases":[{"title":"DeFi protocol fee trend analysis","prompt":"Show me the dailyFees for Aave over the past 30 days so I can see how their fee revenue has trended."},{"title":"Protocol revenue comparison research","prompt":"Fetch the dailyRevenue for Curve for the last 7 days — I want to understand how much they've been earning recently."},{"title":"Holders revenue tracking","prompt":"Get me the dailyHoldersRevenue data for Uniswap over the past 14 days so I can see how much value is flowing to token holders."}],"resultDescription":"A JSON object containing a time-series array of daily fee, revenue, or holders-revenue data points for the requested DeFi protocol, covering the specified number of past days.","failureModes":["Invalid or unrecognized DefiLlama protocol slug returns an error or empty result","Payment of $0.02 USDC on Base mainnet not provided or insufficient — returns HTTP 402","Invalid 'type' parameter (not one of dailyFees|dailyRevenue|dailyHoldersRevenue) may return an error","Network connectivity issues to the Cloudflare Worker result in timeout or 5xx error","Requesting data for a protocol with no fee history returns empty arrays"],"whenToPreferThis":"Use this endpoint when you need historical daily fee or revenue data for a specific DeFi protocol, especially when you want granular time-series data sourced from DefiLlama. Prefer this over general DeFi data APIs when you need a lightweight, pay-per-call micropayment model (x402/USDC) and don't want to manage API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:44:03.595Z","isFirstParty":false,"canonicalSlug":"beggar-bot-fee-history-lookup-1093f65a"}