logo

Carbium Swap API

Trade Smarter. Execute Faster.

Carbium Swap API is a REST API for the Solana blockchain that returns real-time swap quotes and builds executable swap transactions across multiple DEXs behind a single API key. It gives wallets, trading bots, and trading teams multi-DEX smart routing, MEV Protection V2, and transparent 0.08% per-swap pricing, running on sovereign, Swiss-located infrastructure.

Read integration docs

What it does

  • Quote any pair: get a real-time price between any two Solana SPL tokens with slippage control.
  • Execute swaps: build a signed-ready swap transaction routed across supported DEXs for competitive pricing.
  • Multi-DEX smart routing: the engine compares liquidity across DEXs and routes each order for best execution.
  • MEV Protection V2: front-running detection and protection applied to execution.
  • Transaction simulation: simulate a transaction before submitting it on-chain.

Who it is for

Wallets

Add in-app token swaps without integrating each DEX yourself. One key, one quote-and-swap flow, multi-DEX coverage.

Trading bots

Programmatic quotes and swap transactions with slippage control, provider selection, and extended v2 routing for automated strategies.

Trading teams

Reliable execution on self-hosted, Swiss-located infrastructure, with transparent per-swap pricing and no hidden fees.

icon

Competitive Fees

0.08% per swap with transparent pricing. No hidden fees, no surprises.

icon

Reliable Execution

High-performance infrastructure ensuring consistent uptime across all supported DEXs.

icon

Advanced Trading Engine

Multi-DEX smart routing ensures best pricing
Intelligent transaction bundling reduces costs
Real-time price feeds
Transaction simulation before execution
icon

Professional Trading Tools

Limit orders and automated trading strategies
Portfolio rebalancing with custom parameters
DCA implementation with flexible scheduling
Advanced order types
icon

Built-in Security

MEV Protection V2 with front-running detection
Real-time transaction simulation
Comprehensive audit trails
Multi-layer security architecture

How integration works

  1. 1.Create a free account and generate an API key from the dashboard.
  2. 2.Call GET /v1/quote with your token mints and amount to get a real-time quote.
  3. 3.Call GET /v1/swap to build the swap transaction, then sign and submit it.
  4. 4.Send your key in the X-API-KEY header on every request.
GET/v1/quote

Get a swap quote between two tokens.

fromMint, toMint, amount, slippage, provider

GET/v1/swap

Build a token swap transaction ready to sign and submit.

owner, fromMint, toMint, amount, slippage, provider

GET/v2/quote

Cross-quote endpoint with extended routing.

src_mint, dst_mint, amount_in, slippage_bps, user_account

curl -X GET "https://api.carbium.io/api/v1/quote?fromMint=So11111111111111111111111111111111111111112&toMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&amount=100000&slippage=100&provider=raydium" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/json"

Base URL: https://api.carbium.io/api · Authentication: X-API-KEY header. Full parameters and responses are in the Carbium DEX API documentation.

Supported DEXs

Trade confidently across major Solana DEXs

Raydium

Meteora

Orca

Pumpfun

Moonshot

Raydium

Meteora

Orca

Pumpfun

Moonshot

Raydium

Meteora

Orca

Pumpfun

Moonshot

Get Started with High-performance swap infrastructure

Transparent pricing at 0.08% per swap with no hidden fees. Start free, upgrade for dedicated throughput and priority support as your integration grows.

Frequently asked questions

What is the Carbium Swap API?

It is a REST API for the Solana blockchain that returns real-time swap quotes and builds executable swap transactions, routing each order across multiple DEXs from a single API key.

Which DEXs does it support?

Swaps are routed across Raydium, Meteora, Orca, Pumpfun, and Moonshot, with more DEXs being added.

How do I authenticate requests?

Every request must include your API key in the X-API-KEY header. You generate keys from the Carbium dashboard after creating an account.

How much does it cost?

Pricing is transparent at 0.08% per swap, with no hidden fees. See the plans page for tier details, and you can start for free.

Where are the full API docs?

The authoritative integration guide is the Carbium DEX API quick start at docs.carbium.io. The endpoint reference covers quote and swap parameters in detail.

How do I get help or request a custom solution?

Use Contact Us on the Carbium API site to discuss custom routing, dedicated infrastructure, or commercial terms. For implementation questions, start with the Carbium DEX API documentation.

cargo add spiderswap

Need a Custom Solution?

Reach out to our team to discuss tailored options for your project.

Get started

Create a free account, generate your API key, and make your first quote in minutes.

By logging in, you agree to our Terms of Service and Privacy Policy.

Powered by SPDR