ChainRay DeFi Opportunity Scanner is a paid API for AI agents from chainray.online, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).
Returns current DeFi opportunities (yield, pools, arbitrage, etc.) for a specified blockchain network
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.
A list of current DeFi opportunities on the specified chain, likely including yield rates, pool details, protocol names, and opportunity scores or rankings. May include APY data, liquidity depth, risk indicators, and links to relevant protocols.
GEThttps://chainray.online/defi-opportunityUse this endpoint when an agent needs to surface actionable DeFi yield or investment opportunities on a specific blockchain. Prefer over generic blockchain explorers when the goal is finding DeFi opportunities rather than raw transaction data. Best when the user wants curated, intelligence-layer insights rather than raw chain state.
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"chain": "ethereum"
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object |
{
"tip": "Combine best yield with lowest gas timing for maximum returns.",
"chain": "ethereum",
"_proof": {
"chain": "ethereum",
"dataHash": "3149079ca7fcd990f07b92eb6265ba7150b869b45dc324998fd1e86c698e1885",
"blockHash": "0xddbf699868462688bd4931db0ee9a9ffee3a2d59261af1007752c68563ff8ff3",
"chainName": "Ethereum",
"blockNumber": 25342518,
"proofVersion": "3.0",
"blockTimestamp": 1781762447,
"proofTimestamp": 1781762456248
},
"yields": {
"tip": "Supply APY and Borrow APY are from Aave V3 on-chain reserves. Rates fluctuate with utilization.",
"byChain": {
"base": [
{
"chain": "base",
"token": "USDC",
"spread": 1,
"protocol": "Aave V3",
"borrowAPY": 4.24,
"supplyAPY": 3.24
},
{
"chain": "base",
"token": "WETH",
"spread": 0.71,
"protocol": "Aave V3",
"borrowAPY": 2.21,
"supplyAPY": 1.5
}
]
},
"ranking": [
{
"chain": "base",
"token": "USDC",
"spread": 1,
"protocol": "Aave V3",
"borrowAPY": 4.24,
"supplyAPY": 3.24
},
{
"chain": "base",
"token": "WETH",
"spread": 0.71,
"protocol": "Aave V3",
"borrowAPY": 2.21,
"supplyAPY": 1.5
}
],
"timestamp": 1781762443164,
"highlights": {
"cheapestBorrow": "WETH on base (2.21% APY)",
"bestSupplyYield": "USDC on base (3.24% APY)"
},
"chainsScanned": [
"base"
],
"tokensScanned": [
"USDC",
"WETH"
],
"totalOpportunities": 2
},
"timestamp": 1781762456163,
"gasOptimization": {
"chain": "ethereum",
"stats": {
"max": 0.139,
"min": 0.102,
"mean": 0.122,
"volatility": "8.065%",
"sampledBlocks": 50,
"avgUtilization": "51.07%"
},
"current": {
"unit": "Gwei",
"baseFee": 0.107,
"verdict": "CHEAP",
"vsAverage": "-12.504%"
},
"windows": [
{
"avgGas": 0.113,
"blocksAgo": "0-5",
"avgUtilization": "53.672%",
"relativeToMean": -7.443
},
{
"avgGas": 0.11,
"blocksAgo": "5-10",
"avgUtilization": "50.846%",
"relativeToMean": -10.417
},
{
"avgGas": 0.119,
"blocksAgo": "10-15",
"avgUtilization": "42.913%",
"relativeToMean": -2.963
},
{
"avgGas": 0.132,
"blocksAgo": "15-20",
"avgUtilization": "44.825%",
"relativeToMean": 7.775
},
{
"avgGas": 0.13,
"blocksAgo": "20-25",
"avgUtilization": "58.359%",
"relativeToMean": 6.601
},
{
"avgGas": 0.132,
"blocksAgo": "25-30",
"avgUtilization": "52.547%",
"relativeToMean": 7.682
},
{
"avgGas": 0.132,
"blocksAgo": "30-35",
"avgUtilization": "42.086%",
"relativeToMean": 7.557
},
{
"avgGas": 0.124,
"blocksAgo": "35-40",
"avgUtilization": "63.253%",
"relativeToMean": 1.335
},
{
"avgGas": 0.117,
"blocksAgo": "40-45",
"avgUtilization": "46.271%",
"relativeToMean": -4.391
}
],
"timestamp": 1781762456163,
"optimization": {
"cheapestWindow": {
"avgGas": 0.11,
"blocksAgo": "5-10",
"avgUtilization": "50.846%",
"relativeToMean": -10.417
},
"potentialSavings": "4.583%",
"estimatedWaitTime": "~1 minutes",
"mostExpensiveWindow": {
"avgGas": 0.132,
"blocksAgo": "30-35",
"avgUtilization": "42.086%",
"relativeToMean": 7.557
}
},
"recommendations": [
"✅ NOW is a good time — gas is 12.504% below average"
]
},
"recommendations": [
"Best yield: 3.24% APY on USDC (Aave V3 / base)"
]
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"