{"uid":"cap_Riul6BJSGxhKwv52Oygu1","slug":"tokenguard-protocol-fees-api-94997df4","name":"TokenGuard Protocol Fees API","description":"protocol fees data for AI agents.","url":"https://eltociear-tokenguard.hf.space/protocol_fees","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_Q84IaLVNKeo1OWtY_WEfW","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 protocol fee data for DeFi protocols, enabling agents to analyze fee structures and revenue across on-chain platforms","exampleAgentPrompt":"Can you pull the protocol fee data for Uniswap from TokenGuard so I can see how much revenue it's generating from fees?","exampleUseCases":[{"title":"Compare DEX protocol fee revenue","prompt":"Look up the protocol fees for Uniswap, Curve, and SushiSwap so I can see which DEX is generating the most fee revenue right now."},{"title":"DeFi yield strategy fee analysis","prompt":"I'm evaluating lending protocols — can you pull the protocol fee data for Aave and Compound so I can factor in their costs before deciding where to deploy capital?"},{"title":"Monitor protocol fee changes over time","prompt":"Get me the current protocol fees for dYdX and tell me what the fee structure looks like — I want to know if it's competitive compared to other perp DEXes."}],"resultDescription":"Returns JSON containing protocol fee metrics such as fee rates, total fee revenue, fee distribution data, and related on-chain analytics for the requested DeFi protocol.","failureModes":["Unknown or unsupported protocol name returns empty or error response","Network/chain not supported returns null data","Payment of $0.01 USDC not fulfilled results in 402 Payment Required","Stale or unavailable on-chain data may return incomplete fee metrics","Malformed POST body returns 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need structured, on-chain protocol fee data for DeFi protocols and want a simple API call rather than querying a blockchain node or subgraph directly. Prefer this over generic block explorers when you need aggregated fee analytics already formatted for agent consumption. Best when fee revenue comparison or DeFi analytics is the primary goal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:51:17.886Z","isFirstParty":false}