V4 API Overview
🚧
Beta — Under Active Development. The V4 API is currently in beta. Endpoints, request/response schemas, and behavior may change without notice. It is not recommended for production use yet. If you need a stable API, please use the V3 API.
Welcome to V4 of the XO Swap API - our next-generation API with enhanced features and improved performance.
🔐
Authorization Required: All API requests require specific headers. See the Authorization guide for details.
What’s New in V4
- Best Rate Discovery: Automatically finds the best swap rates by combining multiple providers and strategies
- CAIP-19 Standard: All assets use the CAIP-19 (Chain Agnostic Improvement Proposal) format for consistent asset identification across blockchains
- Unsigned Transactions: Returns ready-to-sign transactions for seamless integration
- Enhanced Error Handling: Improved error messages and response codes
