GET /pipeline/private/v1/quote
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lifi/pipeline/private/v1/quoteCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeSingle best private (Incognito) route, with the private minimum applied.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
fromChain | query | int | required | Source chain id example: 1 |
toChain | query | int | required | Destination chain id example: 42161 |
fromToken | query | str | required | Source token address (zero address for the native token) example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 |
toToken | query | str | required | Destination token address example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 |
fromAmount | query | str | required | Amount in the source token's smallest unit, as an integer string example: 1000000 |
fromAddress | query | str | required | Address the route is planned for. Must be well formed for the source chain's family; an EVM placeholder such as 0x…dEaD works, Solana quotes use a base58 address. example: 0x000000000000000000000000000000000000dEaD |
toAddress | query | str | optional | Recipient address. Defaults to fromAddress; supply it explicitly whenever the two chains use different address formats (EVM↔SVM/TVM/MVM). example: 0x000000000000000000000000000000000000dEaD |
order | query | strCHEAPEST | FASTEST | RECOMMENDED | optional | Route ordering preference example: CHEAPEST |
integrator | query | str | optional | Integrator tag; affects fee display only example: jumper.exchange |
Response
type: object
data key: includedSteps
pagination: none
sample: {
"type": "str",
"id": "str",
"tool": "str",
"toolDetails": "object",
"action": "object",
"estimate": "object",
"includedSteps": "array[1]",
"integrator": "str",
"stepSimulation": "object",
"transactionRequest": "object",
"transactionId": "str",
"recommendedSlippage": "float"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lifi/pipeline/private/v1/quote?fromChain=1&toChain=42161&fromToken=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&toToken=0xaf88d065e77c8cC2239327C5EDb3A432268e5831&fromAmount=1000000&fromAddress=0x000000000000000000000000000000000000dEaD&toAddress=0x000000000000000000000000000000000000dEaD&order=CHEAPEST&integrator=jumper.exchange"