{"uid":"cap_T9E2ikd8sD5LYPF7fJqF4","slug":"chainray-online-3a8a2479","name":"ChainRay ETH Price","description":"Provides the current ETH spot price on the Base network via ChainRay's /price endpoint.","url":"https://chainray.online/price/ETH","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["token"],"properties":{"chain":{"type":"string","description":"Blockchain network"},"token":{"type":"string","description":"Token symbol or contract address"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"chain":"base","token":"ETH"}}},"response":{"chain":"base","token":"ETH","_proof":{"chain":"base","dataHash":"54914ccb0c3c14508dee38665eb882d6337e4471562b8d76ff67d2e771d465af","blockHash":"0xd29f06e00c56c71e0c98de97fad449226750f4c658759ec0e9c4b3474200b10c","chainName":"Base","blockNumber":47267376,"proofVersion":"3.0","blockTimestamp":1781324099,"proofTimestamp":1781324100135},"source":"Uniswap V3 WETH/USDC","sources":["on-chain DEX","DeFi Llama","CoinGecko"],"priceUsd":1663.77,"marketCap":"$200.79B","timestamp":1781324094334,"volume24h":"$9.39B","confidence":"high","marketCapUsd":200792699617.52032,"volume24hUsd":9391131320.596102,"priceChange24h":"-0.32%"}},"exampleRequest":{"chain":"base","token":"ETH"},"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YVdz7VdhHAiYd8IZ2W0gG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current ETH spot price in USD on the Base network, with market cap, 24h volume, price change, and on-chain proof metadata.","exampleAgentPrompt":"What's the current ETH spot price on Base right now, including market cap, 24-hour volume, and price change? I want the on-chain verified price from ChainRay.","exampleUseCases":null,"resultDescription":"Returns a JSON object with ETH price in USD (e.g. $2350.11), market cap, 24h trading volume, 24h price change percentage, confidence level, data sources (Uniswap V3, DeFi Llama, CoinGecko), and a cryptographic on-chain proof including block hash, block number, and timestamp from the Base network.","failureModes":["Invalid token symbol returns error or empty result","Unsupported chain parameter may fall back to Base default or return error","Payment not provided or insufficient USDC results in 402 Payment Required","Network or RPC outage may cause stale or unavailable price data","Rate limiting if too many requests are made in rapid succession"],"whenToPreferThis":"Use this endpoint when you need a real-time, on-chain verifiable ETH price from the Base network with cryptographic proof. Prefer it over generic price APIs when you need DeFi-native sourcing (Uniswap V3), confidence scoring, and block-level audit trail. Especially useful for agents operating in DeFi workflows where price integrity matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:45:03.408Z","isFirstParty":false}