{"uid":"cap_fvmybsHynyaY8yBfC-Zru","slug":"uniswap-v3-dex-spot-quote-97fbad32","name":"Uniswap V3 DEX Spot Quote","description":"Spot quote for swapping through a Uniswap V3 pool at the current tick. amountIn is in human units (not wei). zeroForOne=true sends token0 → token1; false sends token1 → token0. Returns amountOut net of the pool's fee tier. NOTE: this is a single-tick spot quote - slippage from depleting concentrated liquidity is NOT modeled. Use for indicative pricing; for production swaps quote against the Uniswap SDK.","url":"https://agent402.tools/api/dex-quote","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"network":{"type":"string","description":"ethereum / base / polygon / arbitrum / optimism (default base)."},"amountIn":{"type":"number","description":"Input amount in human units (e.g. 1 WETH, not 1e18 wei)."},"zeroForOne":{"type":"boolean","description":"true: send token0 → receive token1. false: send token1 → receive token0."},"poolAddress":{"type":"string","description":"0x-prefixed Uniswap V3 pool address."}}},"responseSchema":{"type":"json","example":{"fee":500,"note":"spot quote at current tick - no multi-tick swap simulation","network":"base","amountIn":1,"amountOut":3498.3,"zeroForOne":true,"poolAddress":"0xd0b53d9277642d899df5c87a3966a349a798f224","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_wwgsu-asXsYb5NSDgMW3V","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 a spot price quote (amountOut net of fees) for a token swap through a specified Uniswap V3 pool at the current tick","exampleAgentPrompt":"Give me a spot quote for swapping 1 WETH for USDC through this Uniswap V3 pool on Base — pool address 0x4C36388bE6F416A29C8d8Eee81C771cE6bE14B5, sending token0 to token1.","exampleUseCases":null,"resultDescription":"The amountOut value in human-readable units representing how many of the destination token you receive after deducting the Uniswap V3 pool's fee tier, calculated at the current tick price.","failureModes":["Invalid or non-existent pool address returns an error","Unsupported network string returns a validation error","amountIn of zero or negative causes a computation error","Pool has no liquidity at the current tick — quote may fail or return zero","Network RPC unavailability causes a timeout or internal server error"],"whenToPreferThis":"Use this endpoint when you need a fast, on-chain spot price estimate for a specific Uniswap V3 pool without executing an actual swap. Ideal for agents building DeFi workflows, price monitoring bots, or pre-trade checks that need fee-adjusted output amounts in human-readable units 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-14T06:55:25.838Z","isFirstParty":false}