Sprinter Solve enables efficient, intent-based swap execution through the Solve API, powered by the Sprinter Solver (built on the Project Blanc solver). You request a route for a token swap and receive the executable call data, optimized for best price with MEV protection and low slippage.
Base URL
The Swap API is served per network:
Authentication
All requests use HTTP Basic authentication. Your credentials are a username and an API key (format sk_live_*) used as the password:
How it works
- Detect an intent — a user wants to swap one token for another.
- Get a route — call
GET /v1/route with the input amount, token in/out, and slippage (in basis points). The response includes amountOut, minAmountOut, the target contract, the executable callData, and gas estimates.
- Execute — send a transaction to
target with callData from the user’s wallet to fulfill the swap on-chain.
Endpoints
GET /v1/route returns the route and the call data needed to execute the swap:
Re-query /v1/route before execution if there is a delay, and simulate the call data (e.g. with Tenderly) before sending.