> For the complete documentation index, see [llms.txt](https://docs.baltex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.baltex.io/defi-api.md).

# DeFi API

**What it is:**\
Smart routing for decentralized trades. Baltex searches across DEXs and liquidity sources to aim for great prices and dependable execution.

**Highlights:**

* **Best-price routing**: Finds competitive routes across multiple DEXs.
* **Speed vs. price**: You can prioritize faster settlement or better pricing.
* **Clear previews**: Know expected output and fees upfront.
* **Reliable outcomes**: Built to reduce failed or stale trades in changing markets.

**Common use cases:**

* One-tap swaps in wallets
* In-app trading for DeFi dashboards
* Price-sensitive strategies that still value reliability

**What users experience:**

* Pick token in → token out
* See a preview with expected output
* Confirm and receive the result—no extra steps

**Why it’s useful:**

* Less time stitching together many DEXs
* More consistent results for end users
* Easy to explain and support
