{"uid":"cap_-9XPwZ438bTjNaj1bIPg_","slug":"gateway-spraay-app-0e3a40cb","name":"Uniswap V3 Swap Quote via Spraay Gateway","description":"Swap quotes via Uniswap V3.","url":"https://gateway.spraay.app/api/v1/swap/quote","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["tokenIn","tokenOut","amountIn"],"properties":{"tokenIn":{"type":"string"},"amountIn":{"type":"string"},"tokenOut":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"amountOut":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"tokenIn":"WETH","amountIn":"1000000000000000000","tokenOut":"USDC"}}},"response":{"dex":"uniswap-v3","route":"WETH → USDC","feeTier":"0.3%","tokenIn":{"amount":"1000000000000000000","symbol":"WETH","address":"0x4200000000000000000000000000000000000006","decimals":18},"_gateway":{"router":"mangoswap","source":"uniswap-v3-quoter","contract":"0xb81fea65B45D743AB62a1A2B351f4f92fb1d4D16","provider":"spraay-x402"},"tokenOut":{"symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6,"estimatedAmount":"36728159.037329"},"validFor":"30 seconds","timestamp":"2026-06-09T20:22:48.372Z","gasEstimate":"5352872","priceImpact":"live","transaction":{"to":"0xb81fea65B45D743AB62a1A2B351f4f92fb1d4D16","note":"Use MangoSwap router or submit directly to Uniswap V3 SwapRouter","chainId":8453},"executionPrice":"1 WETH = 0.00000000 USDC"}},"exampleRequest":{"tokenIn":"WETH","amountIn":"1000000000000000000","tokenOut":"USDC"},"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_KZXWJ23FdkV5oU9155NIA","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 a swap quote (expected output amount) for a given token pair and input amount using Uniswap V3 routing.","exampleAgentPrompt":"How much USDC would I get if I swapped 1 ETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) to USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) right now on Uniswap V3?","exampleUseCases":[{"title":"Price WBTC to DAI swap","prompt":"How much DAI would I get if I swapped 0.5 WBTC (0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599) to DAI (0x6B175474E89094C44Da98b954EedeAC495271d0F) right now on Uniswap V3?"},{"title":"Check USDT to WETH exchange rate","prompt":"If I swap 500 USDT (0xdAC17F958D2ee523a2206206994597C13D831ec7) for WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) on Uniswap V3, how much WETH would I receive?"},{"title":"Estimate output before executing trade","prompt":"Before I pull the trigger on a trade, can you get me a Uniswap V3 quote for swapping 1000 USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) into LINK (0x514910771AF9Ca656af840dff83E8264EcF986CA) so I know what to expect?"}],"resultDescription":"Returns the expected output token amount (amountOut as a string) for the specified token swap, reflecting current Uniswap V3 pool pricing and routing.","failureModes":["Invalid token addresses return an error or empty result","Unsupported token pair with no Uniswap V3 pool returns no route found","amountIn of zero or malformed string may cause a validation error","Payment failure (402) if x402 payment header is missing or insufficient","Network congestion or RPC issues may cause timeout or stale pricing"],"whenToPreferThis":"Use this endpoint when you need an EVM/Ethereum Uniswap V3 swap quote specifically; prefer the sibling Jupiter endpoint for Solana-native swaps. Best for agents that need to price ERC-20 token swaps before executing a trade or displaying exchange rates to users.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:00.516Z","isFirstParty":false}