v1
latestOpenAPI 3.1.02026-07-24223580832.9 KBGet Bridge Swap Price
This endpoint provides a real‑time swap quotation for transferring tokens between two blockchain networks using a designated bridge. It calculates the estimated amount of destination tokens that you would receive based on a given input token amount and token pair, factoring in the current liquidity and fees across the specified source and destination chains.
💡 Compute Unit Value: 40 (Fixed)
Query parameters
The unique chain ID to specify the source chain. Find more here.
The unique ID to specify the bridge protocol for routing cross-chain queries or transactions. Find more here.
The unique ID to specify the bridge protocol for routing cross-chain queries or transactions. 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 token.
Symbol of the source token.
Symbol of the destination token.
Symbol of the destination token.
Address of the source token.
Address of the source token.
Address of the destination token.
Address of the destination token.
Amount of the source token to swap.
Amount of the source token to swap.
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.
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"srcChainId": "1",
"dstChainId": "10",
"srcTokenSymbol": "USDT",
"dstTokenSymbol": "USDC",
"srcTokenAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"dstTokenAddress": "0x0b2c639c533813f4aa9d7837caf62653d097ff85",
"amountIn": "1000",
"amountsOut": [
"1000",
"1000339710295989"
],
"prices": {
"usd": [
{
"chainId": "1",
"USDT": "1.0004228921119596"
},
{
"chainId": "1",
"DAI": "0.9996480800961153"
}
]
},
"priceImpact": {
"percentage": "0.4452",
"value": "0.039700"
}
}
}