How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LI.FI Quote API

The Quote API from LI.FI — 4 operation(s) for quote.

LI.FI Quote API is one of 18 APIs that LI.FI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Quotes. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 4 paths, and defines 20 schemas. It is described by OpenAPI 3.0.0, at version 0.1.0.

Requests are made against a single base URL, https://earn.li.fi.

4 operations 4 paths 20 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
0.1.0
Base URL
https://li.quest
Authentication
API Key
Resource Areas
1

Authentication & Security 1

LI.FI Quote API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-lifi-api-key (x-lifi-api-key). By default, every request must be authenticated.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 2 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Quote 4
GET
/v1/quote
Get a quote for a token transfer
27 params → 200400404
GET
/v1/quote/toAmount
Get a quote for a token transfer
24 params → 200400404
POST
/v1/quote/contractCalldeprecated
Perform a contract call across blockchains (BETA)
1 param body → 200
POST
/v1/quote/contractCalls
Perform multiple contract calls across blockchains (BETA)
1 param body → 200

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are ContractCallRequest (23 properties), ContractCallsRequest (20 properties), Step (11 properties), Estimate (11 properties). Each schema is shown below with its type and property counts.

BridgesEnum
string
Identifier for a bridge tool. Retrieve the latest bridge keys from the /v1/tools endpoint. Keywords such as all, none, default, and [] are also supported where…
QuoteExchangesEnum
string
Exchange tool identifier or keyword. Retrieve current exchange keys from the /v1/tools endpoint. Supported keywords: all, none, default, [].
Token
object
Representation of a Token
8 properties 5 required
Tools
object
2 properties
QuoteBridgesEnum
string
Bridge tool identifier or keyword. Retrieve current bridge keys from the /v1/tools endpoint. Supported keywords: all, none, default, [].
Estimate
object
An estimate for the current transfer
11 properties 6 required
UnavailableRoutes
object
2 properties
ContractCall
object
Object defining a single arbitrary contract call
7 properties 5 required
ExchangesEnum
string
Identifier for an exchange tool. Retrieve the latest exchange keys from the /v1/tools endpoint. Keywords such as all, none, default, and [] are also supported…
ToolError
object
Describes why a certain operation (like a quote request) failed.
5 properties
IncludedStep
object
Object that represents one step of an IncludedSteps array in Route
6 properties 6 required
ContractCallsRequest
object
Object defining instructions on how to perform multiple cross-chain/same-chain calls
20 properties 7 required
GasCost
object
Gas costs included in the transfer
7 properties 3 required
Exchange
object
4 properties
SupportedChains
object
2 properties
ContractCallRequest
object
Object defining instructions on how to perform a cross chain call
23 properties 9 required
Action
object
Object describing what happens in a Step
8 properties 5 required
Step
object
Object that represents one step of a Route
11 properties 4 required
Bridge
object
4 properties
FeeCost
object
Fees included in the transfer
7 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lifi-quote-api-openapi.yml Raw ↑

Other APIs LI.FI publishes across the network.

LI.FI Intents Order Server API
LI.FI advanced API
LI.FI Analytics API
LI.FI Calldata API
LI.FI Chains API
LI.FI Connections API
LI.FI Earn Chains API
LI.FI Earn Portfolio API
LI.FI Earn Protocols API
LI.FI Earn Vaults API
LI.FI Gas API
LI.FI Integrators API
Where this information came from

This is an independent, third-party profile of LI.FI Quote API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.