{"uid":"cap_dkZhaoBrUJna2wbvIg4y4","slug":"baseyield-oracle-x402-f2e07789","name":"BaseYield Oracle x402","description":"Real-Time DeFi Lending & Staking Yield Oracle for Base Mainnet (Chain ID 8453), payable via x402.","url":"https://baseyield-x402.vercel.app/v1/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","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","title":"YieldInput","properties":{"asset":{"type":"string","title":"Asset","default":"USDC","pattern":"^[A-Za-z0-9._-]+$","maxLength":32,"minLength":1},"min_tvl":{"type":"number","title":"Min Tvl","default":100000,"maximum":1000000000000000,"minimum":0}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","properties":{"type":{"const":"json"},"example":{"type":"object","title":"YieldResponse","required":["success","network","source","source_timestamp","fetched_at","timestamp","asset","matched_pools_count","best_apy","best_protocol","pools"],"properties":{"asset":{"type":"string","title":"Asset"},"pools":{"type":"array","items":{"type":"object","title":"Pool","required":["project","symbol","pool_id","apy","apy_base","apy_reward","tvl_usd","underlying_tokens","source_timestamp"],"properties":{"apy":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apy"},"symbol":{"type":"string","title":"Symbol"},"pool_id":{"type":"string","title":"Pool Id"},"project":{"type":"string","title":"Project"},"tvl_usd":{"type":"number","title":"Tvl Usd"},"apy_base":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apy Base"},"apy_reward":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apy Reward"},"source_timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Timestamp"},"underlying_tokens":{"type":"array","items":{"type":"string"},"title":"Underlying Tokens"}}},"title":"Pools"},"source":{"type":"string","title":"Source"},"network":{"type":"string","title":"Network"},"success":{"type":"boolean","title":"Success"},"best_apy":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Best Apy"},"timestamp":{"type":"string","title":"Timestamp"},"fetched_at":{"type":"string","title":"Fetched At"},"best_protocol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Best Protocol"},"source_timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Timestamp"},"matched_pools_count":{"type":"integer","title":"Matched Pools Count"}}}}}}},"responseSchema":{"type":"object","properties":{"asset":{"type":"string"},"pools":{"type":"array"},"network":{"type":"string"},"best_apy":{"type":"number"},"timestamp":{"type":"string"}}},"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_qlXtah0O7aiW_-ABmvyE7","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":"Returns real-time DeFi lending and staking yield data (APY, pools) for a given asset on Base Mainnet, payable per-call via x402.","exampleAgentPrompt":"What's the best USDC yield available right now on Base mainnet across DeFi lending and staking pools with at least $500,000 in TVL?","exampleUseCases":[{"title":"Maximize idle stablecoin yield","prompt":"I've got USDC sitting idle — where's the highest APY I can get for lending it on Base mainnet right now, only looking at pools with over $1 million TVL?"},{"title":"Compare ETH staking options on Base","prompt":"Can you pull the current staking and lending yields for WETH on Base and tell me which pool has the best APY?"},{"title":"Automated yield rebalancing signal","prompt":"Check the current DeFi yields for USDC on Base mainnet with a minimum TVL of $500,000 and let me know if the best APY has changed since yesterday so I can decide whether to move funds."}],"resultDescription":"Returns a JSON object containing the queried asset symbol, an array of matching pools with their yield details, the network name (Base), the single best APY found across all pools, and a timestamp indicating data freshness.","failureModes":["Unknown or unsupported asset symbol returns empty pool array or error","min_tvl set too high filters out all pools, returning an empty pools array","Payment failure via x402 prevents the call from completing","Network latency or upstream data source delay may return stale APY data","Invalid input type for min_tvl (e.g. string instead of number) may cause a 400-level error"],"whenToPreferThis":"Choose this endpoint when you specifically need real-time, on-chain yield data for assets on Base Mainnet (Chain ID 8453) and want to compare DeFi lending and staking rates across multiple protocols in a single call. It is ideal for agents making yield-optimization decisions, portfolio rebalancing triggers, or surfacing the best APY for a given stablecoin or token on Base. Prefer this over generic crypto data APIs when Base-specific, pool-level APY granularity is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:40:57.019Z","isFirstParty":false}