Quote a swap across every viable route
Same request body as POST /quote, but fans out to every eligible routing adapter for the pair instead of picking one. Adapters with no liquidity or a failed upstream call are dropped, not surfaced as partial errors — routes only ever contains adapters that returned a live quote.
routes[0] is guaranteed to be a BROADCASTABLE route — its transactionRequest executes as a single on-chain call, never a deposit-based (intent) route. Deposit-based routes sort last regardless of the registry’s default pick, because their transactionRequest is inert and any consumer that unconditionally broadcasts routes[0] (settlement executor, escrow keeper, admin treasury refill) must not silently receive one. Use routes[i>0] if the payer chooses an intent route and your client can drive the deposit flow.
routes[0] is otherwise the entry POST /quote would return (the registry’s default broadcast pick). Use this endpoint instead of POST /quote when you want to let the payer pick between routes rather than always taking the default.
Authorizations
Body
Output token address (tokenOut), on dstChain (or srcChain when same-chain). Format follows dstChain: EVM chains take a 0x-prefixed 40-char hex string, non-EVM chains take that chain's native address format (e.g. base58 for Solana).
"0x37a351f11e5614FC56e3BFb84aAC940767faC365"
Address that will receive tokenOut after the swap. This lives on the DESTINATION chain, so its format follows dstChain — a base58 address for a Solana payout, not a 0x EVM address. Format follows dstChain: EVM chains take a 0x-prefixed 40-char hex string, non-EVM chains take that chain's native address format (e.g. base58 for Solana).
"0x37a351f11e5614FC56e3BFb84aAC940767faC365"
Source-chain SENDER — the wallet that signs + submits the source transaction (transactionRequest.from) and that the inner-swap routers quote against. Distinct from recipient: for a cross-chain swap the sender lives on the SOURCE chain while recipient is the destination payout. When omitted, defaults to recipient at the API boundary (same-chain swaps where sender == payout). REQUIRED when src and dst are in different ecosystems, where that default would be nonsense.
"0x37a351f11e5614FC56e3BFb84aAC940767faC365"
Destination-chain principal authorised to recover funds via SettlementFacet.sendFallback if the executor fails to deliver before fallbackDelay elapses. Distinct from recipient (happy-path payout target) — useful when the src-tx sender + the dst-side beneficiary live at different addresses (smart wallet sources, aggregator UIs).
When omitted, defaults to recipient at the API boundary — same address receives both happy-path payout AND fallback refund. Pass explicitly only when you want the two split (e.g. recipient = end-user, refundRecipient = treasury).
Stays EVM-only on purpose, unlike recipient: this is a Hypermid diamond concept (SettlementFacet.sendFallback), and the diamond only exists on EVM chains. A non-EVM destination routes over an intent-based rail, which has no claim to recover, so the field is not meaningful there.
"0x37a351f11e5614FC56e3BFb84aAC940767faC365"
Partner's NET integrator fee as a decimal share of amountIn (0.01 = 1%). The net rate has the same meaning on every rail; providers that split an app fee receive a rail-specific gross declaration so the partner still receives this rate. Converted to basis points server-side, bounded only by the contract hard cap of 1000 bps (10%) — the direct quote API has no per-partner soft cap. The fee is taken from the source token and accrues to the partner's configured fee wallet (set per API key's partner). Rejected (400) if the partner has no fee wallet configured.
0 <= x <= 0.10.01
Recipient-direct bridge mode. When true the Warp Route delivers the bridged asset straight to recipient on the destination chain — no dst-side claim is registered, so the registrar + executor are NOT involved. Only valid when the recipient wants the bridged asset as-is (no destination swap). Cheaper + faster, but the user receives the bridged token, not an arbitrary outputToken. Defaults false (claim flow).
false
Raw-swap mode. When true, a same-chain PulseChain swap returns the DIRECT aggregator router call in transactionRequest instead of the diamond swapOnly wrapper. Set by the diamond executor's settlement path, which runs the destination swap itself from inside SettlementFacet.executeClaim and so needs raw router calldata (the diamond-wrapped target would make the diamond call itself and revert, and its post-fee sizing drops the estimate below the committed floor). Not for user wallets — those want the diamond route so the swap emits SwapCompleted. Defaults false.
false