Fee
0.05%
per swap on every plan, no hidden fees
Routing
Multi-DEX
Solana's major DEXs, plus Pump.fun bonding curves
Integration
1 key
REST over HTTPS, X-API-KEY header, no SDK needed
Quote, route, execute
The whole Solana swap API in one request shape. Quote first; add your wallet when you want the transaction.
Quote
GET /api/v2/quote with src_mint, dst_mint, amount_in and slippage_bps returns the live price and the route plan for that pair and size.
Route
The engine weighs liquidity across Solana's major DEXs for the order and returns the route it picked, inspectable before you sign.
Execute
Add user_account to the same request to get a base64 txn. You sign, submit and confirm; Carbium RPC is one place to submit it.
curl --get 'https://api.carbium.io/api/v2/quote' \
--data-urlencode 'src_mint=So11111111111111111111111111111111111111112' \
--data-urlencode 'dst_mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v' \
--data-urlencode 'amount_in=1000000' \
--data-urlencode 'slippage_bps=50' \
--header "X-API-KEY: $CARBIUM_API_KEY"const url = new URL("https://api.carbium.io/api/v2/quote");
url.searchParams.set("src_mint", inputMint);
url.searchParams.set("dst_mint", outputMint);
url.searchParams.set("amount_in", amountIn);
url.searchParams.set("slippage_bps", "50");
url.searchParams.set("user_account", wallet.publicKey.toBase58());
const quote = await fetch(url, {
headers: { "X-API-KEY": process.env.CARBIUM_API_KEY },
}).then((r) => r.json());
// quote.txn is a base64 transaction: sign it, then submit it through your RPC.{
"srcAmountIn": "1000000",
"destAmountOut": "1257091",
"destAmountOutMin": "1257091",
"slippage": "50",
"priceImpactPct": "0",
"routePlan": [
{ "swap": "Raydium", "percent": 100 }
],
"txn": "AQAAAA..."
}Quote 0.001 SOL to USDC. Base URL https://api.carbium.io/api, key in the X-API-KEY header, amounts in the token's smallest unit, slippage in basis points. Pump.fun tokens still on their bonding curve quote with fft=1. Quick start in the docs.
Supported DEXs
Trade confidently across major Solana DEXs
Raydium
Meteora
Orca
Pumpfun
Moonshot
Raydium
Meteora
Orca
Pumpfun
Moonshot
Raydium
Meteora
Orca
Pumpfun
Moonshot
What you get with Carbium Swap API
Multi-DEX routing
- Quotes compared across Solana's major DEXs and launchpads
- One route plan per request, returned before you sign
- Bonding-curve quotes for Pump.fun tokens with fft=1
MEV Protection V2
- Front-running detection and protection applied to execution
- Slippage set per request in basis points
- Transaction simulation before you submit
One flat fee
- 0.05% per swap on every plan, no hidden fees
- Published requests per second and per minute on each plan
- Free plan to start, paid plans from $99 a month in USDC
Swiss-owned infrastructure
- Served from a private data center Carbium owns in Switzerland
- Carbium's own fibre, routers, firewalls and power redundancy
- The same stack that runs Carbium RPC
Built for the teams that trade on Solana
Wallets
Add in-app token swaps without integrating each DEX yourself: one quote-and-swap flow, multi-DEX coverage, slippage set per request.
Trading bots
Programmatic quotes and transactions with published requests per second, bonding-curve quotes for new Pump.fun tokens, up to 100 RPS on Elite.
Trading teams
A flat 0.05% per swap, route plans you can inspect before signing, and infrastructure Carbium owns and operates in Switzerland.
Moving from Jupiter or another Solana router
The request shape is the one you already know: quote first, then an executable transaction. The guides map the parameters and compare the routers side by side.
| Jupiter | becomes | Carbium |
|---|---|---|
inputMint | src_mint | |
outputMint | dst_mint | |
amount | amount_in | |
slippageBps | slippage_bps |
Two calls become one
GET /swap/v1/quotePOST /swap/v1/swapGET /api/v2/quotequote, then swap with userPublicKey
user_account in the same request returns the txn
Migration guide
Parameter by parameter: what src_mint, dst_mint, amount_in and slippage_bps replace, and where the txn payload lands in your flow.
Migrate from JupiterSolana DEX aggregator comparison 2026
Carbium, Jupiter, Titan, OKX and DFlow on routing depth, quote speed and fees, with the numbers behind each claim.
Read the comparisonPlans and pricing
Every plan is billed the same way, 0.05% per swap. Paid plans raise the published request limits and the number of API keys.
Free
Start building at no cost: quotes and swaps with one API key.
- 1 RPS
- 60 RPM
- 0.05% per swap
Starter
Take a wallet or app live with ten times the Free limits and three API keys.
- 10 RPS
- 600 RPM
- 0.05% per swap
Pro
For bots and apps with steady traffic, with five API keys.
- 50 RPS
- 3,000 RPM
- 0.05% per swap
Elite
The highest published limits, for high-volume bots and trading terminals.
- 100 RPS
- 6,000 RPM
- 0.05% per swap
Part of the Carbium stack
Carbium RPC
JSON-RPC, WebSocket and gRPC streaming on Swiss-owned bare metal. Submit the swaps you build here.
Carbium RPCCarbium DEX
The same routing in a swap interface, for people rather than programs.
dex.carbium.ioCarbium Token Data
Search, resolve and batch Solana token metadata to pair with your quotes.
Token Data APISolana Swap API questions
What the API does, what it costs, and how it fits next to the router you use today.
Read the quick startWhat is the Carbium Swap API?
A REST API for the Solana blockchain that returns real-time swap quotes and builds executable swap transactions, routing each order across several DEXs from a single API key. It costs 0.05% per swap on every plan.
Which DEXs does it route across?
Solana's major DEXs and launchpads, among them Raydium, Meteora, Orca and Pump.fun, and the set keeps growing. Pump.fun tokens still on their bonding curve are quoted on the live curve when you pass fft=1.
How do I get a quote?
Send GET https://api.carbium.io/api/v2/quote with src_mint, dst_mint, amount_in in the token's smallest unit and slippage_bps, and your key in the X-API-KEY header. The response carries the price and the route plan.
How do I execute a swap?
Add user_account, your wallet address, to the same quote request. The response then includes txn, a base64 transaction payload. Your app signs it, submits it through a Solana RPC such as Carbium RPC, and confirms it.
What does the Swap API cost?
0.05% per swap on every plan, with no hidden fees. Free is $0 with 1 request per second and 60 per minute; Starter is $99 a month with 10 RPS and 600 RPM; Pro is $249 with 50 RPS and 3,000 RPM; Elite is $999 with 100 RPS and 6,000 RPM. Plans are billed in USDC.
Is there a free plan?
Yes. Free costs nothing, allows 1 request per second and 60 per minute with one API key, and is enough to integrate and test quotes and swaps before you launch.
How is this different from Jupiter's swap API?
The shape is the same: quote, then an executable transaction. Carbium routes across its own set of DEXs, charges a flat 0.05% per swap, publishes requests per second and per minute for every plan, and serves the API from infrastructure it owns in Switzerland. The migration guide maps the parameters one to one.
What is MEV Protection V2?
Front-running detection and protection applied when your swap executes, together with per-request slippage in basis points and transaction simulation before you submit.
Do I need my own RPC?
Not for quoting. Quotes and the transaction payload come from the Swap API. Signing and submitting the transaction is your side, through any Solana RPC; Carbium RPC runs on the same infrastructure.
Where are the docs, and what about the v1 endpoints?
The quick start at carbium.io/docs leads with the v2 quote flow, documented as Q1. The older v1 quote and swap request family stays documented for existing integrations; do not mix the two parameter styles in one request.
Get a key and make your first quote
Create a free account, generate an API key, and send one GET /api/v2/quote. The quick start takes you from there to signing and submitting.



