{"uid":"cap_Pws1ZbOiaaB3c6DP_J3gw","slug":"ishob-dex-swap-route-quote-686ef37c","name":"ISHOB DEX Swap Route & Quote","description":"Best DEX swap route and quote on Ethereum, Base, Arbitrum, Optimism, Polygon or BNB Chain via the KyberSwap aggregator (400+ liquidity sources, split routes): output amount, slippage-protected minimum, USD value change, gas, hops. With `sender`, also an unsigned ready-to-sign transaction plus the ERC-20 allowance check. Quotes only; ISHOB never sends transactions.","url":"https://api.ishob.com/v1/crypto/swap-route?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":["chain","token_in","token_out"],"properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism","polygon","bsc"],"type":"string"},"amount":{"type":"string","description":"Amount of token_in in normal units, e.g. '1.5' (or use amount_raw)"},"sender":{"type":"string","description":"Optional wallet address: returns an unsigned transaction + allowance check"},"token_in":{"type":"string","description":"Token address, or 'native' for ETH/POL/BNB"},"token_out":{"type":"string","description":"Token address, or 'native'"},"amount_raw":{"type":"string","description":"Amount of token_in in base units (wei)"},"slippage_bps":{"type":"integer","default":50,"maximum":5000,"minimum":1,"description":"Slippage tolerance in basis points"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"usd":{"gas":0.019,"value_change_pct":0.03},"route":{"paths":1,"exchanges":["uniswap-v3"]},"router":"0x6131B5fae19EA4f9D964eAc0408E4408b66337b5","amount_in":"1","amount_out":"2488.92","amount_out_min":"2476.47"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6dfrauWJU-F8iQSmYbIga","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the best DEX swap route and quote across 400+ liquidity sources on Ethereum, Base, Arbitrum, Optimism, Polygon, or BNB Chain via KyberSwap aggregator, including output amount, gas, and optionally an unsigned transaction.","exampleAgentPrompt":"What's the best swap route and expected output if I trade 1.5 ETH for USDC on Base right now, using a slippage tolerance of 50 basis points? Also include an unsigned transaction for my wallet 0xAbC123...","exampleUseCases":[{"title":"Pre-trade quote before executing swap","prompt":"Before I swap, can you get me a quote for converting 500 USDC to DAI on Polygon? I want to see the expected output, the USD value change, and how much gas it'll cost — use 30 bps slippage."},{"title":"Best route discovery for large trade","prompt":"I'm about to swap 10 WETH to USDT on Arbitrum — can you find me the best DEX route using KyberSwap? I want to see which exchanges are used and whether the route is split across multiple pools."},{"title":"Unsigned transaction for wallet review","prompt":"Get me an unsigned swap transaction for selling 0.5 ETH and buying WBTC on Ethereum mainnet from my wallet 0xDEAD...BEEF, with 100 bps slippage, so I can review the calldata before signing."}],"resultDescription":"Returns the optimal swap route including: output amount in token units, minimum output after slippage, USD gas cost, USD value change percentage, number of route paths, exchanges used (e.g. Uniswap V3), and the router contract address. If a sender wallet address is provided, also returns an unsigned ready-to-sign transaction object and the ERC-20 token allowance requirement.","failureModes":["Unsupported token address returns an error or empty route","Chain not in supported list (ethereum, base, arbitrum, optimism, polygon, bsc) returns validation error","Insufficient liquidity for the requested pair results in no route found","Missing required parameters (chain, token_in, token_out) returns 400 error","Invalid wallet address format for sender parameter returns error","Amount too small to route efficiently may return a degraded or failed quote","Network congestion or KyberSwap API unavailability causes timeout or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a pre-trade quote or route plan for a DEX swap across EVM chains without executing a transaction. It is ideal for agents that need to compare output amounts, estimate gas, inspect split routes across 400+ liquidity sources, or prepare an unsigned transaction for user review before signing. Prefer this over on-chain calls or single-DEX quote APIs when you need multi-source aggregation and cross-chain support in a single REST call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:46:49.504Z","isFirstParty":false,"canonicalSlug":"ishob-dex-swap-route-quote-686ef37c"}