> For the complete documentation index, see [llms.txt](https://docs.kyberswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions/dynamic-trade-routing.md).

# Dynamic Trade Routing

Sourcing Optimal Liquidity For Your Trade

<figure><img src="https://1368568567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw1XgQJc40kVeGUIxgI7c%2Fuploads%2Fgit-blob-2d9976e5209c080c48a9911605c71d6d36e61dc9%2Fimage.png?alt=media" alt=""><figcaption><p>Sourcing superior routes for your trade</p></figcaption></figure>

KyberSwap Aggregator has Dynamic Trade Routing, which aggregates fractured liquidity across DEXs thereby enabling users to source more capitally efficient liquidity to support their trades. Through integration with a myriad of DEX smart contracts, KyberSwap Aggregator is able to function as an optimisation layer between the DEX smart contract and incoming trade requests. This ensures that users always get more optimal rates for any token swap, on any of the KyberSwap Aggregator supported networks.

KyberSwap trades are split and routed through different DEXs for the best prices within the same chain/network. Users can trade tokens that may not be in KyberSwap pools but are available on other DEXs. You can see exactly which DEXs were involved in the trade and the % split between them.

KyberSwap's DEX aggregator also provides the following benefits:

* **KyberSwap Ecosystem Gas Savings**: The KyberSwap Aggregator is able to generate additional gas savings for trades which are wholly routed via KyberSwap pools by optimizing the trade route internally.
* **Fee on Transfer Savings**: KyberSwap Aggregator can also be configured to minimize the number of transfers. As a result, the gas fees associated with trading Fee on Transfer (FoT) tokens are also reduced. *In Fee on Transfer tokens, generally, a small portion of every transfer is either burnt or diverted to another wallet (i.e. tax). FoT tokens are common on the BSC chain.*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions/dynamic-trade-routing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
