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 free

Single best private (Incognito) route, with the private minimum applied.

Parameters

nameintypedescription
fromChainqueryintrequiredSource chain id
example: 1
toChainqueryintrequiredDestination chain id
example: 42161
fromTokenquerystrrequiredSource token address (zero address for the native token)
example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
toTokenquerystrrequiredDestination token address
example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
fromAmountquerystrrequiredAmount in the source token's smallest unit, as an integer string
example: 1000000
fromAddressquerystrrequiredAddress 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
toAddressquerystroptionalRecipient address. Defaults to fromAddress; supply it explicitly whenever the two chains use different address formats (EVM↔SVM/TVM/MVM).
example: 0x000000000000000000000000000000000000dEaD
orderquerystr
CHEAPEST | FASTEST | RECOMMENDED
optionalRoute ordering preference
example: CHEAPEST
integratorquerystroptionalIntegrator 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"