Use the Bundle API instead of Route when you need a fixed action order, checks, dynamic outputs, or actions Route does not cover — such as harvest, borrow, repay, leverage, or claim. Start with Route when the product can express the outcome as a path into one destination.
Definition
Route asks Enso to find the path. Bundle asks Enso to run the list you provide. Choosing the wrong endpoint is a common source of routing errors: some operations will not build as a Route.
How it works
Use Route for a token swap, a zap into one vault or tokenized position, a withdraw or redeem of one position, a position migration (unless a fixed order matters), or a cross-chain route into one destination token or position.
Use Bundle when:
The flow needs harvest, borrow, repay, leverage, or claim.
You need multiple checks, dynamic outputs, or a custom callback after a bridge.
You must specify the bridge or the exact protocol sequence.
If a Route returns “Could not build shortcuts for route,” confirm the action does not belong on Bundle.
How Enso does this
The comparison table lives in Get Started. Call POST https://api.enso.build/api/v1/shortcuts/bundle for the list-shaped flow, or POST /api/v1/shortcuts/route for the path-shaped flow. Inside a bundle, enso:route is an action, not a replacement for the standalone Route API.
FAQ
Can I migrate a position with Route?
Yes, when a single destination is enough. Use Bundle if the migration must follow a fixed action order.
Do redeem or harvest work on Route?
The FAQ says redeem and harvest must go through the Bundle API with the delegate routing strategy.
Related articles
Route API vs Bundle API: which should I use?
What is the difference between routing and bundling?
What does “Could not build shortcuts for route” mean?
How do I bundle multiple DeFi actions into one transaction?
What is the Enso Bundle API?
