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
| Environment | Base URL |
|---|---|
| Production | https://li.quest |
| Staging | https://staging.li.quest |
Quick Links
- API Introduction - Get started with the LI.FI API
- Authentication - Learn about API keys and rate limits
- Get a Quote - Request a cross-chain swap quote
For AI Agents
AI agents can discover this API through:Specification Details
- OpenAPI Version: 3.0.2
- API Version: 1.0.0
- Endpoints: 28+ paths covering quotes, routes, tokens, chains, and more

