Jupiter aggregator quote on Solana for an exact-input swap
crypto_jupiter_solana_routingJupiter aggregator quote on Solana for an exact-input swap: input and output amounts in base units, price impact %, USD value, slippage, and the AMM route legs (venue labels). Quote only, no transaction. Amounts stay in the token's smallest unit (decimals are not looked up). 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": {
"inputMint": "<inputMint>",
"outputMint": "<outputMint>",
"amount": "<amount>"
},
"name": "crypto_jupiter_solana_routing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to sell in the smallest unit (lamports for SOL) | |
| inputMint | Yes | Mint to sell (base58), e.g. SOL wrapped mint So11111111111111111111111111111111111111112 | |
| outputMint | Yes | Mint to buy (base58) | |
| slippageBps | No | Slippage tolerance in basis points, 1 to 1000 (default 50) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| inAmount | No | ||
| checkedAt | No | ||
| inputMint | No | ||
| outAmount | No | ||
| routeLegs | No | ||
| outputMint | No | ||
| routeVenues | No | ||
| slippageBps | No | ||
| swapUsdValue | No | ||
| priceImpactPct | No | ||
| otherAmountThreshold | No |