Fuse API
Bundle
Compose multiple zap actions - swap + bridge + LP-deposit, etc. - into a single quote or transaction.
POST
Bundle several zap actions (e.g. multiple deposits, or a swap plus a deposit) into a single request. There are two endpoints:
/v1/bundle/quote to price the bundle, and /v1/bundle/buildTx to get executable transaction data for it. Both accept the same request body and return the same overall response shape as /v1/quote and /v1/buildTx respectively - the difference is the actions array replaces the single srcToken/destToken pair.
Body
Ordered list of zap actions to bundle. See “Action shape” below.
User account initiating the bundle.
Address to receive the final tokens/positions.
Address to receive refunds if an action fails partway.
Slippage tolerance, in percent.
0.5 = 0.5%.If
true, skip building executable transaction steps (only meaningful on /v1/bundle/buildTx).Whether to include a gas estimate in the response.
Whitelist of swap protocols to consider.
Whitelist of bridges to consider.
Integrator fee configuration.
Action shape
Each entry inactions[]:
Action type:
swap, bridge, deposit, withdraw, stake, unstake, increase, or harvest.A single
{ address: string; amount?: string } or an array of them (for multi-token deposits).Destination token (or LP/NFT) address. Optional depending on the action.
Required for cross-chain actions.
NFT-related operation details (e.g. Uniswap V3 LP NFT).
Pool-specific details for liquidity operations.
Force a specific protocol for this action instead of auto-selecting the best one.
Response
Both endpoints return the same top-levelstatus field. The data shape depends on which endpoint you call:
Array of approvals to grant before executing (one per token that needs approval; empty if none needed).
Final output amount(s) of the whole bundle.
Any leftover/unswept amounts produced by the route. Same shape as
data.output items above.Ordered list of route steps.
Only present from
/v1/bundle/buildTx. Ordered list of executable transaction steps - sign and submit these in order.Examples
Last modified on July 14, 2026