# Managed Swap Fee

{% hint style="info" %}
**Note for DEX Teams:**

Ideal for dApps, AI agents, or business-specific integrations that trigger special swaps.

Make sure to mark externally-managed swaps clearly for transparency.

Available via **Plugins Marketplace**: <https://market.algebra.finance/plugin/managed-swapfee/>
{% endhint %}

### User-Oriented Overview:

In some cases, a **custom fee** may apply to a swap initiated through a third-party service—like a partner dApp, KYC-verified address, or AI trading bot.

These swaps are:

* Executed with a **specific fee** configured for that case.
* Authorized by secure cryptographic signatures.

If you're using a DEX-integrated tool that manages swaps on your behalf, this plugin allows it to **set a fee just for that transaction**—often as part of a tailored trading experience or incentive.

> 🔒 If no special conditions apply, the default pool fee will be used.


---

# Agent Instructions: 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://docs.algebra.finance/algebra-integral-documentation/user-guide-template-for-dexes/concentrated-liquidity-and-modular-architecture-basics/fee-mechanics/managed-swap-fee.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.
