Best Jupiter swap route for a Solana token pair
solana_quoteBest Jupiter swap route for a Solana token pair and an amount: input and output in token units, the minimum received after slippage, price impact, effective price, each route hop and USD values. from and to take a mint address or a symbol such as SOL or USDC; a symbol resolves to the verified token with the highest organic score, and the chosen mint is named. Quote only: nothing is built, signed or sent. Related tools on this server, for a different need: solana_token when you need to check a Solana token: market data and red flags; solana_wallet when you need Solana wallet holdings: SOL and every SPL / Token-2022. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"to": "<to>",
"amount": "<amount>"
},
"name": "solana_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Mint address or symbol to buy, e.g. USDC | |
| from | Yes | Mint address or symbol to sell, e.g. SOL | |
| amount | Yes | Amount of from in whole tokens, e.g. 1 or 0.25 | |
| slippageBps | No | Slippage tolerance in basis points, 0 to 1000 (default 50) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | ||
| notes | No | ||
| route | No | ||
| output | No | ||
| source | No | ||
| checkedAt | No | ||
| quoteOnly | No | ||
| disclaimer | No | ||
| slippageBps | No | ||
| effectivePrice | No | ||
| priceImpactPct | No | ||
| symbolResolution | No |