Business
Products
Pricing
Enterprise
AI
Docs
Try for free
Sign in
Go to...
Search
⌘K
Classic Swap
API version:
6.1
Introduction
Quick start
Methods
Find the best quote to swap with 1inch Router
GET
Generate calldata to swap on 1inch Router
GET
Address of the 1inch Router that is trusted to spend funds for the swap
GET
Generate approve calldata to allow 1inch Router to perform a swap
GET
Get the number of tokens that the 1inch Router is allowed to swap
GET
List of liquidity sources that are available for routing in the 1inch Aggregation Protocol
GET
List of tokens that are available for swap in the 1inch Aggregation protocol
GET
Migration
Migration from v5.0 to v5.2
Migration from v5.2 to v6.0
Migration from v6.0 to v6.1
Search
⌘K
Classic Swap
API version:
6.1
Introduction
Quick start
Methods
Find the best quote to swap with 1inch Router
GET
Generate calldata to swap on 1inch Router
GET
Address of the 1inch Router that is trusted to spend funds for the swap
GET
Generate approve calldata to allow 1inch Router to perform a swap
GET
Get the number of tokens that the 1inch Router is allowed to swap
GET
List of liquidity sources that are available for routing in the 1inch Aggregation Protocol
GET
List of tokens that are available for swap in the 1inch Aggregation protocol
GET
Migration
Migration from v5.0 to v5.2
Migration from v5.2 to v6.0
Migration from v6.0 to v6.1
Docs
·
APIs
·
Swap API
·
Classic Swap
·
Methods
·
6.1
·
Address of the 1inch Router that is trusted to spend funds for the swap
Address of the 1inch Router that is trusted to spend funds for the swap
Use with AI
GET
https://api.1inch.com/swap/v6.1/{chain}/approve/spender
Supported on:
Arbitrum
Avalanche
Base
BNB Chain
ZKsync
Ethereum
Gnosis
Optimism
Polygon
Linea
Sonic
Unichain
Parameters
chain
*
number
path
Request Body
This request doesn’t have any request body.
JavaScript
Copy
Try it
1
Returns
200
SpenderResponse
object
address
*
string
Address of the 1inch Router that is trusted to spend funds for the swap
JSON
Copy
1
Generate calldata to swap on 1inch Router
Generate approve calldata to allow 1inch Router to perform a swap
Did you find what you need?
Yes
No