Search
⌘K
Overview
SDKs
Available SDKs
AI Integration
Ecosystem
Supported Clients
APIs
Authentication
Swap API
Cross-Chain Swaps (Fusion+)
Intent Swap (Fusion)
Classic Swap
Swap RWAs
Orderbook API
History API
Traces API
Portfolio API
Balance API
Gas Price API
Spot Price API
Token API
NFT API
Transaction Gateway API
Charts API
Domains API
Token Details API
Web3 RPC API
Introduction
Arbitrum
Avalanche
Base
BNB Chain
Cronos
Ethereum
Gnosis
Linea
Monad
Optimism
Polygon
Solana
Sonic
Unichain
ZKsync
Resolvers
Introduction
Terms of Use Resolver Terms
Limit Order
Quick Start
Contract interaction
Resolver farming guide
Unicorn Power setup
Intent/Fusion
Evm quicklinks
Solana quicklinks
Cross Chain
Cross chain examples
Exclusive Resolver API Terms
FAQ
API Error Messages
API Troubleshooting
Cors errors
Tx input data
Infrastructure fees
Docs·APIs·Swap API

Swap API

1inch Swap API product offers 3 different execution modes, designed to cover different liquidity sources and cross-chain requirements:

  • Intent Based Swaps
  • Classic Swaps
  • Cross Chain Swaps

Supported Chains

Supported Chains Chain ID Classic SWAP Intent based SWAP Cross-chain SWAP
Ethereum 1
Solana 501
Base 8453
Binance 56
zkSync 324
Gnosis 100
Optimism 10
Polygon 137
Linea 59144
Sonic 146
Unichain 130
Arbitrum 42161
Avalanche 43114

Supported Features

Supported Features Classic SWAP Intent based SWAP Cross-chain SWAP
Gasless
RWAs
MEV Protection
SDKs Intent EVM SDK, Intent Solana SDK Cross-chain SDK
AI Integration
Integrator Fee

AI Integration enables AI agents and coding assistants to discover, understand, and execute swaps through the 1inch MCP Server. Agents connected via the Model Context Protocol can search documentation, retrieve production-ready SDK examples, and build agentic swap workflows from intent submission to resolver execution, without manual research.

Integrator Fee is a configurable fee that allows integration partners to earn a commission on transactions routed through the 1inch swap infrastructure. The integrator fee can be specified as a parameter in API requests or configured via the corresponding SDK implementations.

Intent Based Swaps

Gasless, MEV-resistant swaps executed through a competitive resolver network.

Fusion mode allows users to submit swap intents that are filled by third-party resolvers. Orders are executed using a dynamic pricing mechanism that protects users from front-running and eliminates the need to pay gas fees directly.

Best for: Gas-efficient swaps, MEV protection, large or price-sensitive trades.

Learn more : Intent Swap specs

Classic Swaps

Classic swaps provide maximum flexibility and control over swap parameters and execution behavior. This mode is equivalent to Pro mode in trading interfaces and is intended for advanced integrators who want full freedom of configuration.

Best for: Advanced trading logic, fine-grained parameter control, immediate execution. Learn more : Classic Swap specs

Cross-Chain Swaps

Seamless swaps across multiple blockchains with no bridging and fast execution time.

Cross-chain swaps enable users to exchange assets between different networks through a unified API, abstracting away bridging complexity and cross-chain execution logic.

Best for: Multi-chain applications, asset migration, Solana - EVMs cross-ecosystem liquidity access. Learn more : Cross-chain Swap specs

Did you find what you need?