v1
latestOpenAPI 3.1.02026-07-24223580832.9 KBGet DEX Swap Quotes
Retrieves a comprehensive list of swap quotations from multiple DEXs for a specified token pair pool. By aggregating swap quotes across various DEXs, it enables users to compare rates and identify the most favorable trading option. The response includes detailed information such as the DEX name and identifier, the input amount, the swap path, and the resulting output amounts from each DEX, making it a valuable tool for pricing data and swap execution decisions.
💡 Compute Unit Value: 100 (Fixed)
Query parameters
The unique ID to direct queries or transactions to the correct blockchain. Find more here.
The unique ID to direct queries or transactions to the correct blockchain. Find more here.
Comma-separated values of token pair.
Comma-separated values of token pair.
Amount of token.
Amount of token.
The abbreviated chain name for queries or transactions.
The abbreviated chain name for queries or transactions.
Comma-separated values of dexes to exclude.
Comma-separated values of dexes to exclude.
Different pool based on the fees. By default, it will take the pool with maximum amountOut.
Different pool based on the fees. By default, it will take the pool with maximum amountOut.
A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.
A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.
The maximum price impact percentage to consider for the quote.
The maximum price impact percentage to consider for the quote.
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": [
{
"dexId": "2200",
"dexName": "Kyberswap",
"amountIn": "1000000000000000000",
"path": [
"0x514910771AF9Ca656af840dff83E8264EcF986CA",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
],
"amountsOut": [
"1000000000000000000",
"9044988"
],
"prices": {
"usd": [
{
"0x514910771AF9Ca656af840dff83E8264EcF986CA": "9.075482776456836"
},
{
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "0.9998156269527559"
}
]
},
"priceImpact": {
"percentage": "0.0000",
"value": "0.000000"
}
},
{
"dexId": "1300",
"dexName": "UniswapV3",
"amountIn": "1000000000000000000",
"path": [
"0x514910771AF9Ca656af840dff83E8264EcF986CA",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
],
"amountsOut": [
"1000000000000000000",
"9044309"
],
"prices": {
"usd": [
{
"0x514910771AF9Ca656af840dff83E8264EcF986CA": "9.075482776456836"
},
{
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "0.9998156269527559"
}
]
},
"priceImpact": {
"percentage": "0.3007",
"value": "0.027282"
}
},
{
"bridgeId": "600",
"bridgeName": "SquidRouterV2",
"srcChainId": "1",
"dstChainId": "1",
"srcTokenSymbol": "LINK",
"dstTokenSymbol": "USDC",
"srcTokenAddress": "0x514910771AF9Ca656af840dff83E8264EcF986CA",
"dstTokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"amountIn": "1000000000000000000",
"amountsOut": [
"1000000000000000000",
"9044309"
],
"prices": {
"usd": [
{
"0x514910771AF9Ca656af840dff83E8264EcF986CA": "9.075482776456836"
},
{
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "0.9998156269527559"
}
]
},
"priceImpact": {
"percentage": "0.3619",
"value": "0.032847"
}
},
{
"dexId": "1400",
"dexName": "BalancerV2",
"amountIn": "1000000000000000000",
"path": [
"0x514910771AF9Ca656af840dff83E8264EcF986CA",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
],
"amountsOut": [
"1000000000000000000",
"9033226"
],
"prices": {
"usd": [
{
"0x514910771AF9Ca656af840dff83E8264EcF986CA": "9.075482776456836"
},
{
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "0.9998156269527559"
}
]
},
"priceImpact": {
"percentage": "0.4840",
"value": "0.043930"
}
},
{
"dexId": "1600",
"dexName": "0x",
"amountIn": "1000000000000000000",
"path": [
"0x514910771AF9Ca656af840dff83E8264EcF986CA",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
],
"amountsOut": [
"1000000000000000000",
"9025485"
],
"prices": {
"usd": [
{
"0x514910771AF9Ca656af840dff83E8264EcF986CA": "9.075482776456836"
},
{
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "0.9998156269527559"
}
]
},
"priceImpact": {
"percentage": "0.1500",
"value": "0.013559"
}
},
{
"dexId": "1000",
"dexName": "UniswapV2",
"amountIn": "1000000000000000000",
"path": [
"0x514910771AF9Ca656af840dff83E8264EcF986CA",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
],
"amountsOut": [
"1000000000000000000",
"8787450"
],
"prices": {
"usd": [
{
"0x514910771AF9Ca656af840dff83E8264EcF986CA": "9.075482776456836"
},
{
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "0.9998156269527559"
}
]
},
"priceImpact": {
"percentage": "3.0504",
"value": "0.276486"
}
}
]
}