{"uid":"cap_F_9iDue4UHY6ATOY66aNW","slug":"dex-swap-price-quote-uniswapv2-on-base-ethereum-26fa058b","name":"DEX Swap Price Quote (UniswapV2 on Base/Ethereum)","description":"DEX swap price quote — indicative UniswapV2 amount-out, price & price-impact for any token pair from live on-chain reserves on Base/Ethereum","url":"https://x402.professorsausages.com/swap-quote/quote/:chain/:tokenIn/:tokenOut","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VD_Ar-0_4UOSXh8Xn6u0h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an indicative UniswapV2 swap quote — amount out, realized price, and price impact — for any token pair using live on-chain reserves on Base or Ethereum.","exampleAgentPrompt":"What's the UniswapV2 swap quote on Base if I trade 1000 USDC for WETH right now — give me the amount out, the realized price, and the price impact percentage.","exampleUseCases":null,"resultDescription":"On success (found=true): amountOut in human units, realized price (tokenOut per tokenIn), price_impact_pct, the UniswapV2 pair address, block height the reserves were read at, fee_pct (0.3%), and a disclaimer. On failure (found=false): the reason the pair couldn't be quoted, plus the chain's WETH address for routing hints.","failureModes":["No UniswapV2 pool exists for the token pair — returns found=false with a reason string","Invalid or unrecognized token address/symbol — may return found=false or HTTP error","Unsupported chain specified — API returns an error","Payment not included or insufficient — HTTP 402 returned before quote is served","RPC or on-chain data unavailability — potential timeout or server error"],"whenToPreferThis":"Use this endpoint when you need a fast, live, on-chain UniswapV2 price quote without executing a trade — ideal for pre-trade estimation, slippage checks, or displaying indicative swap rates on Base or Ethereum. Prefer it over centralized exchange price feeds when you specifically need DEX pool pricing with price impact. Not suitable for Uniswap V3, V4, or other DEX protocols.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:15.117Z","isFirstParty":false}