{"uid":"cap_canUvHXEDhMqU6vKNMqLj","slug":"chainray-yield-farming-analytics-958da7d2","name":"ChainRay Yield Farming Analytics","description":"The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.","url":"https://chainray.online/yield-farming","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":{"chain":{"type":"string","description":"Blockchain network (e.g., base, ethereum, polygon)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"chain":"ethereum"}}},"response":{"chain":"ethereum","_proof":{"chain":"ethereum","dataHash":"429ac6752d45568f667f86895a5b8c809dbdde892d49f7e41765c7c74917a014","blockHash":"0x80242f0bab94903ebba04f3aca218438ed3ecd9e491cea9679120086703374e2","chainName":"Ethereum","blockNumber":25342519,"proofVersion":"3.0","blockTimestamp":1781762459,"proofTimestamp":1781762461169},"onChain":{"note":"Pool-level liquidity data from on-chain reads.","pools":[{"pair":"WETH/USDC","pool":"0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640","source":"on-chain","feeTier":"0.05%","currentTick":201767,"feeAprEstimate":"0.05% per swap","activeLiquidity":"5822001804446870098","liquidityFormatted":"5.8220"},{"pair":"WETH/USDC","pool":"0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8","source":"on-chain","feeTier":"0.3%","currentTick":201778,"feeAprEstimate":"0.3% per swap","activeLiquidity":"1370587254662451230","liquidityFormatted":"1.3706"},{"pair":"WETH/USDC","pool":"0x7BeA39867e4169DBe237d55C8242a8f2fcDcc387","source":"on-chain","feeTier":"1%","currentTick":201707,"feeAprEstimate":"1% per swap","activeLiquidity":"13516665470645558","liquidityFormatted":"0.0135"}],"ethPrice":1728.97,"protocol":"Uniswap V3","totalPools":3},"timestamp":1781762461014,"bestOpportunities":{"note":"Sorted by TVL. Filtered: TVL > $10K, APY 0-1000%.","pools":[{"apy":2.39,"tvl":15588667747,"chain":"Ethereum","symbol":"STETH","apyBase":2.39,"project":"lido","change1d":0,"change7d":-0.01,"apyReward":null,"stablecoin":false,"tvlFormatted":"$15.59B"},{"apy":2.48,"tvl":6040916784,"chain":"Ethereum","symbol":"WBETH","apyBase":2.48,"project":"binance-staked-eth","change1d":0.03,"change7d":0.08,"apyReward":null,"stablecoin":false,"tvlFormatted":"$6.04B"},{"apy":3.6,"tvl":5878644073,"chain":"Ethereum","symbol":"SUSDS","apyBase":3.6,"project":"sky-lending","change1d":null,"change7d":null,"apyReward":null,"stablecoin":true,"tvlFormatted":"$5.88B"},{"apy":4.82,"tvl":3100906992,"chain":"Ethereum","symbol":"USDC","apyBase":4.82,"project":"maple","change1d":0.12,"change7d":0.09,"apyReward":null,"stablecoin":true,"tvlFormatted":"$3.10B"},{"apy":2.88,"tvl":3095385502,"chain":"Ethereum","symbol":"WEETH","apyBase":2.81,"project":"ether.fi-stake","change1d":0.44,"change7d":0.4,"apyReward":0.07,"stablecoin":false,"tvlFormatted":"$3.10B"},{"apy":1.94,"tvl":2359576918,"chain":"Ethereum","symbol":"RETH","apyBase":1.94,"project":"rocket-pool","change1d":-0.13,"change7d":-0.13,"apyReward":null,"stablecoin":false,"tvlFormatted":"$2.36B"},{"apy":0.01,"tvl":1965082025,"chain":"Ethereum","symbol":"WBTC","apyBase":0.01,"project":"aave-v3","change1d":0,"change7d":0,"apyReward":null,"stablecoin":false,"tvlFormatted":"$1.97B"},{"apy":0,"tvl":1943571618,"chain":"Ethereum","symbol":"WEETH","apyBase":0,"project":"aave-v3","change1d":null,"change7d":null,"apyReward":null,"stablecoin":false,"tvlFormatted":"$1.94B"},{"apy":3.64,"tvl":1708664173,"chain":"Ethereum","symbol":"SUSDE","apyBase":3.64,"project":"ethena-usde","change1d":0.03,"change7d":-0.92,"apyReward":null,"stablecoin":true,"tvlFormatted":"$1.71B"},{"apy":0,"tvl":1521274815,"chain":"Ethereum","symbol":"WSTETH","apyBase":0,"project":"aave-v3","change1d":0,"change7d":0,"apyReward":null,"stablecoin":false,"tvlFormatted":"$1.52B"},{"apy":3.55,"tvl":1106260537,"chain":"Ethereum","symbol":"USDY","apyBase":3.55,"project":"ondo-yield-assets","change1d":null,"change7d":null,"apyReward":null,"stablecoin":true,"tvlFormatted":"$1.11B"},{"apy":0,"tvl":1029911590,"chain":"Ethereum","symbol":"CBBTC","apyBase":0,"project":"aave-v3","change1d":0,"change7d":0,"apyReward":null,"stablecoin":false,"tvlFormatted":"$1.03B"},{"apy":2.41,"tvl":1003579366,"chain":"Ethereum","symbol":"RSETH","apyBase":2.41,"project":"kelp","change1d":-0.05,"change7d":-0.01,"apyReward":null,"stablecoin":false,"tvlFormatted":"$1.00B"},{"apy":4.23,"tvl":954400881,"chain":"Ethereum","symbol":"USDT","apyBase":4.23,"project":"maple","change1d":-0.08,"change7d":-0.05,"apyReward":null,"stablecoin":true,"tvlFormatted":"$954.40M"},{"apy":3.51,"tvl":867483984,"chain":"Ethereum","symbol":"USDS","apyBase":3.51,"project":"centrifuge-protocol","change1d":-0.04,"change7d":0.06,"apyReward":null,"stablecoin":true,"tvlFormatted":"$867.48M"},{"apy":2.5,"tvl":857631131,"chain":"Ethereum","symbol":"USDT","apyBase":2.5,"project":"spark-savings","change1d":null,"change7d":null,"apyReward":null,"stablecoin":true,"tvlFormatted":"$857.63M"},{"apy":3.54,"tvl":829900034,"chain":"Ethereum","symbol":"BUIDL","apyBase":3.54,"project":"blackrock-buidl","change1d":0,"change7d":0.02,"apyReward":null,"stablecoin":true,"tvlFormatted":"$829.90M"},{"apy":3.68,"tvl":799934166,"chain":"Ethereum","symbol":"USTB","apyBase":3.68,"project":"invesco-ustb","change1d":0,"change7d":-0.01,"apyReward":null,"stablecoin":true,"tvlFormatted":"$799.93M"},{"apy":2.07,"tvl":782341333,"chain":"Ethereum","symbol":"USDT","apyBase":2.07,"project":"aave-v3","change1d":-0.05,"change7d":-0.43,"apyReward":null,"stablecoin":true,"tvlFormatted":"$782.34M"},{"apy":3.22,"tvl":602327090,"chain":"Ethereum","symbol":"LSETH","apyBase":3.22,"project":"liquid-collective","change1d":0.64,"change7d":0.65,"apyReward":null,"stablecoin":false,"tvlFormatted":"$602.33M"}],"source":"DeFi Llama (aggregated across all protocols)","totalPoolsScanned":"17K+"}}},"exampleRequest":{"chain":"ethereum"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_zQCXlwhhyUDhRjgODgLfL","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 yield farming opportunities and APY data across DeFi protocols for a specified blockchain network","exampleAgentPrompt":"What are the best yield farming opportunities on Base right now — show me the top DeFi pools and their current APY rates.","exampleUseCases":null,"resultDescription":"A list of yield farming opportunities on the specified chain, including protocol names, pool details, APY/APR rates, TVL, and other DeFi analytics relevant to liquidity provision and farming strategies.","failureModes":["Unsupported chain identifier returns an error or empty result","Network-level downtime returns 5xx error","Payment failure via x402 prevents data access","Stale data if on-chain indexing lags behind latest blocks","Missing or invalid chain query parameter may return default or error response"],"whenToPreferThis":"Use this endpoint when you need on-chain yield farming data across a wide range of chains (46 supported) and want pay-per-request access without a subscription. Prefer this over generalist crypto data APIs when DeFi-specific analytics, multi-chain coverage, and verifiable on-chain proofs are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:34:28.328Z","isFirstParty":false}