Swap Quote

Solana API endpoint for fetching Solana swap quotes. Returns expected output, price impact, slippage bounds, and full route plan for any token pair.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Fetch Solana swap quotes for any token pair using this API endpoint. Retrieve expected output, price impact, slippage thresholds, and detailed route plans sourced from vetted liquidity pool routing.

Supports custom input amounts, slippage settings, and wallet-aware routing, making it ideal for pricing engines, pre-trade validation, and optimizing swap execution across multiple DEX routes.

Returns the expected output amount, swap rate, and slippage threshold for a given token pair and amount. Quotes are sourced through internal pool scanning using vetted liquidity criteria combined with external aggregators to maximize route coverage, prioritizing direct pools and vetted markets first.

This route is currently in beta and is subject to change.

Query Params
double
required

Amount of input token to swap (in UI units, e.g., 0.1 for 0.1 SOL)

string
required

Mint address of the input token

string
required

Mint address of the output token

string | null

Wallet address (used for personalized routing)

double | null

Slippage tolerance in percentage (default: 0.5)

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json