{"uid":"cap_gldM2QkWBzGCCmXZe5lZX","slug":"402rpc-eth-btc-spot-price-uniswap-v3-on-chain-5c1a2dd9","name":"402rpc ETH/BTC Spot Price (Uniswap v3 On-Chain)","description":"On-chain spot price of ETH or BTC in USDC from the deepest Uniswap v3 pools on Ethereum mainnet, read from a full node at the latest block (no third-party price feed). Pairs: ETH-USDC, BTC-USDC. Use it as an independent, verifiable price reference; it reflects the pool price, not an exchange average.","url":"https://402rpc.com/v1/eth/price?utm_source=zero.xyz","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","required":["pair"],"properties":{"pair":{"enum":["ETH-USDC","BTC-USDC"],"type":"string","description":"ETH-USDC or BTC-USDC."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_o4eYFeT8vpypQwJ88flz4","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 real-time on-chain spot price of ETH or BTC in USDC, read directly from the deepest Uniswap v3 pools on Ethereum mainnet via an independent full node.","exampleAgentPrompt":"What's the current on-chain spot price of ETH in USDC right now, pulled directly from the Uniswap v3 pool on Ethereum mainnet?","exampleUseCases":[{"title":"On-chain ETH price for trade decision","prompt":"What is the current Uniswap v3 on-chain price of ETH in USDC? I want to compare it to a CEX price before placing a trade."},{"title":"Independent BTC price verification","prompt":"Give me the on-chain BTC-USDC spot price directly from the Uniswap v3 pool — I need an independent price reference, not an exchange average."},{"title":"DeFi arbitrage monitoring","prompt":"Check the current ETH-USDC price on Uniswap v3 from a full node — I'm watching for arbitrage opportunities between the pool price and Binance."}],"resultDescription":"Returns the current spot price of the requested pair (ETH-USDC or BTC-USDC) as read from the deepest Uniswap v3 pool on Ethereum mainnet at the latest block. The price reflects actual pool state, not an aggregated or oracle-derived value.","failureModes":["Unsupported pair value returns an error (only ETH-USDC and BTC-USDC are accepted)","Missing 'pair' query parameter results in a bad request error","Full node temporarily unavailable may cause a service error","Payment of 0.001 USDC not provided or invalid results in a 402 Payment Required response","Network congestion on Ethereum may cause slight delay in latest block data"],"whenToPreferThis":"Choose this endpoint when you need a trustless, verifiable on-chain price for ETH or BTC in USDC that is independent of centralized price feeds or oracles. It is ideal for DeFi applications, arbitrage detection, on-chain settlement reference pricing, or any context where you want to verify the true pool price at the latest Ethereum block without relying on a third-party aggregator.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:36:43.762Z","isFirstParty":false,"canonicalSlug":"402rpc-eth-btc-spot-price-uniswap-v3-on-chain-5c1a2dd9"}