{"uid":"cap_OWml1eyKzAjc7_RgaQX2i","slug":"agentdata-api-defi-yields-endpoint-4059d928","name":"AgentData API — DeFi Yields Endpoint","description":"Pay-per-request crypto market data API for AI agents. 16 endpoints on Base Mainnet via x402 protocol. No accounts, no API keys. USDC micropayments from $0.001. Works with Claude Desktop, ElizaOS, and any MCP client.","url":"https://agentdata-api.com/api/defi-yields","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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","properties":{"totalPoolsScanned":{"type":"number"},"topMajorAssetYields":{"type":"array"},"topStablecoinYields":{"type":"array"}}},"success":{"type":"boolean"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5nhOUKyoWnweGz7CzK6j2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current DeFi yield/APY data across protocols, paid via USDC micropayment on Base Mainnet with no API key required.","exampleAgentPrompt":"What are the top DeFi yield opportunities right now — show me the highest APY pools across major protocols, especially for stablecoins like USDC?","exampleUseCases":[{"title":"Find best stablecoin yields for portfolio","prompt":"I want to park some USDC in DeFi for passive income. What protocols are offering the best APY rates right now, and which ones have the lowest risk?"},{"title":"Compare yield farming across protocols","prompt":"Show me the current APY rates for the major DeFi protocols — I'm trying to decide whether to farm on Aave, Curve, or Compound. What's the highest yield I can get?"},{"title":"Scout emerging high-yield opportunities","prompt":"Help me find DeFi pools with exceptional yields that I might have missed. Are there any protocols offering over 15% APY on stablecoins or major assets right now?"}],"resultDescription":"Returns a list of DeFi pools/protocols with their current APY, yield rates, TVL, asset pairs, and chain information, enabling comparison of yield opportunities across the DeFi ecosystem.","failureModes":["Payment failure if insufficient USDC balance on Base Mainnet","402 Payment Required if x402 protocol handshake fails","Stale or missing data if upstream DeFi data source is unavailable","Invalid protocol or asset filter returns empty result set","Network timeout on Base Mainnet transaction confirmation"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time DeFi yield/APY data without managing API keys or subscriptions — ideal for autonomous agents that can pay USDC micropayments via x402 on Base Mainnet. Prefer this over free aggregators when freshness and permissionless access matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:55.625Z","isFirstParty":false}