Skip to main content
POST
Discover advanced route plans
Use this endpoint when your integration needs route-level control instead of a single packaged transaction from /v1/quotes.

Headers

x-api-key
string

Optional API key for higher rate limits and fee rules.

Body

application/json
senderAddress
string
required

Sender wallet address on the origin chain.

Example:

"0x1111111111111111111111111111111111111111"

originChainId
number
required

Origin chain ID.

Example:

8453

destinationChainId
number
required

Destination chain ID.

Example:

42161

amount
string
required

Exact input amount in token base units as a positive integer string, before Delora and integrator fees.

Example:

"1000000"

originCurrency
string
required

Origin token address, or native asset marker supported by the backend.

Example:

"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"

destinationCurrency
string
required

Destination token address, or native asset marker supported by the backend.

Example:

"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"

receiverAddress
string

Receiver wallet address. Defaults to senderAddress for same chain-type routes (EVM -> EVM or SVM -> SVM) and is required when crossing chain types (EVM -> SVM or SVM -> EVM).

Example:

"0x2222222222222222222222222222222222222222"

integrator
string

Integrator identifier used for fee attribution. Required when fee is provided.

Example:

"partner-app"

fee
number

Optional integrator fee fraction taken from the input amount. 0.01 means 1%. Must be between 0 and 0.1 inclusive and can be provided only with integrator.

Required range: 0 <= x <= 0.1
Example:

0.01

slippage
number

Optional slippage fraction. 0.005 means 0.5%.

Required range: 0 <= x <= 1
Example:

0.005

includeBridges
string

Comma-separated bridge adapter keys from /v1/tools to include. Only bridge-capable or multi-capability adapters are valid.

Example:

"RELAY,ACROSS"

includeExchanges
string

Comma-separated exchange adapter keys from /v1/tools to include. Only exchange-capable or multi-capability adapters are valid.

Example:

"OPENOCEAN,OKX"

excludeBridges
string

Comma-separated bridge adapter keys from /v1/tools to exclude. Only bridge-capable or multi-capability adapters are valid.

Example:

"MAYAN_FAST_MCTP"

excludeExchanges
string

Comma-separated exchange adapter keys from /v1/tools to exclude. Only exchange-capable or multi-capability adapters are valid.

Example:

"OKX"

maxRoutes
number

Maximum number of ranked advanced routes to return.

Required range: x >= 1
Example:

2

Response

Ranked advanced route plans.

routes
object[]
required

Ranked route plans. Each route contains one or more estimated steps.