v1
latestOpenAPI 3.1.02026-07-24223580832.9 KBGet Bridge Swap Quotes
Retrieves a comprehensive list of swap quotations from multiple bridges for a specified token pair pool. By aggregating swap quotes across various bridges, it enables users to compare rates and identify the most favorable trading option. The response includes detailed information such as the Bridge name and identifier, the input amount, the swap path, and the resulting output amounts from each bridge, making it a valuable tool for pricing data and swap execution decisions.
💡 Compute Unit Value: 85 (Fixed)
Query parameters
The unique chain ID to specify the source chain. Find more here.
The unique chain ID to specify the destination chain. Find more here.
The unique chain ID to specify the destination chain. Find more here.
Symbol of the source chain.
Symbol of the source chain.
Symbol of the token to swap.
Symbol of the token to swap.
Symbol of the token to be received after the swap.
Symbol of the token to be received after the swap.
Address of the source token.
Address of the source token.
Address of the destination token.
Address of the destination token.
Amount of the token to be swapped.
Amount of the token to be swapped.
Comma-separated values of bridges to exclude.
Comma-separated values of bridges to exclude.
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": [
{
"bridgeId": "600",
"bridgeName": "SquidRouterV2",
"srcChainId": "1",
"dstChainId": "42161",
"srcTokenSymbol": "USDT",
"dstTokenSymbol": "USDT",
"srcTokenAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"dstTokenAddress": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
"amountIn": "100000000",
"amountsOut": [
"100000000",
"99972981"
],
"prices": {
"usd": [
{
"chainId": "1",
"0xdAC17F958D2ee523a2206206994597C13D831ec7": "0.9995147323301254"
},
{
"chainId": "42161",
"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9": "0.9995147323301254"
}
]
},
"priceImpact": {
"percentage": "0.0270",
"value": "0.027019"
}
},
{
"bridgeId": "500",
"bridgeName": "StargateV2",
"srcChainId": "1",
"dstChainId": "42161",
"srcTokenSymbol": "USDT",
"dstTokenSymbol": "USDT",
"srcTokenAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"dstTokenAddress": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
"amountIn": "100000000",
"amountsOut": [
"100000000",
"99963199"
],
"prices": {
"usd": [
{
"chainId": "1",
"0xdAC17F958D2ee523a2206206994597C13D831ec7": "0.9995147323301254"
},
{
"chainId": "42161",
"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9": "0.9995147323301254"
}
]
},
"priceImpact": {
"percentage": "0.0368",
"value": "0.036801"
}
},
{
"bridgeId": "100",
"bridgeName": "Stargate",
"srcChainId": "1",
"dstChainId": "42161",
"srcTokenSymbol": "USDT",
"dstTokenSymbol": "USDT",
"srcTokenAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"dstTokenAddress": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
"amountIn": "100000000",
"amountsOut": [
"100000000",
"99950000"
],
"prices": {
"usd": [
{
"chainId": "1",
"0xdAC17F958D2ee523a2206206994597C13D831ec7": "0.9995147323301254"
},
{
"chainId": "42161",
"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9": "0.9995147323301254"
}
]
},
"priceImpact": {
"percentage": "0.0500",
"value": "0.050000"
}
},
{
"bridgeId": "400",
"bridgeName": "AllbridgeCore",
"srcChainId": "1",
"dstChainId": "42161",
"srcTokenSymbol": "USDT",
"dstTokenSymbol": "USDT",
"srcTokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"dstTokenAddress": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
"amountIn": "100000000",
"amountsOut": [
"100000000",
"99505517"
],
"prices": {
"usd": [
{
"chainId": "1",
"0xdAC17F958D2ee523a2206206994597C13D831ec7": "0.9995147323301254"
},
{
"chainId": "42161",
"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9": "0.9995147323301254"
}
]
},
"priceImpact": {
"percentage": "0.4945",
"value": "0.494483"
}
}
]
}