📖Overview
LiquidSwap is a multichain aggregator. It finds optimal swap routes across liquidity on supported chains, with built-in multi-hop routing, revenue sharing, and native token unwrapping.
Supported chains
Chain
chainId
HyperEVM
999
Robinhood Chain
4663
Pass chainId on route, tokens, token balances, liquidity sources, and pools requests.
Quick start
Get a route — call
GET https://api.liqd.ag/v2/routewithtokenIn,tokenOut,amountIn, andchainId.Execute — send the returned
calldatato the contract address inexecution.to.
const route = await fetch(
'https://api.liqd.ag/v2/route?tokenIn=0x555...&tokenOut=0xB8C...&amountIn=100&chainId=999'
).then(r => r.json());
const tx = await signer.sendTransaction({
to: route.execution.to,
data: route.execution.calldata,
});That's it. No API keys, no registration, no rate limits.
Key features
No authentication — start calling endpoints immediately
No rate limits — scale without worrying about quotas or throttling
Multichain — same API across HyperEVM and Robinhood Chain via
chainIdMulti-hop routing — set
multiHop=trueto route through intermediate tokensExact input or output — provide
amountInfor exact input swaps, oramountOutfor exact outputNative unwrapping — set
unwrapNative=trueto receive native HYPE (HyperEVM) or ETH (Robinhood Chain) instead of the wrapped token
Revenue sharing
LiquidSwap charges no forced fees for API usage. You choose your own fee structure:
Custom fees — set
feeBps(up to 100 = 1%) andfeeRecipienton route requests. You keep 97.5% of collected fees; 2.5% goes to protocol.Positive slippage — when swaps execute better than quoted, 50% of positive slippage is captured. If
feeRecipientis set, half goes to you and half to protocol. SetfeeBps=0with afeeRecipientto earn positive slippage without charging users.Zero-fee option — omit
feeBpsandfeeRecipientto operate completely fee-free.
API endpoints
Find optimal swap routes with ready-to-use calldata
List liquidity sources and routerIndex values for a chain
Discover pools for a token pair
List tracked tokens with metadata
Get token balances for a wallet
Base URL: https://api.liqd.ag
Contracts
HyperEVM (999)
0x744489ee3d540777a66f2cf297479745e0852f7a
Robinhood Chain (4663)
0xfc020bBCe0365f56bbBb78Ce504cE2a2b24E0ae6
Always prefer the execution.to address from the route response. See Execution for full details.
Last updated