KyberSwap Route Encoding Proxy for Multi-Chain Price Discovery
Proxy service that interfaces with KyberSwap API for price path discovery and route encoding across multiple blockchain networks.
20+ blockchain networks including Ethereum, BSC, Arbitrum, Polygon, Optimism, Base, and more.
Route encoding, multi-chain support, CORS handling, and secure API key management.
KyberSwap Aggregator API (aggregator-api.kyberswap.com)
| Parameter | Type | Required | Description |
|---|---|---|---|
| chainId | string | Required | Chain ID for the target blockchain network |
Returns the KyberSwap route encoding response for the specified chain. The response format depends on the KyberSwap API endpoint being proxied.
The following origins are whitelisted for CORS access:
Forwards requests to KyberSwap API with proper headers and CORS handling
Maps numeric chain IDs to KyberSwap's chain name format
Sets Accept-Version: Latest header for KyberSwap API compatibility
Removes Origin and Referer headers for privacy and security