# KyberSwap Zap as a Service

The objective of the Zap as a Service API (ZaaS) / Zap Liquidity Widget is to enable users to effortlessly add liquidity into any concentrated liquidity protocol using any tokens, while also minimizing price impact through integration with the KyberSwap aggregator.

Currently, participating in concentrated liquidity protocols such as Uniswap v3 entails a cumbersome process of manually calculating specific token ratios based on position ranges, followed by separate transactions for swapping and depositing into the pool. We aim to streamline this process, making it as simple as a token swap.

The target audience for the ZaaS API / Liquidity Widget includes portfolio management apps, wallets, and other liquidity protocol dapps seeking to integrate this API into their UI.

## Advantages

* **Streamlined Liquidity Provision:** Zap simplifies the process of adding liquidity into concentrated liquidity protocols, making participation as straightforward as a token swap, catering to users of all experience levels.
* **Minimized Price Impact:** By leveraging the KyberSwap aggregator swapping along with pool swapping and simulating different zapping routes, Zap reduces price impact during the liquidity provision, ensuring optimal price impact for user.
* **Capital Efficiency:** Zap employs fallback logic to execute additional swaps if necessary, ensuring maximal usage of capital during liquidity provision even during volatile market.
* **Integration Flexibility:** The ZaaS API aims to offer seamless integration into various dexes, enhancing user experience and competitiveness.

## Use cases

Zap currently supports the following liquidity actions:

1. Add Liquidity to a Pool with a new position
2. Increase Liquidity into an existing Liquidity Position
3. Remove liquidity from the pool into a single token
4. Creating a new pool - pool not created yet for the specific token pair-fee tier configuration


---

# 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.kyberswap.com/kyberswap-solutions/kyberswap-zap-as-a-service.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.
