By Staff, Swap Desk FeesDexOrder Types

What Is a DEX Aggregator? Routing, and How One Gets Paid

A DEX aggregator routes a swap across many pools for a better net price. How the routing works, and how one gets paid, worked from CoW's fee documents.

A DEX aggregator is a router for on-chain trades. It queries many decentralised exchanges and liquidity pools, then sends your order along whichever path, or split of paths, returns the most tokens after costs. The aggregator picks the venue mix and, depending on the protocol, takes a fee for doing so.

This is an evergreen explainer; CoW DAO’s fees below were read from its documentation on 30 October 2026 and can change by governance vote.

What is a DEX aggregator, and how does it work?

A single DEX quotes only its own pools. Aggregators such as 0x’s Swap API, 1inch or CoW Swap ask many sources at once, splitting a large order across pools or routing it through an intermediate token when that pays more. That is smart order routing. More pools cost more gas, which the router nets against price.

How does a DEX aggregator get paid? CoW Protocol’s fees

CoW DAO’s documentation describes solvers settling orders; this is one model, per its fees page:

FeeApplies toCalculation
Quote improvement feeMarket orders, incl. in-market limit and TWAP, filled better than quotedquote improvement × 0.5 or volume × 0.0098, whichever is lower
Surplus feeOut-of-market limit orders; discrete TWAP orders not executable when createdsurplus × 0.5 or volume × 0.0098, whichever is lower
Volume fee, standard assetsAll ordersvolume × 0.0002 (2 bps)
Volume fee, stables/RWAsAll ordersvolume × 0.00003 (0.3 bps)

A fill worse than the quote pays no quote improvement fee. Fees come out of the execution, in the surplus token. Apps embedding CoW can add a partner fee of up to 100 bps via the widget; per CIP-75 the protocol keeps 25% of it by default (partner fee page).

A worked example, with invented numbers

A market sell order in standard assets is quoted at 10,000 USDC and fills at 10,040. Half the 40 of improvement is 20; the cap is 98 (10,000 × 0.0098); 20 applies. The volume fee adds 2 (10,000 × 0.0002), so about 22 USDC goes to the protocol. The docs’ exact method differs slightly.

0x prices for the apps embedding it. Its pricing page lists a 0.15% transaction fee on the Standard plan, applied, per its FAQ, to Swap API swaps on select token pairs, plus trade surplus when an order fills better than quoted. Either way, unlike order-book maker and taker fees, the cost sits inside your price.

FAQ

What is smart order routing?

It is the logic that decides where an order goes. The router compares quotes across many liquidity sources, then splits the order or routes it through an intermediate token when that returns more of the output token after gas. Running it is an aggregator’s job.

What is slippage protection?

Slippage is the gap between the quoted price and the executed one. Slippage protection is a tolerance you set: if execution would be worse than that margin, the transaction reverts instead of filling. Tight settings fail more in fast markets; loose ones invite worse fills.

What is price impact protection?

Price impact is how far your own order moves a pool’s price, and it grows with order size relative to liquidity. Price impact protection typically warns you, or blocks the trade, when a route would move the price past a threshold. Splitting an order across pools keeps it down.

Before you swap

None of this is a case for any venue. DAO-set fees change on the DAO’s timetable, so read the live page before you sign, and apply the checks in how to choose a crypto exchange. Crypto assets are high risk; do your own reading.