Taker APIs
KyberSwap Limit Order Taker APIs
Download OpenAPI specification:
Taker APIs
API statuses and support
KyberSwap APIs uses the following statuses to minimize version miscommunications and ensure an uninterrupted service for the end user:
Latest
: API is functional and supported. This is the recommended version for all integrators (new and existing).Legacy
: API remains functional with support for bugs only. No new feature updates.Deprecated
: API is no longer functional and is not supported.
For all developers, it is highly recommended that you refer to the API with the Latest
tag to ensure access to the latest features as well as improved service quality and efficiency. APIs which are planned to be sunset will be tagged Legacy
during the transition period and thereafter moved to Deprecated
.
The KyberSwap Docs will continue to maintain information regarding Legacy
and Deprecated
APIs.
Limit Order protocol fees
To support the continued development of the Limit Orders feature, KyberSwap will charge variable taker fees for orders filled on the following chains:
Ethereum (ChainID: 1)
BSC (ChainID: 56)
Arbitrum (ChainID: 42161)
Polygon (ChainID: 137)
Optimism (ChainID: 10)
Avalanche (ChainID: 43114)
Fantom (ChainID: 250)
The fees charged will be according to the most exotic token in the trading pair. The section below lists the fees whereby the highest fee category will apply based on the classification of the input and output tokens. There are 4 categories of tokens with an additional special category for trades involving KNC.
Super stable (0.01%)
Ethereum (ChainID: 1)
Arbitrum (ChainID: 42161)
Polygon (ChainID: 137)
Optimism (ChainID: 10)
Avalanche (ChainID: 43114)
Fantom (ChainID: 250)
Stable (0.02%)
Ethereum (ChainID: 1)
BSC (ChainID: 56)
Arbitrum (ChainID: 42161)
Polygon (ChainID: 137)
Optimism (ChainID: 10)
Avalanche (ChainID: 43114)
Fantom (ChainID: 250)
Normal (0.1%)
Top 200 tokens by market cap (identified via multiple on and off-chain services), excluding tokens under the super stable, stable, and KNC categories.
Exotic (0.3%)
All remaining tokens not covered in the super stable, stable, normal, and KNC categories.
KNC (0.05%)
Trades to and from KNC will be charged a flat 0.05% fee.
Rates calculation
rate =\frac{(\text{makingAmount}-\text{makingAmountFilled})*(1-\text{makerTokenFee%})*(\text{makerAssetPriceUSD}-\text{gasPriceUSD})}{(\text{takingAmount}-\text{takingAmountFilled})*\text{takerAssetPriceUSD}}
Latest
Latest
Developer Guide
Please refer to Fill Limit Order for the relevant sequence diagram as well as a TypeScript example.
Query Order(s)
Get Operator Signature
Fill Order(s)
Last updated