OpenAny
Get API keyAPI Key
APICrypto & DeFi

lifi logo
LI.FI Target Amount Quote API

Get LI.FI Target Amount Quote data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Lifi, pass parameters such as fromAddress, fromChain, fromToken, and retrieve structured data including estimated destination token amount, to amount min, estimated network gas costs, quoted transfer fee components, and prepared transaction data to prepare quote review screens, and separate preparation from execution.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

LI.FI Target Amount Quote API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
LI.FI Target Amount Quote API

LI.FI Target Amount Quote API

Provide fromChain, toChain, fromToken, toToken, fromAddress and toAmount. toAmount is the desired destination quantity; inspect the returned source amount estimate.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required inputs: fromChain, toChain, fromToken, toToken, fromAddress, toAmount. Optional: toAddress, order, slippage, integrator, fee, referrer, allowBridges, allowExchanges, denyBridges, denyExchanges, preferBridges, preferExchanges, allowDestinationCall, maxPriceImpact, swapStepTimingStrategies, routeTimingStrategies, svmMaxSupportedTransactionVersion, svmPriorityFeeLevel, skipSimulation
Selected implementation lifi · LI.FI — Get a quote for a token transfer
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Prepare quote review screens: Display the chain, tokens, amount and fee estimates together.
  • Separate preparation from execution: Inspect transactionRequest before any independent signing flow.

Returned Data

Field Meaning
action.fromAmount Source token amount in base units
estimate.toAmount Estimated destination token amount
estimate.toAmountMin Minimum destination amount for the quoted step
estimate.gasCosts Estimated network gas costs
estimate.feeCosts Quoted transfer fee components
transactionRequest Prepared transaction data
stepSimulation Transaction simulation metadata

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/lifi/v1/quote/toAmount \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode fromAddress=0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0 \
  --data-urlencode fromChain=1 \
  --data-urlencode fromToken=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
  --data-urlencode toAmount=100000000 \
  --data-urlencode toChain=10 \
  --data-urlencode toToken=0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published LI.FI Target Amount Quote API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
The sending chain. Can be the chain id or chain key
The receiving chain. Can be the chain id or chain key
The token that should be transferred. Can be the address or the symbol
The token that should be transferred to. Can be the address or the symbol
The sending wallet address
The amount that will be received including all decimals (e.g. 1000000 for 1 USDC (6 decimals))
Optional parameters (19)
The receiving wallet address. If none is provided, the fromAddress will be used
Which kind of route should be preferred **FASTEST**: This sorting criterion prioritizes routes with the shortest estimated execution time. Users who value speed and want their transactions to be completed as quickly as possible should choose the fastest routes. **CHEAPEST**: This criterion focuses on minimizing the cost of the transaction, whether in token amount or USD amount (USD amount minus gas cost). Users looking for the most economical option should choose the cheapest routes.
The maximum allowed slippage for the transaction as a decimal value. 0.005 represents 0.5%.
A string containing tracking information about the integrator of the API
The percent of the integrator's fee that is taken from every transaction. 0.02 represents 2%. The maximum fee amount should be less than 100%.
A string containing tracking information about the referrer of the integrator
List of bridges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
List of exchanges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
List of bridges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
List of exchanges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
List of bridges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
List of exchanges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
Whether swaps or other contract calls should be allowed as part of the destination transaction of a bridge transfer. Separate swap transactions on the destination chain are not affected by this flag. By default, parameter is `true`.
The price impact threshold above which routes are hidden. As an example, one should specify 0.15 (15%) to hide routes with more than 15% price impact. The default is 10%.
Timing setting to wait for a certain amount of swap rates. In the format `minWaitTime-${minWaitTimeMs}-${startingExpectedResults}-${reduceEveryMs}`. Please check [docs.li.fi](https://docs.li.fi) for more details.
Timing setting to wait for a certain amount of routes to be generated before chosing the best one. In the format `minWaitTime-${minWaitTimeMs}-${startingExpectedResults}-${reduceEveryMs}`. Please check [docs.li.fi](https://docs.li.fi) for more details.
Maximum Solana transaction version the client can sign. Defaults to 0; omission or null uses v0. Set to 1 to allow V1 where enabled for the environment. Jito requests always use v0. Size overflow may fall back to v0. Read transactionRequest.svmTransactionVersion for the version actually built. Ignored for source chains other than Solana.
Priority fee level for Solana Virtual Machine (SVM) transactions.
Skips the EVM step simulation of the generated transaction. Honoured only for integrators configured by LI.FI; for every other caller it is accepted for backward compatibility and ignored (the transaction is simulated as usual). When honoured, the gas limit comes from the tool estimate, a transaction that would revert is not rejected, and the step carries `stepSimulation.status: not-attempted` with `disabledReason: skip_requested`.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
lifiCurrent
LI.FI — Get a quote for a token transfer · GET · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · lifiUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.

calls

Total $0

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/lifi/v1/quote/toAmount
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
fromChainURL query parametersquerystringYes

The sending chain. Can be the chain id or chain key

toChainURL query parametersquerystringYes

The receiving chain. Can be the chain id or chain key

fromTokenURL query parametersquerystringYes

The token that should be transferred. Can be the address or the symbol

toTokenURL query parametersquerystringYes

The token that should be transferred to. Can be the address or the symbol

fromAddressURL query parametersquerystringYes

The sending wallet address

toAmountURL query parametersquerystringYes

The amount that will be received including all decimals (e.g. 1000000 for 1 USDC (6 decimals))

toAddressURL query parametersquerystringNo

The receiving wallet address. If none is provided, the fromAddress will be used

orderURL query parametersquerystringNo

Which kind of route should be preferred **FASTEST**: This sorting criterion prioritizes routes with the shortest estimated execution time. Users who value speed and want their transactions to be completed as quickly as possible should choose the fastest routes. **CHEAPEST**: This criterion focuses on minimizing the cost of the transaction, whether in token amount or USD amount (USD amount minus gas cost). Users looking for the most economical option should choose the cheapest routes.

enum: "FASTEST", "CHEAPEST"

slippageURL query parametersquerynumberNo

The maximum allowed slippage for the transaction as a decimal value. 0.005 represents 0.5%.

minimum: 0 · maximum: 1

integratorURL query parametersquerystringNo

A string containing tracking information about the integrator of the API

feeURL query parametersquerynumberNo

The percent of the integrator's fee that is taken from every transaction. 0.02 represents 2%. The maximum fee amount should be less than 100%.

minimum: 0 · maximum: 1

referrerURL query parametersquerystringNo

A string containing tracking information about the referrer of the integrator

allowBridgesURL query parametersqueryarrayNo

List of bridges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.

Nested fields and variants

query.allowBridges[] · Array item · string

allowExchangesURL query parametersqueryarrayNo

List of exchanges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.

Nested fields and variants

query.allowExchanges[] · Array item · string

denyBridgesURL query parametersqueryarrayNo

List of bridges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.

Nested fields and variants

query.denyBridges[] · Array item · string

denyExchangesURL query parametersqueryarrayNo

List of exchanges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.

Nested fields and variants

query.denyExchanges[] · Array item · string

preferBridgesURL query parametersqueryarrayNo

List of bridges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.

Nested fields and variants

query.preferBridges[] · Array item · string

preferExchangesURL query parametersqueryarrayNo

List of exchanges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.

Nested fields and variants

query.preferExchanges[] · Array item · string

allowDestinationCallURL query parametersquerybooleanNo

Whether swaps or other contract calls should be allowed as part of the destination transaction of a bridge transfer. Separate swap transactions on the destination chain are not affected by this flag. By default, parameter is `true`.

maxPriceImpactURL query parametersquerynumberNo

The price impact threshold above which routes are hidden. As an example, one should specify 0.15 (15%) to hide routes with more than 15% price impact. The default is 10%.

swapStepTimingStrategiesURL query parametersqueryarrayNo

Timing setting to wait for a certain amount of swap rates. In the format `minWaitTime-${minWaitTimeMs}-${startingExpectedResults}-${reduceEveryMs}`. Please check [docs.li.fi](https://docs.li.fi) for more details.

Nested fields and variants

query.swapStepTimingStrategies[] · Array item · string

routeTimingStrategiesURL query parametersqueryarrayNo

Timing setting to wait for a certain amount of routes to be generated before chosing the best one. In the format `minWaitTime-${minWaitTimeMs}-${startingExpectedResults}-${reduceEveryMs}`. Please check [docs.li.fi](https://docs.li.fi) for more details.

Nested fields and variants

query.routeTimingStrategies[] · Array item · string

svmMaxSupportedTransactionVersionURL query parametersquerynumber | nullNo

Maximum Solana transaction version the client can sign. Defaults to 0; omission or null uses v0. Set to 1 to allow V1 where enabled for the environment. Jito requests always use v0. Size overflow may fall back to v0. Read transactionRequest.svmTransactionVersion for the version actually built. Ignored for source chains other than Solana.

enum: 0, 1, null

svmPriorityFeeLevelURL query parametersquerystringNo

Priority fee level for Solana Virtual Machine (SVM) transactions.

enum: "NORMAL", "FAST", "ULTRA"

skipSimulationURL query parametersquerybooleanNo

Skips the EVM step simulation of the generated transaction. Honoured only for integrators configured by LI.FI; for every other caller it is accepted for backward compatibility and ignored (the transaction is simulated as usual). When honoured, the gas limit comes from the tool estimate, a transaction that would revert is not rejected, and the step carries `stepSimulation.status: not-attempted` with `disabledReason: skip_requested`.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • actionobject
    • fromAddressstring
    • fromAmountstring
    • fromChainIdinteger
    • fromTokenobject
      • addressstring
      • chainIdinteger
      • coinKeystring
      • decimalsinteger
      • logoURIstring
      • namestring
      • priceUSDstring
      • symbolstring
      • tagsunknown[]
      • verificationStatusstring
      • verificationStatusBreakdownunknown[]
    • slippagenumber
    • toAddressstring
    • toChainIdinteger
    • toTokenobject
      • addressstring
      • chainIdinteger
      • coinKeystring
      • decimalsinteger
      • logoURIstring
      • namestring
      • priceUSDstring
      • symbolstring
      • tagsunknown[]
      • verificationStatusstring
      • verificationStatusBreakdownunknown[]
  • estimateobject
    • approvalAddressstring
    • executionDurationinteger
    • feeCostsobject[]
    • fromAmountstring
    • fromAmountUSDstring
    • gasCostsobject[]
    • toAmountstring
    • toAmountMinstring
    • toAmountUSDstring
    • toolstring
  • idstring
  • includedStepsobject[]
    • actionobject
    • estimateobject
    • idstring
    • toolstring
    • toolDetailsobject
    • typestring
  • integratorstring
  • recommendedSlippagenumber
  • stepSimulationobject
    • gasSourcestring
    • statusstring
  • toolstring
  • toolDetailsobject
    • keystring
    • logoURIstring
    • namestring
  • transactionIdstring
  • transactionRequestobject
    • chainIdinteger
    • datastring
    • fromstring
    • gasLimitstring
    • gasPricestring
    • tostring
    • valuestring
  • typestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example (source abbreviated)

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 25

    Review these request fields before running. Keep the published provider and request method unchanged.

    fromChain
    The sending chain. Can be the chain id or chain key
    toChain
    The receiving chain. Can be the chain id or chain key
    fromToken
    The token that should be transferred. Can be the address or the symbol
    toToken
    The token that should be transferred to. Can be the address or the symbol
    fromAddress
    The sending wallet address
    toAddress
    The receiving wallet address. If none is provided, the fromAddress will be used
    toAmount
    The amount that will be received including all decimals (e.g. 1000000 for 1 USDC (6 decimals))
    order
    Which kind of route should be preferred **FASTEST**: This sorting criterion prioritizes routes with the shortest estimated execution time. Users who value speed and want their transactions to be completed as quickly as possible should choose the fastest routes. **CHEAPEST**: This criterion focuses on minimizing the cost of the transaction, whether in token amount or USD amount (USD amount minus gas cost). Users looking for the most economical option should choose the cheapest routes.
    slippage
    The maximum allowed slippage for the transaction as a decimal value. 0.005 represents 0.5%.
    integrator
    A string containing tracking information about the integrator of the API
    fee
    The percent of the integrator's fee that is taken from every transaction. 0.02 represents 2%. The maximum fee amount should be less than 100%.
    referrer
    A string containing tracking information about the referrer of the integrator
    allowBridges
    List of bridges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
    allowExchanges
    List of exchanges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
    denyBridges
    List of bridges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
    denyExchanges
    List of exchanges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
    preferBridges
    List of bridges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
    preferExchanges
    List of exchanges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint. Also values `all`, `none`, `default` and `[]` are acceptable and mean all tools of the current type (`all`), no tools (for `none` and `[]` cases) and default tool's settings on the current stage.
    allowDestinationCall
    Whether swaps or other contract calls should be allowed as part of the destination transaction of a bridge transfer. Separate swap transactions on the destination chain are not affected by this flag. By default, parameter is `true`.
    maxPriceImpact
    The price impact threshold above which routes are hidden. As an example, one should specify 0.15 (15%) to hide routes with more than 15% price impact. The default is 10%.
    swapStepTimingStrategies
    Timing setting to wait for a certain amount of swap rates. In the format `minWaitTime-${minWaitTimeMs}-${startingExpectedResults}-${reduceEveryMs}`. Please check [docs.li.fi](https://docs.li.fi) for more details.
    routeTimingStrategies
    Timing setting to wait for a certain amount of routes to be generated before chosing the best one. In the format `minWaitTime-${minWaitTimeMs}-${startingExpectedResults}-${reduceEveryMs}`. Please check [docs.li.fi](https://docs.li.fi) for more details.
    svmMaxSupportedTransactionVersion
    Maximum Solana transaction version the client can sign. Defaults to 0; omission or null uses v0. Set to 1 to allow V1 where enabled for the environment. Jito requests always use v0. Size overflow may fall back to v0. Read transactionRequest.svmTransactionVersion for the version actually built. Ignored for source chains other than Solana.
    svmPriorityFeeLevel
    Priority fee level for Solana Virtual Machine (SVM) transactions.
    skipSimulation
    Skips the EVM step simulation of the generated transaction. Honoured only for integrators configured by LI.FI; for every other caller it is accepted for backward compatibility and ignored (the transaction is simulated as usual). When honoured, the gas limit comes from the tool estimate, a transaction that would revert is not rejected, and the step carries `stepSimulation.status: not-attempted` with `disabledReason: skip_requested`.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/lifi/v1/quote/toAmount?fromAddress=0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0&fromChain=1&fromToken=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&toAmount=100000000&toChain=10&toToken=0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "action": {
        "fromAddress": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0",
        "fromAmount": "100310989",
        "fromChainId": 1,
        "fromToken": {
          "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
          "chainId": 1,
          "coinKey": "USDC",
          "decimals": 6,
          "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6",
          "name": "USD Coin",
          "priceUSD": "1.0002350525",
          "symbol": "USDC",
          "tags": [],
          "verificationStatus": "verified",
          "verificationStatusBreakdown": []
        },
        "slippage": 0.010715365645379251,
        "toAddress": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0",
        "toChainId": 10,
        "toToken": {
          "address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
          "chainId": 10,
          "coinKey": "USDC",
          "decimals": 6,
          "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6",
          "name": "USD Coin",
          "priceUSD": "1.0008373187",
          "symbol": "USDC",
          "tags": [],
          "verificationStatus": "verified",
          "verificationStatusBreakdown": []
        }
      },
      "estimate": {
        "approvalAddress": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE",
        "executionDuration": 2,
        "feeCosts": [
          {}
        ],
        "fromAmount": "100310989",
        "fromAmountUSD": "100.3346",
        "gasCosts": [
          {}
        ],
        "toAmount": "100049911",
        "toAmountMin": "100049911",
        "toAmountUSD": "100.1337",
        "tool": "across"
      },
      "id": "8f4d6943-6df2-43bc-93bf-2b06ef7ee779:0",
      "includedSteps": [
        {
          "action": {},
          "estimate": {},
          "id": "9df06ada-fb31-4d70-b480-afe0f4196d1d",
          "tool": "feeCollection",
          "toolDetails": {},
          "type": "protocol"
        }
      ],
      "integrator": "lifi-api",
      "recommendedSlippage": 0.01101256322858362,
      "stepSimulation": {
        "gasSource": "simulation",
        "status": "success"
      },
      "tool": "across",
      "toolDetails": {
        "key": "across",
        "logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/across.svg",
        "name": "AcrossV4"
      },
      "transactionId": "0x9047983708275cf4eeab0fc2bb9347c7329b77500a59078f02e7fea6b0ec88e6",
      "transactionRequest": {
        "chainId": 1,
        "data": "0x1794958f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000",
        "from": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0",
        "gasLimit": "0x425e3",
        "gasPrice": "0x2d4a467",
        "to": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE",
        "value": "0x0"
      },
      "type": "lifi"
    }

Common questions

What units does toAmount use?

toAmount includes token decimals: use base units and precise arithmetic, not a display-number float.

What recipient is used if toAddress is omitted?

The contract defaults to fromAddress.

How do I express slippage?

Use a decimal fraction, such as 0.005 for 0.5%.

Can I select route preferences?

order supports FASTEST or CHEAPEST; supported allow, deny and prefer options further constrain routing.

Does this send or sign a transaction?

No. This endpoint returns quote or transaction-construction data. Signing and broadcasting occur separately, and a returned object is not a completed transfer.

Are network fees the OpenAny API call price?

No. Gas and transfer fee estimates describe the on-chain operation. Review the selected implementation pricing separately for the OpenAny request.

Use LI.FI Target Amount Quote API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.