{"uid":"cap_znRKbLzBhu2U4f4hdCNAM","slug":"tokenguard-protocol-revenue-api-fad389e0","name":"TokenGuard Protocol Revenue API","description":"protocol revenue data for AI agents.","url":"https://eltociear-tokenguard.hf.space/protocol_revenue","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":{"required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"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":{}},"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_KZNv044uVY-vJ2OVTJcxT","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":"Returns protocol revenue metrics and analytics for DeFi protocols on-chain","exampleAgentPrompt":"Pull the protocol revenue data for Uniswap from TokenGuard — I want to see how much fee revenue it has generated recently on-chain.","exampleUseCases":[{"title":"DeFi protocol revenue comparison","prompt":"Can you fetch the protocol revenue for Aave and compare it to Compound? I want to see which one is generating more on-chain fees right now."},{"title":"Investor due diligence on DeFi earnings","prompt":"I'm evaluating a DeFi investment — can you pull the protocol revenue metrics for Curve Finance so I can see how sustainable its fee income is?"},{"title":"Monitoring revenue trends for a portfolio","prompt":"I hold tokens in several DeFi protocols — can you grab the latest revenue figures for dYdX so I can track whether earnings are growing or shrinking?"}],"resultDescription":"A JSON object containing protocol revenue metrics for the requested DeFi protocol, including fee revenue figures, time-series breakdowns, and on-chain earnings analytics aggregated from blockchain data.","failureModes":["Unknown or unsupported protocol name returns empty or error response","Invalid network/chain specification results in no data","Stale or unavailable on-chain data may cause incomplete results","Malformed request body returns 400-level error","Service unavailability on Hugging Face Space returns 503"],"whenToPreferThis":"Choose this endpoint when you need on-chain protocol revenue and fee data for DeFi protocols specifically, especially when micropayment access via x402 on Base is acceptable. Prefer over general market data APIs when you need granular revenue/fee analytics rather than just price data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:11.217Z","isFirstParty":false}