{"uid":"cap_QEMHrLqGHPWgDiP68oCCU","slug":"sushiswap-route-quote-e956299f","name":"SushiSwap Route Quote","description":"SushiSwap route quote for an exact-input swap on one EVM chain: amount out, swap price, price impact, gas spent and the tokens in the route. Quote only, no transaction data. The API needs a sender address; if none is given, a fixed placeholder address is sent and nothing is signed or executed.","url":"https://api.chainmarket-api.workers.dev/api/crypto/sushiswap-route-quotes?utm_source=zero.xyz","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":{"sender":{"type":"string","description":"Optional sender address for the API (quote unaffected)"},"chainId":{"type":"string","description":"EVM chain id (default 1)"},"tokenIn":{"type":"string","description":"Token to sell, 0x address (use the wrapped token for native ETH)"},"amountIn":{"type":"string","description":"Amount to sell in the token's smallest unit (wei for 18 decimals)"},"tokenOut":{"type":"string","description":"Token to buy, 0x address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"source":"https://api.sushi.com/swap/v7/1","chainId":"1","tokenIn":{"symbol":"WETH","address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"amountIn":1,"gasSpent":106565,"tokenOut":{"symbol":"USDT","address":"0xdac17f958d2ee523a2206206994597c13d831ec7","decimals":6},"amountOut":2396.008519,"checkedAt":"2026-10-23T09:36:03.653Z","swapPrice":2.396008518525859e-9,"routeTokens":["WETH","USDC"],"priceImpactPct":0.136}},"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_vJSKwaU8b0AfM7iBfPYJv","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":"Gets a swap route quote from SushiSwap for a given token pair and input amount on an EVM chain, returning price, route, gas, and output amount.","exampleAgentPrompt":"What's the SushiSwap route quote to swap 1 WETH (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2) for USDT (0xdac17f958d2ee523a2206206994597c13d831ec7) on Ethereum mainnet (chain ID 1)? I want to see the output amount, price impact, and routing path.","exampleUseCases":[{"title":"Pre-trade price check for DeFi bot","prompt":"Before my trading bot executes, get me a SushiSwap quote for swapping 5000000000000000000 wei of WETH (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2) to USDC (0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48) on Ethereum mainnet — show me the output amount and price impact."},{"title":"Arbitrage route discovery","prompt":"I'm looking for arbitrage opportunities — what route does SushiSwap use to swap 10000000000000000000 wei of DAI (0x6b175474e89094c44da98b954eedeac495271d0f) to WBTC (0x2260fac5e5542a773aa44fbcfedf7c193bc2c599) on chain ID 1, and what's the price impact?"},{"title":"Token price benchmark comparison","prompt":"What's the current SushiSwap swap price for trading 1000000000000000000 wei of WETH (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2) to USDT (0xdac17f958d2ee523a2206206994597c13d831ec7) on Arbitrum (chain ID 42161)? I need the output amount and gas cost to compare against other DEXes."}],"resultDescription":"Returns a JSON object with the source SushiSwap API URL, chain ID, tokenIn and tokenOut metadata (symbol, address, decimals), input amount, estimated output amount, swap price, route token path, price impact percentage, gas spent estimate, and timestamp of the quote.","failureModes":["Invalid or unsupported token address returns an error or empty route","Unsupported chainId returns an error","amountIn of zero or invalid format causes a bad request","Token pair with no liquidity returns no route or zero amountOut","Network or upstream SushiSwap API unavailability causes a timeout or error response"],"whenToPreferThis":"Use this endpoint when you specifically need SushiSwap routing and pricing data — it proxies the official SushiSwap v7 swap API and returns structured route, price impact, and gas data. Prefer it over generic DEX aggregator quotes when you need SushiSwap-specific route paths or are comparing SushiSwap against other DEXes. Ideal for pre-trade analysis, arbitrage detection, or price benchmarking without executing a transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:40:54.306Z","isFirstParty":false,"canonicalSlug":"sushiswap-route-quote-e956299f"}