{"uid":"cap_ZcqDrLFpLXJ7cCCArqFDp","slug":"chainray-defi-compare-ef276de1","name":"ChainRay DeFi Compare","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/defi-compare","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":{"note":"Side-by-side DeFi lending rates from multiple protocols.","chain":"ethereum","_proof":{"chain":"ethereum","dataHash":"b25e032f5a7c659b03921e5fd016962b217cb433528825a82fc8801a8f1c00a5","blockHash":"0xb8a7613d46c96aef6ad1d07d416945dba15878e5c1068659da1566bd2a96b2aa","chainName":"Ethereum","blockNumber":25342585,"proofVersion":"3.0","blockTimestamp":1781763251,"proofTimestamp":1781763262122},"protocols":[{"chain":"ethereum","onChain":{"source":"on-chain (direct contract read)","markets":[{"asset":"USDC","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","borrowAPY":3.89,"supplyAPY":3.13,"lastUpdated":1781763095,"totalBorrow":1802818351.12,"totalSupply":2016482448.81,"utilization":"89.4%"},{"asset":"WETH","address":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","borrowAPY":2.16,"supplyAPY":1.51,"lastUpdated":1781763143,"totalBorrow":1661053.55,"totalSupply":2017154.21,"utilization":"82.35%"},{"asset":"USDT","address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","borrowAPY":3.16,"supplyAPY":2.07,"lastUpdated":1781763071,"totalBorrow":2083172618.82,"totalSupply":2866027023.67,"utilization":"72.69%"},{"asset":"DAI","address":"0x6B175474E89094C44Da98b954EedeAC495271d0F","borrowAPY":4.79,"supplyAPY":3.17,"lastUpdated":1781749295,"totalBorrow":94415515.73,"totalSupply":107118387.7,"utilization":"88.14%"}],"summary":{"bestSupplyAPY":"3.17% (DAI)","marketsAvailable":4},"protocol":"Aave V3","protocolType":"lending"},"timestamp":1781763262122,"topYieldPools":{"note":"Sorted by TVL. APY includes base + reward rates.","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"}],"source":"DeFi Llama (17K+ pools aggregated)"}},{"chain":"ethereum","market":"USDC","protocol":"Compound V3","borrowAPY":3.95,"chainName":"Ethereum","supplyAPY":3.17,"dataSource":"on-chain (Comet contract direct read)","totalBorrow":287367064.473014,"totalSupply":326291329.379899,"utilization":"88.07%","cometAddress":"0xc3d688B66703497DAA19211EEdff47f25384cdc3"}],"timestamp":1781763262122,"comparison":true,"protocolCount":2}},"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_8cF3ZObGvdancKkaAF9Un","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":"Compares DeFi protocols and analytics across blockchain networks to surface rates, liquidity, and yield data side-by-side","exampleAgentPrompt":"Can you compare the top DeFi protocols on Base for me — things like yields, liquidity, and key metrics — so I can figure out where to put my funds?","exampleUseCases":[{"title":"Identify highest yield farming opportunities","prompt":"I want to move some stablecoins into yield farming but I'm not sure which protocol gives the best returns right now. Can you check what APYs Aave, Compound, and Curve are offering on Ethereum and tell me which one actually has the deepest liquidity so I don't have slippage issues?"},{"title":"Compare liquidity across multiple chains","prompt":"I'm looking to provide liquidity but want to go where it's actually deep and I'll earn decent fees. Can you show me how the major DEXes like Uniswap compare across Ethereum, Polygon, and Arbitrum — which one has the best liquidity for my trading pair?"},{"title":"Benchmark lending protocols for best rates","prompt":"I've got some USDC sitting around and I want to find the safest place to lend it out for the highest yield. Can you pull up the current APYs and total liquidity for the main lending protocols on Base so I can see which one is actually worth using?"}],"resultDescription":"A structured comparison of DeFi protocols on the specified blockchain network, including metrics like APY/yield rates, liquidity depths, and protocol-level analytics for side-by-side evaluation","failureModes":["Unsupported chain name returns an error or empty result","Network congestion may cause stale data","Missing required 'chain' query param may return default chain or error","Endpoint may return limited data for newer or less-liquid chains"],"whenToPreferThis":"Use this endpoint when an agent needs to compare multiple DeFi protocols on a specific chain simultaneously rather than querying each protocol individually. Ideal for yield optimization, liquidity analysis, or helping users decide where to allocate assets on-chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:43.084Z","isFirstParty":false}