Raptor — Solana DEX Aggregator & Swap API
Self-Host
Run your own
instance
Download the Raptor binary and run it on your own infrastructure. Completely free. No API keys, no rate limits, no instance limits.
Full control over your DEX aggregator. Configure DEX filtering, worker threads, rate limits, and enable optional features like WebSocket streaming and Yellowstone Jet TPU.
--include-dexesOnly include specific DEXes--exclude-dexesExclude specific DEXes--enable-websocketEnable streaming quotes at /stream--enable-yellowstone-jetEnable Jet TPU transaction sending--workersNumber of worker threads--rpc-rate-limitLimit RPC calls per secondRPC_URLSolana RPC endpointYELLOWSTONE_ENDPOINTgRPC endpointBIND_ADDRServer address (default: 0.0.0.0:8080)Best prices across 20+ DEXes
Raptor finds the optimal route for every swap, splitting across pools, chaining up to 4 hops, and comparing prices in milliseconds.







Raydium
Meteora

Orca

Pump.fun

Bonding Curves

PropAMM

Others
Simple, powerful API
Get a quote, build a transaction, send it. Three calls to execute any swap on Solana.
Quoting
Get the best swap quotes with optimal routing. Stream live via WebSocket.
Swapping
Build complete swap transactions ready for signing and submission.
Sending
Send transactions via Yellowstone Jet TPU with automatic retry and tracking.
Configuration
Configure slippage, priority fees, platform fees, and DEX filtering.
Sending
Land transactions
faster
Send signed transactions directly to validators via Yellowstone Jet TPU. Automatic retrying, confirmation tracking, and parsed swap events.
pending\u2192confirmedorfailed// 1. Get a quote
const quote = await fetch(
'https://raptor-beta.solanatracker.io/quote
?inputMint=So11...&outputMint=EPjF...
&amount=1000000000'
).then(r => r.json());
// 2. Build transaction
const { swapTransaction } = await fetch(
'https://raptor-beta.solanatracker.io/swap',
{ method: 'POST',
body: JSON.stringify({
userPublicKey, quoteResponse: quote
})
}
).then(r => r.json());
// 3. Sign & send via Jet TPU
const signed = await wallet.signTransaction(tx);
const { signature } = await fetch(
'https://raptor-beta.solanatracker.io/send-transaction',
{ method: 'POST', body: JSON.stringify({ transaction: signed }) }
).then(r => r.json());Build your own swap product
Add a platform fee to every swap and collect revenue directly to your wallet. Up to 10% fee.
Fee Account
Specify your wallet address to receive fees directly. No intermediaries.
feeAccount: "Your...Pubkey"Fee BPS
Set your fee in basis points. 100 bps = 1%. Maximum 1000 bps (10%).
feeBps: 50 // 0.5% feeSlippage Charge
Optionally capture extra value on positive slippage for additional revenue.
chargeBps: 50