The 1inch classic swap API (Pathfinder v6.1) is a cutting-edge discovery and routing algorithm that offers asset exchanges at the best rates on the market. Pathfinder finds the most efficient paths for a token swap and is able to split between different protocols and even different market depths within one protocol in the shortest possible time.
Supported Chains
| Supported Chains | Chain ID |
|---|---|
| Ethereum | 1 |
| Solana | 501 |
| Base | 8453 |
| BNB | 56 |
| zkSync | 324 |
| Gnosis | 100 |
| Optimism | 10 |
| Polygon | 137 |
| Linea | 59144 |
| Sonic | 146 |
| Unichain | 130 |
| Arbitrum | 42161 |
| Avalanche | 43114 |
Eficiency
The latest version (V 6.1) of Pathfinder algorithm pushes DeFi trading forward by unlocking smarter, more efficient swaps, and bringing a number of concrete advantages to 1inch Swap users:
- Maximized returns: multiple swap paths are combined to secure the best rates, delivering more value from every trade.
- Superior liquidity efficiency: by splitting volumes into finer chunks and blending paths, Pathfinder taps into pools more effectively, skimming the cream from concentrated liquidity for optimal exchanges.
- Unrivaled access: the new Pathfinder facilitates a deeper dive into diverse liquidity pools, distributing volume to capture better rates where it matters most.
- Gas efficiency: by merging paths to achieve better gas cost efficiency, every swap becomes more cost-effective.
Before V 6.1
After V 6.1
API reference
For detailed information about each endpoint, refer to the classic swap API OpenAPI specs.
Quickstart
In order to quickly understand how to make an exchange using the protocol, we suggest you use the Quickstart guide.
For workloads that require higher RPS, expanded quotas, or sustained performance, explore the available paid plans on the pricing page. For organizations with significant trading volumes or advanced requirements, complete this application to explore tailored Enterprise options.