{"uid":"cap_6x2x4RmdN-np3Pzmw2Mge","slug":"uniswap-v3-on-chain-price-ec06a71e","name":"Uniswap v3 On-Chain Price","description":"Spot price of a token pair read directly from the deepest Uniswap v3 pool on Ethereum, Base, Arbitrum, Optimism or Polygon: price, inverse, fee tier, tick and liquidity. Tokens by symbol or address.","url":"https://bess-x402.onrender.com/v1/evm/uniswap-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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token_in"],"properties":{"fee":{"type":"integer","description":"Fee tier 100, 500, 3000 or 10000 (default: deepest pool)"},"chain":{"type":"string","description":"ethereum, base, arbitrum, optimism or polygon"},"token_in":{"type":"string","description":"Token to price, e.g. WETH or 0x..."},"token_out":{"type":"string","description":"Quote token (default 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.003","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WIzSMixclPN8w_fS0PxAv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the spot price of a token pair read directly from the deepest Uniswap v3 pool on Ethereum, Base, Arbitrum, Optimism, or Polygon, including price, inverse, fee tier, tick, and liquidity.","exampleAgentPrompt":"What's the current Uniswap v3 spot price of WETH quoted in USDC on Ethereum — and which fee tier is the deepest pool?","exampleUseCases":[{"title":"Real-time DeFi arbitrage price check","prompt":"What's the live Uniswap v3 price of WBTC in USDC on Arbitrum right now, and what's the liquidity in the deepest pool?"},{"title":"Portfolio valuation on Base","prompt":"I hold some cbETH on Base — can you look up its current Uniswap v3 price in USDC on Base so I can value my position?"},{"title":"Cross-chain price comparison","prompt":"Get me the Uniswap v3 spot price of MATIC quoted in USDC on Polygon and also on Ethereum so I can compare across chains."}],"resultDescription":"Returns the spot price of the token pair (price and its inverse), the fee tier of the selected pool, the current tick, and the pool's liquidity — all sourced directly from the deepest Uniswap v3 pool on the requested EVM chain.","failureModes":["Token symbol not recognized — use a contract address instead","No Uniswap v3 pool found for the requested pair on the specified chain","Unsupported chain name provided — must be ethereum, base, arbitrum, optimism, or polygon","Invalid fee tier specified — must be 100, 500, 3000, or 10000","RPC or network timeout causing stale or missing data","Contract address malformed or not a valid ERC-20 token"],"whenToPreferThis":"Use this endpoint when you need a trustless, on-chain spot price directly from Uniswap v3 pool state — ideal when you require the fee tier, tick, and liquidity alongside the price, or when you want to avoid relying on a centralized price oracle or exchange API. Prefer this over CEX price feeds when verifying DEX pricing, computing slippage estimates, or auditing arbitrage opportunities on Ethereum, Base, Arbitrum, Optimism, or Polygon.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:33:42.884Z","isFirstParty":false,"canonicalSlug":"uniswap-v3-on-chain-price-ec06a71e"}