{"uid":"cap_1PBBdU5e-O8qY5IdJ5-Z6","slug":"x402-hub-defi-yield-api-63161d04","name":"X402 Hub DeFi Yield API","description":"63 paid API endpoints protected by x402 micropayments on Base","url":"https://x402-hub.vercel.app/api/defi-yield?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Query parameter for the API"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","description":"Response data from upstream API"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B03JZ9lz_xtzi1ve2WCBM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns DeFi yield data and rates for decentralized finance protocols, paid via x402 micropayments on Base","exampleAgentPrompt":"What are the current DeFi yield rates for USDC staking across major protocols on Base?","exampleUseCases":[{"title":"Best stablecoin yield hunt","prompt":"Find me the highest current APY for USDC deposits across DeFi protocols — I want to know where to park stablecoins for yield right now."},{"title":"Yield farming strategy research","prompt":"What are the top yield farming opportunities available in DeFi today? Show me protocols with the best APY for liquidity providers."},{"title":"DeFi portfolio yield comparison","prompt":"I'm comparing ETH staking yield vs lending yield on Aave vs other DeFi protocols — can you pull the current rates so I can decide where to allocate?"}],"resultDescription":"Returns a data object containing DeFi yield information such as APY rates, protocol details, and yield metrics for the queried DeFi asset or protocol. The response wraps upstream DeFi data in a standard envelope.","failureModes":["Missing or empty query field returns validation error","Unrecognized protocol or token name may return empty or irrelevant data","Payment failure via x402 if insufficient USDC balance on Base","Upstream DeFi data provider downtime causing stale or missing data","Malformed query string may result in unexpected response structure"],"whenToPreferThis":"Use this endpoint when you need current DeFi yield rates, APY comparisons, or protocol-level return data and are operating in an x402-enabled micropayment context on Base. Prefer this over manual web scraping or free-tier APIs when you need structured data in an agent workflow and can tolerate a $0.09 per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:42:18.610Z","isFirstParty":false,"canonicalSlug":"x402-hub-defi-yield-api-63161d04"}