{"uid":"cap_MsSjhCwysZ-IM8QM4CHVk","slug":"agentdiet-defi-yield-intelligence-endpoint-51ac94dd","name":"AgentDiet DeFi Yield Intelligence Endpoint","description":"15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).","url":"https://github-audit.agentdiet.dev/v1/defi-yield?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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"asset":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Z4MOPka8IQE6F37fxRFD_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_oSCbuZVwkJEPxJQAgCfPc","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns DeFi yield data and on-chain ROI metrics for a specified asset via a pay-per-call x402 API","exampleAgentPrompt":"Can you pull the current DeFi yield data for USDC using AgentDiet and show me the ROI proof and compression ratio?","exampleUseCases":[{"title":"DeFi yield check for stablecoin","prompt":"What's the current DeFi yield available for USDC right now? I want the on-chain ROI proof too."},{"title":"Token yield research for portfolio","prompt":"Look up the DeFi yield metrics for ETH — I'm deciding whether to move funds into a liquidity pool and want the distilled on-chain data."},{"title":"Yield comparison before rebalancing","prompt":"Fetch me the current yield data for WBTC so I can compare it against what I'm earning in my current position before I rebalance."}],"resultDescription":"Returns a JSON object with a 'data' field containing yield metrics, a 'status' field ('ok'), and an 'roi_proof' object including a compression_ratio_pct (e.g. 91.4%) indicating how much raw on-chain data was distilled.","failureModes":["Missing or invalid 'asset' query parameter returns empty or error data","Payment not fulfilled via x402/HTTP 402 results in payment-required response","Unsupported asset symbol returns empty data object","Service unavailability or upstream on-chain data lag causes stale or null results"],"whenToPreferThis":"Use this endpoint when you need distilled, pay-per-call DeFi yield intelligence for a specific asset with on-chain ROI proof included. Prefer it over broader DeFi aggregators when you want compressed, agent-ready output with a built-in compression ratio metric and micro-payment pricing via x402/USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:42:18.757Z","isFirstParty":false,"canonicalSlug":"agentdiet-defi-yield-intelligence-endpoint-51ac94dd"}