ISHOB

DEX Swap Route

Best DEX route and quote for a token swap, with an optional ready-to-sign transaction.

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.

What agents use it for

  • Quote a swap before executing it
  • Compare output, price impact and gas
  • Build the unsigned swap transaction for a wallet

Parameters

ParameterTypeRequiredDescription
chain"ethereum" | "base" | "arbitrum" | "optimism" | "polygon" | "bsc"yesBlockchain network (see allowed values)
token_instringyesToken address, or 'native' for ETH/POL/BNB
token_outstringyesToken address, or 'native'
amountstringnoAmount of token_in in normal units, e.g. '1.5' (or use amount_raw)
amount_rawstringnoAmount of token_in in base units (wei)
slippage_bpsinteger · default 50noSlippage tolerance in basis points
senderstringnoOptional wallet address: returns an unsigned transaction + allowance check

Call it

MCP · tools/calljson
{
  "name": "swap_route",
  "arguments": {
    "chain": "base",
    "token_in": "native",
    "token_out": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "amount": "1"
  }
}
HTTPSreturns 402, then pay with an x402 client
curl -i "https://api.ishob.com/v1/crypto/swap-route?chain=base&token_in=native&token_out=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913&amount=1"

Paid with x402: the first call returns HTTP 402 with the price; an x402 client (for example @x402/fetch or @x402/mcp) signs a USDC payment and retries. Calls that fail are not charged. Connect the MCP server: setup for Claude, Cursor and other clients.

More crypto & on-chain security tools