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 this API through:
https://docs.li.fi/.well-known/ai-plugin.json
This provides a standard discovery format compatible with most AI platforms.

Specification Details

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