Using Jupiter Aggregator on Solana
Jupiter Aggregator is a powerful liquidity aggregator on the Solana blockchain that helps you find the best swap rates across multiple decentralized exchanges (DEXs). Here's how to use it:
Basic Usage

Connect Your Wallet
Visit Jupiter's website
Click "Connect Wallet" and choose your Solana wallet (Phantom, Solflare, etc.)
Approve the connection in your wallet
Token Swap
Select the token you want to swap from (input token)
Select the token you want to receive (output token)
Enter the amount you want to swap
Jupiter will automatically find the best route across Solana DEXs
Review the rate, price impact, and fees
Click "Swap" and approve the transaction in your wallet
Advanced Features
Limit Orders
Click on the "Limit" tab
Set your desired price for the swap
Place the order (requires signing a transaction)
Monitor/Manage your orders in the "Orders" section
DCA (Dollar-Cost Averaging)
Click on the "DCA" tab
Set up recurring buys at specified intervals
Configure amount, frequency, and duration
Approve the necessary transactions
Perpetuals Trading
Click on the "Perpetuals" tab
Select a market and position type (long/short)
Set leverage and collateral
Open your position
API Access
Developers can integrate Jupiter's aggregation directly into their apps:
// Example API request
const quote = await fetch(
`https://quote-api.jup.ag/v6/quote?inputMint=So11111111111111111111111111111111111111112&outputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&amount=1000000`
);
const { data } = await quote.json();Tips
Always check the slippage tolerance (default is 0.5%)
For large swaps, consider splitting into multiple smaller transactions
Verify token addresses to avoid scams (Jupiter has verified token lists)
Gas fees on Solana are typically very low (<$0.01 per transaction)
Remember that Jupiter is just an aggregator - your swaps are executed directly on the underlying DEXs (like Raydium, Orca, etc.) through smart contracts.
