{"uid":"cap_j5ZMq2w2drDhObRJvB2eF","slug":"dex-token-price-from-uniswap-v3-on-chain-53d9c9ef","name":"DEX Token Price from Uniswap V3 (On-Chain)","description":"Spot price of any ERC20 read straight from the deepest Uniswap V3 pool against USDC, on Base, Ethereum, Polygon, Arbitrum or Optimism. Returns the pool address, fee tier, liquidity, sqrtPriceX96, tick and block, so the number can be audited instead of trusted. No aggregator and no API key: the source is the chain itself. Via eth_call.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/evm/token-price","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5SiLpo_CtsWtG-l_6GWG4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 any ERC20 token against USDC by reading directly from the deepest Uniswap V3 pool on Base, Ethereum, Polygon, Arbitrum, or Optimism, with full pool metadata for auditability.","exampleAgentPrompt":"What is the current on-chain Uniswap V3 price of WETH against USDC on Ethereum — and can you show me the pool address, fee tier, and liquidity so I can verify it myself?","exampleUseCases":[{"title":"Verify token price before a trade","prompt":"Before I swap, what is the current Uniswap V3 spot price of ARB token in USDC on Arbitrum? Show me the pool address and liquidity so I know the number is coming straight from the chain."},{"title":"Monitor a DeFi token's on-chain price","prompt":"Check the on-chain Uniswap V3 price of MATIC against USDC on Polygon and tell me the tick and block number so I can track when this was read."},{"title":"Audit a price discrepancy between sources","prompt":"I'm seeing different prices for USDC/WBTC across sources — can you fetch the actual sqrtPriceX96 and fee tier from the deepest Uniswap V3 pool on Base so I can calculate the true price myself?"}],"resultDescription":"Returns the token's spot price in USDC, plus the Uniswap V3 pool address that produced it, fee tier, total liquidity, sqrtPriceX96, current tick, and the block number at which the price was read — all sourced directly from the chain via eth_call.","failureModes":["Token address not found on specified network — no pool exists","Network name invalid or unsupported — returns error","No Uniswap V3 USDC pool exists for the token — no price available","RPC call fails or times out due to chain congestion","Token with very low liquidity may return a price from a thin pool"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, on-chain token price rather than a trust-me aggregator price. It is ideal when auditability matters — you can inspect the pool address, fee tier, sqrtPriceX96, and block to independently verify the result. Prefer this over CoinGecko or similar when building DeFi agents, executing on-chain logic, or auditing price discrepancies. Does not require an API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:30:14.573Z","isFirstParty":false}