# Developer Guide

- [Start Here](https://docs.kyberswap.com/developer-guide/start-here.md): Everything you need before your first API call
- [Rate Limits & Client ID](https://docs.kyberswap.com/developer-guide/start-here/rate-limits-and-client-id.md): Note on integration
- [Foundational Solutions](https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions.md)
- [Dynamic Trade Routing](https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions/dynamic-trade-routing.md): Sourcing Optimal Liquidity For Your Trade
- [Smart Settlement](https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions/smart-settlement-better-swap-output-with-lower-slippage.md): Atomic Pools Comparison for Higher Swap Output with lower Slippage
- [Off-Chain Relay, On-Chain Settlement](https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions/off-chain-relay.md): Gas Efficient Pre-committed Limit Orders
- [Gasless Cancellation](https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions/gasless-cancellation.md): Decentralized Trading Without The Gas Fees
- [KyberSwap OnChain Price Service](https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions/kyberswap-onchain-price-service.md)
- [Token Settlement Price](https://docs.kyberswap.com/developer-guide/start-here/foundational-solutions/token-settlement-price.md): Real-Time Token Prices Derived From Actual On-Chain Swaps
- [Aggregator API](https://docs.kyberswap.com/developer-guide/aggregator-api.md)
- [How-to Guides](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides.md): Step-by-step guides for common KyberSwap Aggregator API integration tasks.
- [Execute A Swap With The Aggregator API](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/execute-a-swap-with-the-aggregator-api.md): Interacting With KyberSwap Aggregator Router Contract
- [Upgrading To APIv1](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/execute-a-swap-with-the-aggregator-api/upgrading-to-apiv1.md): More Performant Routing And Encoding
- [Permit](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/permit.md): For swaps from supported EIP-2612 tokens, the \`permit\` parameter allows swapping without an approval transaction beforehand.
- [Scaling Swap Calldata With ScaleHelper](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/scaling-swap-calldata-with-scalehelper.md): For modifying effective amount in on-chain (at most ±5%)
- [KyberSwap Widget](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/kyberswap-widget.md): Plug And Play Superior Rates Straight From Your App
- [Integrating The KyberSwap Widget](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/kyberswap-widget/integrating-the-kyberswap-widget.md): Superior Rates With Minimal Code
- [Customizing The KyberSwap Widget](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/kyberswap-widget/customizing-the-kyberswap-widget.md): Endlessly Customizable
- [iFrame Alternative](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/kyberswap-widget/iframe-alternative.md)
- [Widget/iFrame Fee](https://docs.kyberswap.com/developer-guide/aggregator-api/how-to-guides/kyberswap-widget/widget-iframe-fee.md): Users trading directly on KyberSwap.com UI are not subject to this fee structure.
- [API Reference](https://docs.kyberswap.com/developer-guide/aggregator-api/aggregator-api-specification.md): Query Superior Swap Rates
- [API - EVM Swaps](https://docs.kyberswap.com/developer-guide/aggregator-api/aggregator-api-specification/evm-swaps.md): KyberSwap Aggregator EVM APIs
- [Contracts & Addresses](https://docs.kyberswap.com/developer-guide/aggregator-api/contracts.md): In Code We Trust
- [DEX IDs](https://docs.kyberswap.com/developer-guide/aggregator-api/dex-ids.md): KyberSwap DEX Mapping
- [Subgraphs](https://docs.kyberswap.com/developer-guide/aggregator-api/subgraphs.md): Indexing And Querying Blockchain Data
- [Zap as a Service (ZaaS) API](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api.md): Introducing Zap as a Service API (ZaaS) and Liquidity Widget, streamlining decentralized liquidity provision. Effortlessly add liquidity with a single token for enhanced DeFi engagement.
- [How-to Guides](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/how-to-guides.md): Step-by-step guides for common ZaaS API integration tasks.
- [Using Permit to Skip separate approval step](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/how-to-guides/using-permit-to-skip-separate-approval-step.md): Use EIP-2612 (ERC-20) or EIP-4494 (NFT) permit signatures with the   KSZapRouterPositionPermit contract to approve and zap in a single transaction.
- [Zap In - Enter a Liquidity Position](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/how-to-guides/zap-in-enter-a-liquidity-position.md): Use the ZaaS API to open a new concentrated liquidity position or increase an   existing one using any input token.
- [Zap Migrate — Move Between Pools](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/how-to-guides/zap-migrate-move-between-pools.md): Use the ZaaS API to migrate an existing liquidity position from one pool to   another in a single transaction.
- [Zap Out — Exit a Liquidity Position](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/how-to-guides/zap-out-exit-a-liquidity-position.md): Use the ZaaS API to remove liquidity from a concentrated liquidity position   and receive a single output token.
- [KyberSwap Liquidity Widget](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/how-to-guides/kyberswap-liquidity-widget.md): The widget will integrate with ZaaS API. Partners can simply plug-and-play the Zap widget in their dapps for their users.
- [Integrating The KyberSwap Liquidity Widget](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/how-to-guides/kyberswap-liquidity-widget/integrating-the-kyberswap-liquidity-widget.md): The @kyberswap/liquidity-widgets package is an npm package of React components used to provide subsets of the Zap Protocol functionality in a small and configurable user interface element.
- [API Reference](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/api-reference.md): Complete HTTP API reference for all ZaaS endpoints.
- [ZaaS HTTP API](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/api-reference/zaas-http-api.md)
- [ZaaS GRPC API](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/api-reference/zaas-grpc-api.md): GRPC API doc for ZaaS API
- [Contracts & Addresses](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/contracts-and-addresses.md)
- [Zap's Supported Chains/Dexes](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/zaps-supported-chains-dexes.md): This is the list of DEX IDs used in Zaas HTTP API.
- [Fee Structure](https://docs.kyberswap.com/developer-guide/zap-as-a-service-zaas-api/fee-structure.md)
- [Limit Order API](https://docs.kyberswap.com/developer-guide/limit-order-api.md): Off-Chain Relay, On-Chain Settlement
- [How-to Guides](https://docs.kyberswap.com/developer-guide/limit-order-api/how-to-guides.md): Step-by-step guides for Makers and Takers integrating the Limit Order API.
- [Place a Limit Order](https://docs.kyberswap.com/developer-guide/limit-order-api/how-to-guides/place-a-limit-order.md): Sign and submit a gasless limit order as a Maker using the KyberSwap Limit   Order API.
- [Fill a Limit Order](https://docs.kyberswap.com/developer-guide/limit-order-api/how-to-guides/fill-a-limit-order.md): Discover open limit orders and execute a fill on-chain as a Taker using the   KyberSwap Limit Order API.
- [Cancel an Order — Hard Cancel](https://docs.kyberswap.com/developer-guide/limit-order-api/how-to-guides/cancel-an-order-hard-cancel.md): Immediately cancel a limit order on-chain by submitting a transaction to the   Limit Order contract. Requires a gas fee.
- [Cancel an Order — Gasless](https://docs.kyberswap.com/developer-guide/limit-order-api/how-to-guides/cancel-an-order-gasless.md): Cancel a limit order off-chain without paying gas by instructing the KyberSwap   Operator to stop co-signing the order.
- [API Reference](https://docs.kyberswap.com/developer-guide/limit-order-api/api-reference.md): Complete HTTP API reference for all Limit Order endpoints.
- [General API](https://docs.kyberswap.com/developer-guide/limit-order-api/api-reference/general-api.md): General endpoints for querying supported pairs and contract addresses.
- [Maker API](https://docs.kyberswap.com/developer-guide/limit-order-api/api-reference/maker-api.md): Maker API endpoints for creating, querying, and cancelling limit orders.
- [Taker API](https://docs.kyberswap.com/developer-guide/limit-order-api/api-reference/taker-api.md)
- [Error Code Reference](https://docs.kyberswap.com/developer-guide/limit-order-api/api-reference/error-code-reference.md): All HTTP status codes and application-level error codes for the Limit Order API.
- [Contracts & Addresses](https://docs.kyberswap.com/developer-guide/limit-order-api/contracts-and-addresses.md): In Code We Trust
- [Fee Structure](https://docs.kyberswap.com/developer-guide/limit-order-api/fee-structure.md)


---

# 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/developer-guide.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.
