API Reference
The Xplore REST API provides a comprehensive interface for cross-chain token swaps and bridge operations.
Quick Start
Get started with the API by exploring these sections:
- API Overview - Learn about the API, base URLs, and common patterns
- Authentication - Understand API keys and rate limits
- Error Codes - Handle errors properly
General APIs
Access information about chains, tokens, and tools:
- Chains - Get all supported blockchain networks
- Tokens - Get all supported tokens
- Tools - Get available bridges and DEXes
- Transaction Status - Track cross-chain transactions
Quote APIs
Get routing quotes for token swaps:
- Single Quote - Get the best single route
- Advanced Routes - Compare multiple routes
- Step Transaction - Turn a selected route into a signed transaction
Base URLs
| Environment | Base URL |
|---|---|
| Production | https://xplore.api.v2.routerprotocol.com |
| Development | http://localhost:8080 |
Interactive Testing
Access the Swagger UI for interactive API testing:
- Production: https://xplore.api.v2.routerprotocol.com/swagger-ui/
- Development: http://localhost:8080/swagger-ui/