Search
⌘K
Intent Swap (Fusion)
API version: v2.0
Introduction
Quick start
Quick Start - Ethereum
Quick Start - Solana
Orders
Get gasless swap active orders GET
Get settlement contract address GET
Get order status by hash GET
Get multiple orders by hashes POST
Get orders by maker address GET
Get cancelable orders GET
Quoter
Get quote for token swap GET
Get quote with custom auction presets POST
Build Fusion order from quote POST
Relayer
Submit a signed Fusion order POST
Submit multiple signed Fusion orders POST
Migration
Migration from v1.0 to v2.0
SDK
Solana
Overview
Filling and canceling Solana Fusion order
WebSocket API
EVMs
Overview
Swapping a Native Token to ERC-20
Swapping with Permit2
WebSocket API
Docs·APIs·Swap API·Intent Swap (Fusion)·Quoter·v2.0·Get quote with custom auction presets

Get quote with custom auction presets

Retrieves a quote for token swap with custom-defined auction presets. Allows fine-grained control over auction duration, start amount, and price curve. Returns preset configurations, slippage, and quote ID.

POSThttps://api.1inch.com/fusion/quoter/v2.0/{chain}/quote/receive
Supported on:
ArbitrumAvalancheBaseBNB ChainZKsyncEthereumGnosisOptimismPolygonLineaSolanaSonicUnichain

Parameters

chain
* number path
enableEstimate
* boolean query
fee
integer query
isPermit2
boolean query
permit
string query
walletAddress
* string query
amount
* string query
toTokenAddress
* string query
fromTokenAddress
* string query

Request Body

CustomPresetInput object
auctionDuration
* number
auctionStartAmount
* object
auctionEndAmount
* object
points
array
items
string
allowPartialFills
boolean
allowMultipleFills
boolean
1

Returns

200
400
404
500
GetQuoteOutput object
quoteId
* object
fromTokenAmount
* string
toTokenAmount
* string
feeToken
* object
fee
*ResolverFee object
receiver
* string
bps
* number
whitelistDiscountPercent
* number
integratorFee
* number
integratorFeeReceiver
string
integratorFeeShare
* number
presets
* any
allOf[0]
QuotePresetsClass object
fast
* any
allOf[0]
PresetClass object
bankFee
* string
auctionDuration
* number
startAuctionIn
* number
initialRateBump
* number
auctionStartAmount
* string
startAmount
* string
auctionEndAmount
* string
exclusiveResolver
* object
tokenFee
* string
estP
* number
points
* array
items
AuctionPointClass object
delay
* number
coefficient
* number
allowPartialFills
* boolean
allowMultipleFills
* boolean
gasCost
*GasCostConfigClass object
gasBumpEstimate
* number
gasPriceEstimate
* string
medium
* any
allOf[0]
PresetClass object
bankFee
* string
auctionDuration
* number
startAuctionIn
* number
initialRateBump
* number
auctionStartAmount
* string
startAmount
* string
auctionEndAmount
* string
exclusiveResolver
* object
tokenFee
* string
estP
* number
points
* array
items
AuctionPointClass object
delay
* number
coefficient
* number
allowPartialFills
* boolean
allowMultipleFills
* boolean
gasCost
*GasCostConfigClass object
gasBumpEstimate
* number
gasPriceEstimate
* string
slow
* any
allOf[0]
PresetClass object
bankFee
* string
auctionDuration
* number
startAuctionIn
* number
initialRateBump
* number
auctionStartAmount
* string
startAmount
* string
auctionEndAmount
* string
exclusiveResolver
* object
tokenFee
* string
estP
* number
points
* array
items
AuctionPointClass object
delay
* number
coefficient
* number
allowPartialFills
* boolean
allowMultipleFills
* boolean
gasCost
*GasCostConfigClass object
gasBumpEstimate
* number
gasPriceEstimate
* string
custom
any
allOf[0]
PresetClass object
bankFee
* string
auctionDuration
* number
startAuctionIn
* number
initialRateBump
* number
auctionStartAmount
* string
startAmount
* string
auctionEndAmount
* string
exclusiveResolver
* object
tokenFee
* string
estP
* number
points
* array
items
AuctionPointClass object
delay
* number
coefficient
* number
allowPartialFills
* boolean
allowMultipleFills
* boolean
gasCost
*GasCostConfigClass object
gasBumpEstimate
* number
gasPriceEstimate
* string
settlementAddress
* string
nativeOrderFactoryAddress
string
nativeOrderImplAddress
string
whitelist
* array
items
string
fast
medium
slow
custom
suggested
* boolean
prices
*TokenPairValue object
usd
*PairCurrencyValue object
fromToken
* string
toToken
* string
volume
*TokenPairValue object
usd
*PairCurrencyValue object
fromToken
* string
toToken
* string
source
string
surplusFee
* number
JSON
1

Did you find what you need?