{"uid":"cap_zgMYzZm1SPczUUbOX01Wq","slug":"agentdiet-defi-apy-lookup-f624a923","name":"AgentDiet DeFi APY Lookup","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.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_ocZwoqVHL88yNqT7Y9WtC","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 via the AgentDiet MCP Gateway, paid per-call in USDC on Base.","exampleAgentPrompt":"What's the current DeFi APY for USDC right now? I want to know what yield I can earn by supplying it to a protocol.","exampleUseCases":[{"title":"Stablecoin yield monitoring for treasury","prompt":"What's the current DeFi APY available for USDC? I'm trying to decide where to park our stablecoin treasury to maximize yield."},{"title":"ETH staking rate comparison","prompt":"Can you check what APY is available for ETH in DeFi right now? I want to know if it's worth moving funds from a CeFi platform."},{"title":"DeFi yield alert for portfolio agent","prompt":"Look up the current APY for DAI in DeFi and tell me if it's above 5% so I know whether to rebalance my holdings."}],"resultDescription":"Returns a JSON object with a 'status' field ('ok'), a 'data' object containing APY/yield information for the queried asset, and an 'roi_proof' object including a compression_ratio_pct metric indicating data compression efficiency. The data field contains the actual DeFi yield rates.","failureModes":["Unsupported or unrecognized asset ticker returns empty or error data","Payment failure (402) if USDC payment on Base is not processed correctly","Gateway unavailability causes 5xx errors","Missing required 'input' or 'method' fields returns schema validation error","Stale or unavailable upstream DeFi data may result in empty data fields"],"whenToPreferThis":"Prefer this endpoint when you need current DeFi APY data for a specific asset and want a pay-per-call model settling in USDC on Base via x402 protocol, particularly within an agent or MCP workflow. Useful when integrating DeFi yield lookups into automated agent pipelines without needing a subscription or API key — just a Base wallet for micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:01.734Z","isFirstParty":false,"canonicalSlug":"agentdiet-defi-apy-lookup-f624a923"}