Skip to Content
V3 APIOverview

V3 API Overview

The V3 API is the current stable version of the XO Swap API.

🔐

Authorization Required: All API requests require specific headers. See the Authorization guide for details.

Integration Flows

Choose the integration flow that best fits your use case:

Direct Swaps

Best for: Cross-chain swaps and controlled rates

  • Swap a predefined number of pairs (belonging to the same or different chains)
  • The swap is as easy as a “send” transaction
  • Get multiple rates or quotes for a pair

Indirect Swaps

Best for: Swapping a wide range of tokens within the same network

  • Allows swapping every token with on-chain liquidity within our list of supported networks
  • Execute swaps via smart contracts
  • Near instant swap completions

Endpoints

  • Assets - Get information about supported assets
  • Pairs - Get available trading pairs and limits
  • Rates - Get exchange rates for pairs
  • Quotes - Get quotes for swaps
  • Orders - Create and manage orders
  • Trades - Execute trades

Resources

Last updated on