{"uid":"cap_tXIwpxRJOiXugHWqBAmO-","slug":"vextorium-dex-swap-quote-base-uniswap-v3-1c8e8285","name":"Vextorium DEX Swap Quote (Base / Uniswap v3)","description":"On-chain swap quote on Base from Uniswap v3 QuoterV2 across all fee tiers (0.01%, 0.05%, 0.3%, 1%): output amount, unit price, best pool and gas estimate. Accepts symbols (WETH/ETH, USDC, USDT, DAI, cbBTC) or token addresses. Read-only, no swap executed.","url":"https://api.vextorium.com/cotizacion-dex-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["token_entrada","token_salida","cantidad"],"properties":{"cantidad":{"type":"number","description":"Input amount in token units"},"token_salida":{"type":"string","description":"Token to buy: WETH (or ETH), USDC, USDT, DAI, cbBTC, or a Base token contract address"},"token_entrada":{"type":"string","description":"Token to sell: WETH (or ETH), USDC, USDT, DAI, cbBTC, or a Base token contract address"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"dex":{"type":["string","null"]},"red":{"type":["string","null"]},"nota":{"type":["string","null"]},"salida":{"type":["object","null"],"properties":{"token":{"type":["string","null"]},"cantidad":{"type":["number","null"]},"contrato":{"type":["string","null"]}}},"entrada":{"type":["object","null"],"properties":{"token":{"type":["string","null"]},"cantidad":{"type":["number","null"]},"contrato":{"type":["string","null"]}}},"precio_unitario":{"type":["number","null"]},"todas_las_pools":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"gas_estimado":{"type":["number","null"]},"cantidad_salida":{"type":["number","null"]},"pool_comision_pct":{"type":["number","null"]}}}},"mejor_pool_comision_pct":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"salida":{"token":"USDC","cantidad":2688.58},"precio_unitario":2688.58,"mejor_pool_comision_pct":0.05}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_sBREd8vBLMzlZ5SEXSEHa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an on-chain swap quote on the Base network via Uniswap v3 QuoterV2, providing output amount, unit price, best fee-tier pool, and gas estimate across all four fee tiers — without executing a swap.","exampleAgentPrompt":"What's the best on-chain quote for swapping 1 WETH to USDC on Base right now — show me the output amount, unit price, and which Uniswap v3 fee tier pool wins?","exampleUseCases":[{"title":"Pre-swap price check for DeFi trader","prompt":"Before I swap 2 ETH for USDC on Base, can you get me the best Uniswap v3 quote — how much USDC I'd receive, which fee tier is cheapest, and what the gas estimate looks like?"},{"title":"Arbitrage opportunity scouting","prompt":"I want to compare the on-chain Uniswap v3 rate for swapping 10,000 USDC into DAI on Base — give me results across all fee tiers so I can see if there's a spread worth trading."},{"title":"cbBTC price discovery on Base","prompt":"What's the current Uniswap v3 on-chain price of cbBTC in USDC on Base? Sell side — 0.1 cbBTC — and tell me the best pool fee tier and unit price."}],"resultDescription":"Returns a JSON object containing: the input token (symbol, amount, contract address), the output token (symbol, amount, contract address), the unit price, the best-performing pool fee tier (as a percentage), results for all four fee tiers (0.01%, 0.05%, 0.3%, 1%) each with output amount and estimated gas, the DEX name (Uniswap v3), the network (Base), and an optional note.","failureModes":["No liquidity pool exists for the token pair at any fee tier — returns null or empty pool results","Invalid token symbol or unrecognized contract address — request rejected or returns error","Amount too small or too large causing quote failure from the on-chain quoter","Network RPC issues causing timeout or inability to read on-chain state","Token pair is valid but one token contract is not deployed on Base"],"whenToPreferThis":"Choose this endpoint when you need a real on-chain Uniswap v3 swap quote specifically on the Base network, across all four fee tiers simultaneously, without executing any transaction. It is ideal when you want to compare fee tiers, estimate gas, or get the true on-chain price before committing to a swap. Prefer it over off-chain price feeds when accuracy of the actual swap output matters, and over full swap execution endpoints when you only need a quote with no side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:48:45.670Z","isFirstParty":false,"canonicalSlug":"vextorium-dex-swap-quote-base-uniswap-v3-1c8e8285"}