Skip to content
Fourohtwo

api.ishob.com/v1/crypto/swap-route

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.

BaseAnswering
GEThttps://api.ishob.com/v1/crypto/swap-route

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.ishob.com/v1/crypto/swap-route?amount=1&chain=base&token_in=native&token_out=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913");
console.log(await res.json());

Example input

{
  "amount": "1",
  "chain": "base",
  "token_in": "native",
  "token_out": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
}

More from ISHOBProvider status