Skip to main content

LI.FI OpenAPI Specification

The LI.FI API follows the OpenAPI 3.0 specification. You can use this spec to:
  • Generate client SDKs in any language
  • Import into API testing tools (Postman, Insomnia, etc.)
  • Integrate with AI agents and LLM tools
  • Build automated documentation

Download

OpenAPI YAML

Download the OpenAPI specification

API Base URLs

EnvironmentBase URL
Productionhttps://li.quest
Staginghttps://staging.li.quest

For AI Agents

AI agents can discover and consume this API through multiple formats:
ResourceURLDescription
AI Pluginhttps://docs.li.fi/.well-known/ai-plugin.jsonStandard discovery format
llms.txthttps://docs.li.fi/llms.txtStructured documentation for LLMs
Agent Guide/agents/overviewHuman-readable integration guide

llms.txt

Machine-readable documentation with canonical pages, minimal endpoints, and decision rules

Specification Details

  • OpenAPI Version: 3.0.2
  • API Version: 1.0.0
  • Endpoints: 28+ paths covering quotes, routes, tokens, chains, and more