getRouteV1
GET/v1/route
Calculate the optimal swap route and generate execution parameters for a token exchange
Request
Responses
- 200
- 400
- 401
- 404
- 500
Successfully calculated swap route with execution details
Response Headers
Request-ID
Unique request identifier (16 bytes) encoded as hexadecimal with 0x prefix
Bad request due to invalid parameters
Response Headers
Request-ID
Unique request identifier (16 bytes) encoded as hexadecimal with 0x prefix
Unauthorized access due to invalid or missing credentials
Response Headers
Request-ID
Unique request identifier (16 bytes) encoded as hexadecimal with 0x prefix
No viable swap route found for the given parameters
Response Headers
Request-ID
Unique request identifier (16 bytes) encoded as hexadecimal with 0x prefix
Internal server error
Response Headers
Request-ID
Unique request identifier (16 bytes) encoded as hexadecimal with 0x prefix