How DEX Aggregators Work: Finding the Best Swap Rates
A single DEX only sees its own liquidity. An aggregator sees all of them at once, compares routes in real time, and picks the path that gives you the most tokens for your money.
Key Takeaways
- DEX aggregators scan multiple decentralized exchanges simultaneously to find the cheapest swap route
- Splitting a large order across several pools reduces price impact and saves you money
- ChainBridge compares 6 independent aggregators (plus Thorchain) in parallel for every trade
- Gas costs are factored into the comparison so the recommended route truly minimizes total cost
Table of Contents
- What is a DEX Aggregator?
- Why One DEX is Never Enough
- How Order Splitting Works
- Price Impact and Slippage
- How ChainBridge SOR Compares 6 Aggregators
- When to Use Aggregators vs Direct DEX
What is a DEX Aggregator?
A decentralized exchange (DEX) aggregator is a protocol that sources liquidity from multiple DEXs, compares swap routes, and executes your trade through the cheapest path. Instead of manually checking Uniswap, SushiSwap, Curve, and dozens of other exchanges, an aggregator does this in milliseconds.
Think of it like a flight comparison website. You want to fly from New York to London. Instead of checking every airline individually, the comparison site queries them all and shows you the cheapest option. A DEX aggregator does the same thing for token swaps.
The key difference from centralized exchanges: your tokens never leave your wallet until the moment of the swap. The aggregator is non-custodial. It finds the best route, but you sign and execute the transaction yourself.
Why One DEX is Never Enough
Each DEX has its own set of liquidity pools, fee tiers, and pricing algorithms. Uniswap V3 uses concentrated liquidity with multiple fee tiers (0.01%, 0.05%, 0.3%, 1%). Curve specializes in stablecoin swaps with ultra-low slippage. Balancer supports weighted pools with asymmetric ratios. No single DEX has the best price for every trade.
Prices across DEXs diverge constantly. Arbitrage bots work to close these gaps, but they are never perfectly aligned. At any given moment, swapping ETH for USDC might be 0.05% cheaper on Uniswap V3 than on SushiSwap. For a $10,000 trade, that is $5 saved. For a $100,000 trade, it is $50.
Beyond direct price differences, the optimal route might not even be a direct swap. Converting WBTC to LINK might be cheaper if you go WBTC to ETH to LINK through two separate pools, rather than using a single WBTC/LINK pool with thin liquidity.
How Order Splitting Works
Order splitting is the technique of dividing a single large trade into smaller portions and routing each portion through a different liquidity source. This is the most powerful feature of DEX aggregators.
Consider a $100,000 ETH to USDC swap. If you push the entire amount through one Uniswap V3 pool, you will move the price significantly against yourself. But if the aggregator splits it -- $40,000 through Uniswap V3 (0.05% tier), $35,000 through Curve, and $25,000 through Balancer -- each portion causes less price impact, and the total output is higher.
Simplified Example: 10 ETH to USDC
The split route saves $90 in this example. The savings grow proportionally with trade size.
Price Impact and Slippage
These two terms are often confused, but they describe different phenomena. Price impact is the change in price caused by your trade itself. When you buy a large amount from a liquidity pool, you push the price up against yourself. This is deterministic and can be calculated before the trade.
Slippage is the difference between the quoted price and the actual execution price, caused by other transactions being included in the block before yours. This is unpredictable. Setting a slippage tolerance (e.g., 1%) protects you: if the price moves more than your tolerance between the quote and execution, the transaction reverts.
| Trade Size | Typical Price Impact | Effective Cost |
|---|---|---|
| $100 | < 0.01% | Negligible |
| $1,000 | 0.01% - 0.05% | Minimal |
| $10,000 | 0.05% - 0.5% | Noticeable on thin pools |
| $100,000 | 0.5% - 3%+ | Significant without split routing |
| $1,000,000+ | 3% - 10%+ | Split routing essential |
Price impact varies significantly by token pair and available liquidity. Major pairs like ETH/USDC have deep liquidity; exotic pairs can see 5%+ impact even on moderate trades.
How ChainBridge SOR Compares 6 Aggregators
ChainBridge does not query individual DEXs directly. Instead, it queries 6 DEX aggregators (0x, 1inch, ParaSwap, KyberSwap, UniswapX, and Balancer V3), each of which already aggregates dozens of liquidity sources. This creates a meta-aggregation layer: an aggregator of aggregators.
Small trade (< $1,000)
Usually a single aggregator wins outright
Gas costs dominate; split routing adds overhead without benefit
Medium trade ($1K - $50K)
Varies by token pair and liquidity
Each aggregator accesses different pools; the best route changes every block
Large trade ($50K+)
Often split across 2-3 routes
Price impact on a single pool is significant; splitting reduces slippage
Exotic pairs (low liquidity)
Aggregators with multi-hop routing
Direct pair may not exist; the best route goes through intermediate tokens
Cross-chain (BTC, DOGE)
Thorchain (native assets)
Only Thorchain supports truly native cross-chain swaps without wrapping
All quotes are fetched in parallel with a 10-second timeout. If one aggregator is slow or returns an error, the SOR proceeds with the remaining quotes. You always see a comparison table showing which aggregator returned what price, so you can verify the selection. Learn more about the specific aggregators on our Smart Order Routing page.
When to Use Aggregators vs Direct DEX
Aggregators are not always the best choice. Here is a framework for deciding.
Use an Aggregator When
- Your trade is larger than $500
- You are swapping between tokens with liquidity spread across multiple pools
- You want to minimize the time spent checking prices manually
- You need the best possible execution for a DeFi strategy
Use a Direct DEX When
- You are making a very small trade where gas cost dominates
- You need a specific DEX feature (e.g., limit orders on dYdX)
- You are interacting with a brand-new token only listed on one DEX
- You want to provide liquidity (aggregators are for swapping, not LPing)
Related Articles
Get the Best Price on Every Swap
ChainBridge compares 6 aggregators in real time so you never overpay. Connect your wallet and start swapping.