{"uid":"cap_Njkd9QtQzSprOckit7HDO","slug":"dripmetrics-ai-protocol-fee-yield-8d831b1d","name":"DripMetrics AI Protocol Fee Yield","description":"DripMetricsAI (https://dripmetrics.ai/) provides on-demand crypto market microstructure metrics, Hyperliquid candle metrics, Polymarket diagnostics, and on-chain DefiLlama metrics for agents, dashboards, and trading workflows.","url":"https://api.dripmetrics.ai/metrics/onchain/protocol-fee-yield","method":"POST","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":["POST"],"type":"string"},"queryParams":{"type":"object","required":["protocol","window"],"properties":{"window":{"enum":["7d","30d","90d"],"type":"string"},"protocol":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["metric","window","value","unit","components","computedAt"],"properties":{"unit":{"type":"string"},"value":{"type":"number"},"metric":{"type":"string"},"window":{"type":"string"},"protocol":{"type":"string"},"components":{"type":"object"},"computedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"unit":"annualized_fee_yield","value":0.147,"metric":"protocol-fee-yield","window":"30d","protocol":"uniswap","components":{"source":"DefiLlama","feesUsd":36200000,"avgTvlUsd":2995918367,"revenueUsd":4000000,"observations":30,"feeYieldLabel":"medium","annualizedFeeYield":0.147,"annualizedRevenueYield":0.016247},"computedAt":"2026-06-10T16:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Hn_VjOHD2DZEdUt29jVQS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes annualized fee yield and revenue yield for a DeFi protocol over a specified time window using DefiLlama on-chain data.","exampleAgentPrompt":"What's the annualized fee yield for Uniswap over the last 30 days — pull the DefiLlama on-chain metrics and tell me whether it's considered medium or high yield?","exampleUseCases":[{"title":"DeFi protocol yield benchmarking","prompt":"Give me the annualized fee yield for Aave over the past 90 days — I want to know if it's generating strong returns relative to its TVL."},{"title":"Token investment due diligence","prompt":"Before I allocate capital, can you check what Curve's 30-day annualized fee yield looks like and how much revenue it's earning versus its total value locked?"},{"title":"Protocol revenue monitoring dashboard","prompt":"Pull the 7-day protocol fee yield for Uniswap so I can track whether fee generation is trending up or down this week."}],"resultDescription":"Returns a JSON object with the protocol name, time window, annualized fee yield (as a decimal, e.g. 0.147 = 14.7%), annualized revenue yield, total fees in USD, average TVL in USD, revenue in USD, number of daily observations, a categorical fee yield label (e.g. 'medium'), the data source (DefiLlama), and a timestamp of when the metric was computed.","failureModes":["Unknown or misspelled protocol name returns an error or empty result","Invalid window value outside the 7d/30d/90d enum causes a validation error","DefiLlama data unavailable for a protocol results in incomplete metrics","Protocols with very low TVL or short history may return unreliable yield figures","Network timeout or upstream DefiLlama outage causes a 5xx response"],"whenToPreferThis":"Use this endpoint when you need on-chain, DefiLlama-sourced protocol fee yield computed over a standardized 7d, 30d, or 90d window with annualization. Prefer it over raw DefiLlama API calls when you want pre-computed annualized yield ratios, categorical labels, and structured components in a single response. Ideal for investment research, protocol comparisons, and automated DeFi dashboards that need consistent fee-to-TVL metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:58.983Z","isFirstParty":false}