> For the complete documentation index, see [llms.txt](https://wiki.icecreamswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.icecreamswap.com/intro/ai-dex-aggregator.md).

# AI DEX Aggregator

{% hint style="info" %}
For developers, we have easy-to-integrate APIs for [tokenList](https://app.swaggerhub.com/apis-docs/IceCreamSwap/TokenListApi/1.0.0), [pricing](https://app.swaggerhub.com/apis-docs/IceCreamSwap/PricingApi/1.0.0), and [AI DEX Aggregator](https://app.swaggerhub.com/apis-docs/IceCreamSwap/AI-DEX-Aggregator/1.0.0).
{% endhint %}

IceCreamSwap has a built-in and home-grown DEX aggregator that employs algorithms and smart order routing techniques powered by artificial intelligence (AI).

A DEX aggregator is a platform or service that allows users to access liquidity from multiple decentralized exchanges (DEXs) through a single interface. Instead of manually searching for the best prices and executing trades on different DEXs, users can utilize a DEX aggregator to automatically route their trades to the exchange offering the most favorable prices at any given moment. This aggregation of liquidity helps users achieve better execution prices and reduced slippage, ultimately improving the trading efficiency.

Our DEX aggregator stands out from other similar services in the following aspects:

* consolidates liquidity across an entire chain to identify optimal trading paths, effectively maximizing trading efficiency.&#x20;
* capitalizes on arbitrage opportunities for users by routing trades across all tokens and liquidity pools, including taxed tokens.&#x20;
* simulates rigorously routes prior to execution, ensuring a seamless process with expected outcomes.&#x20;
* provides an accessible API empowering projects to integrate DEX aggregation features into their own platforms effortlessly.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.icecreamswap.com/intro/ai-dex-aggregator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
