{"uid":"cap_EYkcvFzYjaDb9ehZppLbj","slug":"tokenguard-defi-protocol-fees-api-b5215a1f","name":"TokenGuard DeFi Protocol Fees API","description":"Protocol fees and revenue ranked by 30d total — top earning DeFi protocols with 24h/7d/30d breakdown (DeFiLlama, free, no key).","url":"https://eltociear-tokenguard.hf.space/fees","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","description":"Max protocols to return (default 20)"},"data_type":{"type":"string","description":"dailyFees or dailyRevenue (default dailyFees)"}}},"responseSchema":{"type":"json","example":{"protocols":[{"name":"Uniswap","category":"DEX","fees_30d_usd":50000000}],"total_protocols":2340}},"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_tQ2jwNvB_sUKA2kAb3lJ7","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 30-day fee data across DeFi protocols, categorized by protocol name and type (e.g. DEX), with aggregate protocol counts.","exampleAgentPrompt":"Pull the 30-day fee data for DeFi protocols from TokenGuard and show me which protocols — especially DEXes like Uniswap — generated the most fees, along with the total number of protocols tracked.","exampleUseCases":null,"resultDescription":"Returns a JSON array of DeFi protocols, each with a name, category (e.g. DEX, lending), and 30-day fee revenue in USD. Also includes a total_protocols count reflecting the full scope of tracked protocols.","failureModes":["Invalid or malformed POST body returns 400 error","Payment not provided or insufficient USDC results in 402 Payment Required","Protocol filter returns empty array if no matching protocols found","Service unavailability on Hugging Face Spaces may cause 503 errors","Rate limiting may occur under high request volume"],"whenToPreferThis":"Choose this endpoint when you need aggregated DeFi protocol fee data across a wide range of protocols (2000+), especially for comparing fee generation across DEXes, lending protocols, and other DeFi categories over a 30-day window. Prefer this over generic market data APIs when DeFi-native protocol economics and on-chain fee analytics are the primary need.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:02:20.275Z","isFirstParty":false}