Endpoints
Routes
Get available routes for a swap, cross-chain swap or bridge
Get available routes for a swap, cross-chain swap or bridge. Returns quotes from multiple bridging providers.
https://api.superbridge.app/v1/routesBody
application/jsonstringChain UUID (internal identifier)
stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
stringNative chain ID (e.g. 1 for Ethereum)
stringShorthand chain identifier (e.g. eth for Ethereum)
stringShorthand chain identifier (e.g. eth for Ethereum)
stringrequired0x0000000000000000000000000000000000000000 for native tokens
stringrequired0x0000000000000000000000000000000000000000 for native tokens
stringrequiredstringrequiredstringrequiredAmount in wei (or smallest denomination)
string[]numberrequiredYou must specify chains using either the Key or Id variants (e.g. fromChainKey or fromChainId).
We recommend refreshing routes every 30 seconds to avoid submitting stale quotes that may revert onchain.
Response
Returns an object containing an array of route results, one per provider.
RouteRequestRouteResult[]