{"uid":"cap_w5uT7AQNN16h5v4JgryTG","slug":"defi-yield-pool-data-api-x402-43c0d458","name":"DeFi Yield Pool Data API (x402)","description":"Real-time GitHub trending repos, repo analytics, npm download stats, Hacker News stories, and DeFi yield data for AI agents. Pay per request via x402 (USDC on Base).","url":"https://myearnings-seven.vercel.app/defi-yields","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"Filter by blockchain (e.g. ethereum, arbitrum, base)"}}},"responseSchema":{"type":"object","properties":{"count":{"type":"integer"},"pools":{"type":"array","items":{"type":"object","properties":{"apy":{"type":"number"},"chain":{"type":"string"},"symbol":{"type":"string"},"project":{"type":"string"},"tvl_usd":{"type":"integer"}}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JqALFBtt1WL1ics_Zeyyy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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 yield pool data including APY, TVL, chain, symbol, and project, optionally filtered by blockchain.","exampleAgentPrompt":"Can you pull the current DeFi yield pool data for Arbitrum — I want to see the APY, TVL, and project names for the available pools?","exampleUseCases":[{"title":"Highest APY pool scouting","prompt":"Show me all DeFi yield pools on Ethereum right now — I want to find which ones are offering the highest APY and how much TVL they have."},{"title":"Base chain yield comparison","prompt":"Fetch the current yield pools available on Base for me — I'm looking at APY and TVL to decide where to deploy capital."},{"title":"Cross-chain yield dashboard","prompt":"Get me the DeFi pool data for Arbitrum so I can compare APY and project names across pools for my yield tracking dashboard."}],"resultDescription":"Returns a JSON object containing a count of matching pools and an array of pool objects, each with the pool's APY (as a number), blockchain chain name, token symbol, project name, and TVL in USD.","failureModes":["Invalid or unsupported chain name returns empty or zero results","Payment not fulfilled via x402 returns 402 Payment Required","Network timeout if upstream DeFi data provider is slow","Stale data if underlying source has not updated recently","Missing chain parameter returns all pools which may be a large payload"],"whenToPreferThis":"Choose this endpoint when you need real-time DeFi yield pool metrics (APY, TVL) filterable by blockchain and want pay-per-request pricing via USDC on Base (x402 protocol) rather than a subscription API key. Ideal for agents that need on-demand yield scouting without ongoing SaaS commitments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:37:05.080Z","isFirstParty":false}