A DEX supplies a market in which tokens can trade. A DEX aggregator searches eligible markets and chooses an execution plan for your order. They often work together: an aggregated swap can settle entirely through the same DEX you could have accessed directly.
Two layers of one trade
Consider a hypothetical A-to-B swap. A pool on Exchange One returns 490 B, while a pool on Exchange Two returns 495 B for the same input. An aggregator might choose Exchange Two, or find a split route that does better. Exchange Two still supplies the reserves; the aggregation layer has selected their use.
0x's introduction describes aggregation across onchain venues and professional market makers. Meanwhile, Uniswap's protocol overview explains the pool contracts that provide an exchange mechanism. These are different responsibilities.
| Question | DEX venue | Aggregation layer |
|---|---|---|
| Where does pool liquidity sit? | In venue contracts | Usually accesses external sources |
| What determines execution? | Venue pricing and settlement rules | Selection of eligible sources and paths |
| Can several markets participate? | Depends on its router and interface | Commonly, when the route benefits |
The labels can overlap
A DEX-branded interface may offer sophisticated routing across pool versions, fee tiers or external sources. An aggregator may execute through just one source for a particular order. Counting logos in the route therefore does not reliably classify the application.
The practical comparison is between two executable offers for the same trade. Ask what sources each interface considered, which conditions apply, and which contracts execute the transaction. A direct DEX route may already be competitive; using an aggregator does not create an automatic improvement.
For a thinly traded asset, both interfaces can end up at the only usable pool. For an asset with fragmented liquidity, route selection has more alternatives. This explains why the usefulness of aggregation changes with the token pair and order amount rather than following a universal product ranking.
Sources & verification (2)
Source-check date is recorded in the article details. URLs are provided for manual verification. Use Copy to keep this page open.
- What is 0x?
Aggregation includes onchain and offchain liquidity, and interfaces can embed an aggregation service.
https://docs.0x.org/docs/core-concepts/introduction-to-0x - How Uniswap Works
Liquidity pools use reserve-based automated pricing and swaps alter reserves.
https://developers.uniswap.org/docs/get-started/concepts/how-uniswap-works