Quote
Get an unsigned swap transaction with price quote for any-to-any token routing
Authorizations
API key via Authorization: Bearer YOUR_API_KEY
Query Parameters
Input token address
^0x[a-fA-F0-9]{40}$Output token address
^0x[a-fA-F0-9]{40}$Amount of tokenIn in smallest unit, or percentage format (e.g. '50%')
^\d+%?$Slippage tolerance in basis points (1 = 0.01%, 10000 = 100% / fast mode). Fast mode (slippage=10000) skips simulation and balance preflight, and bakes minOut=0 into the trade tx — stats.amountOutMin is therefore '0'. stats.amountOut and the rest of the response are still populated.
1 <= x <= 10000Wallet address that will sign and execute the transaction
Blockchain network Blockchain network identifier
BASE, ETH, BSC, ARB, AVAX, ABS, HYPE, INK, STORY, XLAYER, PLASMA, UNI, MONAD, MEGAETH, SOL Gas priority level
LOW, MEDIUM, HIGH, INSTANT Run pre-flight transaction simulation, at a time cost
Integrator fee recipient wallet address
Integrator fee in basis points (0 or 10-500)
0 <= x <= 500Response
Quote generated
Routing path showing each hop through DEX pools
Trade statistics and price estimates
Unsigned transactions ready to sign. The order in which they must be broadcast (or bundled in an EIP-7702 multicall) depends on the pool type:
• Default (DEX swaps + Strategy/V4 hooks + Four.meme non-BNB sells + Tempo ENSHRINED):
approve → extra → trade. The extra is a second pre-condition
(Permit2 approve, quote-token approve, or moved-aside ERC-20 approve).
• Launchpad bonding curves (poolType: APE.STORE, ARENAV2,
BASE.MEME, CREATOR.BID, DYOR FUN, ENSHRINED [non-Tempo],
FASTER.FUN, INKYPUMP, LIQUIDLAUNCH, MANIA, NAD.FUN, POLITISWAP,
PRISMFI, SOMETHING, ALLOCA): approve → trade → extra. The
extra here is the fee tx (cashback + referral split on the
native received from the swap) — it must run AFTER the swap
because the wallet doesn't have the fee tokens until the swap
settles. Detect via path[0].step.poolType ∈ this set.
Error message when success is false

.png?fit=max&auto=format&n=vFD3JaMmh-jP1DJL&q=85&s=eb89fc3bbcbf83018c6491d27144e343)