{"uid":"cap_BK0y8hF_yypsYsg5EC2Ql","slug":"vextorium-dex-swap-quote-base-uniswap-v3-15708f22","name":"Vextorium DEX Swap Quote (Base/Uniswap v3)","description":"558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.","url":"https://api.vextorium.com/v1/dex-swap-quote?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"number","description":"Input amount in token units"},"token_in":{"type":"string","description":"Token to sell: WETH (or ETH), USDC, USDT, DAI, cbBTC, or a Base token contract address"},"token_out":{"type":"string","description":"Token to buy: WETH (or ETH), USDC, USDT, DAI, cbBTC, or a Base token contract address"}}},"responseSchema":{"type":"json","example":{"output":{"token":"USDC","amount":2688.58},"unit_price":2688.58,"best_pool_fee_pct":0.05}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nmBUfGN6o6Gcm1DCke5PY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an on-chain swap quote on Base using Uniswap v3 QuoterV2, providing output amount, unit price, best pool fee tier, and gas estimate — without executing any trade.","exampleAgentPrompt":"How much USDC would I get if I swap 1 WETH on Base right now? Use Uniswap v3 to find the best pool fee tier and give me the output amount and unit price.","exampleUseCases":[{"title":"Pre-trade price check for DeFi bot","prompt":"Before my trading bot executes a swap, get me a quote for swapping 500 USDC to WETH on Base — I need the exact output amount and which Uniswap v3 fee pool gives the best rate."},{"title":"cbBTC to USDC valuation","prompt":"What's the current on-chain value of 0.1 cbBTC in USDC on Base? Give me the Uniswap v3 swap quote with the best fee tier."},{"title":"DAI to WETH arbitrage sizing","prompt":"I'm considering an arb — how much WETH would I get for 10,000 DAI swapped on Base via Uniswap v3, and what fee tier is optimal?"}],"resultDescription":"Returns a JSON object with the output token symbol and amount you would receive, the unit price (e.g. USDC per WETH), and the best pool fee percentage (e.g. 0.05 for the 0.05% tier). No trade is executed; this is a read-only quote from Uniswap v3 QuoterV2 on Base.","failureModes":["Unsupported token symbol or invalid contract address returns an error","No liquidity in any fee tier for the requested pair returns null or error","Amount of zero or negative input is rejected","Network or RPC issues may cause timeout or empty response","Very large amounts may hit liquidity limits and return inaccurate quotes"],"whenToPreferThis":"Use this endpoint when you need a real on-chain swap price from Uniswap v3 on the Base network before deciding whether to execute a trade. It checks all four fee tiers (0.01%, 0.05%, 0.3%, 1%) and returns the best one. Prefer this over off-chain price feeds when you need DEX-accurate output amounts and pool routing. It is read-only so it is safe to call without financial risk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:37:37.748Z","isFirstParty":false,"canonicalSlug":"vextorium-dex-swap-quote-base-uniswap-v3-15708f22"}