{"uid":"cap_p2C8s3ZyGN0bbDf9bVMN1","slug":"agent402-tools-dex-pool-state-reader-a7beccd6","name":"agent402.tools DEX Pool State Reader","description":"Read on-chain state of a Uniswap V3 pool: token0/token1 addresses + decimals, fee tier, current sqrtPriceX96, tick, in-range liquidity, and the decoded human-readable spot price (token1 per token0). One $0.002 call replaces ~6 RPC roundtrips on the caller's side.","url":"https://agent402.tools/api/dex-pool","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"network":{"type":"string","description":"ethereum / base / polygon / arbitrum / optimism (default base)."},"poolAddress":{"type":"string","description":"0x-prefixed Uniswap V3 pool contract address."}}},"responseSchema":{"type":"json","example":{"fee":500,"tick":196543,"token0":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"token1":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6},"network":"base","liquidity":"1234567890123456789","poolAddress":"0xd0b53d9277642d899df5c87a3966a349a798f224","sqrtPriceX96":"1456834567890123456789012345","spotPrice_1per0":3500.05}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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_MrV62g2F0887y9XRwmcgF","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":"Reads on-chain Uniswap V3 pool state including token addresses, decimals, fee tier, current price (sqrtPriceX96), tick, and human-readable spot price in a single call","exampleAgentPrompt":"What's the current spot price, fee tier, and in-range liquidity for the Uniswap V3 pool at 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 on Ethereum?","exampleUseCases":null,"resultDescription":"Returns token0 and token1 contract addresses with their decimals, the pool's fee tier, the raw sqrtPriceX96 value, current tick, in-range liquidity amount, and a decoded human-readable spot price expressed as token1 per token0 — all in a single response replacing approximately 6 separate RPC calls.","failureModes":["Invalid or non-existent pool address returns an error","Unsupported network name returns a validation error","Pool address is not a Uniswap V3 pool contract — call may fail or return garbage data","Network RPC unavailable or congested — timeout or transient error","Malformed 0x address format causes immediate rejection"],"whenToPreferThis":"Use this endpoint when you need a compact, affordable snapshot of a Uniswap V3 pool's current on-chain state without setting up your own RPC infrastructure or making multiple round-trips. It is ideal for agents that need a decoded human-readable spot price alongside raw pool parameters (sqrtPriceX96, tick, liquidity) in one call across Ethereum, Base, Polygon, Arbitrum, or Optimism.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:02.942Z","isFirstParty":false}