LI.FI · OpenAPI Overlay 1.0.0

API Evangelist enhancements for the LI.FI API

7 actions 7 updates update extends openapi/lifi-openapi-original.yml
Derived by API Evangelist Built from the contracts LI.FI publishes. LI.FI did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-notex-apievangelist-deprecation-notex-apievangelist-slugx-apievangelist-enrichedx-api-docsx-llms-txtx-mcp-serverx-status-page

Targets 7

$.info
$
$.components.securitySchemes
$.paths['/v1/quote'].get
$.paths['/v1/status'].get
$.paths['/v1/quote/contractCall'].post
$.paths['/v1/advanced/possibilities'].post

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enhancements for the LI.FI API
  version: 1.0.0
extends: openapi/lifi-openapi-original.yml
x-generated: '2026-07-19'
x-method: generated
x-source: >-
  API Evangelist enrichment pipeline. Captures our additions on top of the
  harvested spec without mutating it. The upstream spec declares no
  securitySchemes, no operationIds and no tags on most operations; those gaps
  are recorded here rather than patched into the original.
actions:
- target: $.info
  update:
    x-apievangelist-slug: lifi
    x-apievangelist-enriched: '2026-07-19'
    x-api-docs: https://docs.li.fi/api-reference/introduction
    x-llms-txt: https://docs.li.fi/llms.txt
    x-mcp-server: https://mcp.li.quest/mcp
    x-status-page: https://status.li.fi
    x-changelog: https://docs.li.fi/changelog/monthly-updates
    x-rate-limits: https://docs.li.fi/api-reference/rate-limits
    x-error-codes: https://docs.li.fi/api-reference/error-codes
    contact:
      name: LI.FI Partnerships
      email: partnerships@li.fi
      url: https://li.fi/contact-us
    x-execution-model: >-
      Read-only HTTP surface. Endpoints return an unsigned transactionRequest;
      signing and broadcast occur in the caller's wallet.
- target: $
  update:
    x-apievangelist-gaps:
    - No securitySchemes are declared, although the API accepts an x-lifi-api-key
      header (see authentication/lifi-authentication.yml).
    - No operationIds are defined on any operation, so operations must be
      referenced by method and path.
    - Only the advanced and gas operations carry tags.
    - No response examples are embedded in the spec.
    - Error responses have empty descriptions and no schema.
- target: $.components.securitySchemes
  description: >-
    Document the API key the service actually accepts. LI.FI omits this from the
    published spec; recorded here as an API Evangelist enhancement, not as a
    provider claim.
  update:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-lifi-api-key
      description: >-
        Optional API key. Requests without a key are served at a lower rate
        limit. Obtain a key at https://li.fi/plans/. The hosted MCP server also
        accepts Authorization: Bearer and X-LiFi-Api-Key.
- target: $.paths['/v1/quote'].get
  update:
    x-apievangelist-role: primary
    x-apievangelist-note: >-
      Primary entry point. Returns the optimal route plus a transactionRequest
      ready for signing. Setting toToken to a supported vault or staking token
      activates Composer automatically.
- target: $.paths['/v1/status'].get
  update:
    x-apievangelist-note: >-
      Poll every 10-30 seconds until DONE or FAILED. Substatus distinguishes
      COMPLETED, PARTIAL and REFUNDED outcomes.
- target: $.paths['/v1/quote/contractCall'].post
  update:
    x-apievangelist-deprecation-note: >-
      Deprecated in the upstream spec. Use POST /v1/quote/contractCalls.
- target: $.paths['/v1/advanced/possibilities'].post
  update:
    x-apievangelist-deprecation-note: >-
      Deprecated in the upstream spec. Use GET /v1/connections and GET /v1/tools.

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/lifi-api-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.