What is a DEX aggregator? One search, many pools
The same swap can pay different amounts on different DEXs. A DEX aggregator checks many pools and detours for you, like a map app checking many roads.
One swap app offers a little more ETH for your 1,000 USDC than another. Ten minutes later, the other one is ahead. So which do you use?
Why the same swap pays different amounts
A swap is a trade of one token for another, like USDC, a digital dollar, for ETH, Ethereum's main coin. A DEX is a market run by a program, and it fills swaps from liquidity pools: shared pots of tokens that set a price from the mix inside.
Each DEX has its own pools. Every trade changes a pool's mix, so its price drifts on its own. Pools also differ in size and in the small fee they charge. That is why several DEXs on Ethereum can offer the same swap and still pay different amounts.
Take some made-up numbers. For 1,000 USDC, one DEX offers 1.002 ETH, a second offers 1.005 ETH and a third offers 0.998 ETH. Later the order can flip. Traders keep pulling prices back together, but small gaps keep opening.
Checking each one by hand takes ages, and the numbers can change while you check.
A map app for swaps
Think of a map app. You say where you want to go. It checks many roads, then sends you down the one that looks good right now. You do not need to know the streets.
Tools called DEX aggregators do this with pools. You pick two tokens and an amount. The tool looks at many pools and works out what each would pay. Then it sends your swap down the route that returns the most it can find.
It also tries detours. The direct road takes USDC to ETH in one pool. A detour might go from USDC to USDT, another dollar token, and then from USDT to ETH. That route passes through two pools and pays two pool fees. So a detour only wins when it still returns more at the end.
What people get wrong
An aggregator is a search, not a new market. The ETH you get still comes from those pools. The tool finds the route. The pools fill the trade.
Many is not all. Each tool checks the DEXs it has listed, so some pools stay outside its search.
The amount on screen is an estimate. A quote is the price offered right now. Other trades can move that price while your swap waits to join a block, and that gap is called slippage. So these tools show about how much you will get, not an exact amount.
The checks are still yours. A good route does not fix a wrong token. Before you sign, look at the token, the chain and the amount.
Where Cleave fits
Cleave is one of these tools, on six chains: Ethereum, Arbitrum, Base, BNB Chain, Polygon and Optimism. It searches many pools for you. Fees are included in the price. The quoting guide explains what goes into one.
AI agents, software that acts for you, get the same quotes. The agent docs cover how.
In short
- The same swap can return different amounts on different DEXs, and which one pays the most keeps changing.
- A DEX aggregator checks many pools and detours for you, the way a map app checks many roads.
- The amount shown is an estimate. The token, the chain and the amount are still yours to check.
- One search, many pools.
More one-minute DeFi explainers: cleave.fi/blog