{"uid":"cap_D8dEnNX8qUAdILWgGnbvG","slug":"agentdiet-defi-apy-lookup-f8a5795b","name":"AgentDiet DeFi APY Lookup","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/defi-apy?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_et1d8berT5lYRTjd7ZvJQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current DeFi annual percentage yield (APY) data for a given asset, paid per-call via x402 USDC micropayment on Base.","exampleAgentPrompt":"What's the current DeFi APY for USDC right now? Use the AgentDiet DeFi APY endpoint to pull the latest yield rate.","exampleUseCases":[{"title":"Compare DeFi yields for stablecoins","prompt":"What's the current APY I can earn on USDC in DeFi protocols? Fetch the latest yield data so I can decide where to park my stablecoins."},{"title":"Monitor ETH staking returns","prompt":"Can you look up the current DeFi APY for ETH? I want to know what annual yield I'd be getting if I put my ETH into a DeFi lending protocol right now."},{"title":"Agent-driven yield optimization check","prompt":"Pull the current DeFi APY for DAI so my portfolio rebalancing agent can decide whether moving funds into a yield position makes sense today."}],"resultDescription":"Returns a JSON object with a 'data' field containing the DeFi APY information for the queried asset, a 'status' field confirming the response ('ok'), and a 'roi_proof' object showing compression ratio percentage (e.g. 91.4%) as a proof of processing.","failureModes":["Missing or invalid 'asset' query parameter returns empty or error data","Payment not settled in USDC on Base causes 402 Payment Required response","Invalid HTTP method returns schema validation error","Asset symbol not supported or recognized returns empty data object","Network or node unavailability returns a failed status response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a fast, per-call DeFi APY lookup for a specific crypto asset and can settle micropayments in USDC on Base via x402. Prefer it for automated agent workflows that need yield data without committing to a subscription, or when operating in a B2A/A2A payment-gated pipeline already using the x402/L402 protocol stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:41.822Z","isFirstParty":false,"canonicalSlug":"agentdiet-defi-apy-lookup-f8a5795b"}