Skip to main content
POST
Returns the best path for the requested operation, including approval data, expected output, and per-step fees.

Body

string
required
Source token address. Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for native.
integer
required
Source chain ID.
string
required
Destination token (or LP/NFT) address.
integer
required
Destination chain ID. Same as srcChainId for same-chain.
number
required
Slippage tolerance, in percent. 0.5 = 0.5%.
string
Amount to swap or liquidity to add (in wei). Optional for some operations.
string
Account initiating the zap. Optional for a quote; required when building the transaction.
string
Recipient address for the resulting tokens / position. Optional for a quote; required when building the transaction.
string
Address to receive refunds if the operation fails partway. Optional for a quote; required when building the transaction.
string
Pre-signed permit data for the source token (optional).
object
NFT-related operation details (e.g. Uniswap V3 LP NFT).
object
Pool-specific details for liquidity operations.
string[]
Whitelist of bridges to consider.
string[]
Whitelist of swap protocols to consider.
object
Integrator fee configuration.

Response

string
"success" on 200.
object[]
Array of approvals to grant before executing (one per token that needs approval; empty if none needed).
object[]
Final output amount(s) of the whole zap.
object[]
Any leftover/unswept amounts produced by the route. Same shape as data.output items above.
object[]
Ordered list of route steps.

Examples

Last modified on July 29, 2026