List supported bridge routes
curl --request GET \
--url https://demo-api.mobula.io/api/2/bridge/routesimport requests
url = "https://demo-api.mobula.io/api/2/bridge/routes"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://demo-api.mobula.io/api/2/bridge/routes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://demo-api.mobula.io/api/2/bridge/routes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://demo-api.mobula.io/api/2/bridge/routes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://demo-api.mobula.io/api/2/bridge/routes")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo-api.mobula.io/api/2/bridge/routes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"routes": [
{
"originChainId": "<string>",
"destinationChainId": "<string>",
"estimatedTimeMs": 123,
"feeBps": 123,
"supportedTokens": "<string>"
}
]
}
}Bridge Routes
[Alpha Preview] List all supported cross-chain bridge routes with estimated latency and trade limits.
GET
/
2
/
bridge
/
routes
List supported bridge routes
curl --request GET \
--url https://demo-api.mobula.io/api/2/bridge/routesimport requests
url = "https://demo-api.mobula.io/api/2/bridge/routes"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://demo-api.mobula.io/api/2/bridge/routes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://demo-api.mobula.io/api/2/bridge/routes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://demo-api.mobula.io/api/2/bridge/routes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://demo-api.mobula.io/api/2/bridge/routes")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo-api.mobula.io/api/2/bridge/routes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"routes": [
{
"originChainId": "<string>",
"destinationChainId": "<string>",
"estimatedTimeMs": 123,
"feeBps": 123,
"supportedTokens": "<string>"
}
]
}
}Alpha Preview β Endpoints, response shape, and supported routes may change
without notice.
GET /api/2/bridge/routes returns the static all-to-all matrix of supported
routes. Useful for building a chain selector or validating a pair before
calling /quote. No query parameters.
Supported chains
| Chain ID | Chain | Estimated fill latency |
|---|---|---|
evm:8453 | Base | ~400 ms |
evm:56 | BSC | ~3000 ms |
evm:42161 | Arbitrum | ~1000 ms |
evm:137 | Polygon | ~2000 ms |
evm:4663 | Robinhood Chain | ~300 ms |
solana:solana | Solana | ~500 ms |
hl:mainnet | HyperLiquid L1 | ~1000 ms |
/quote with originChainId === destinationChainId short-circuits to the
Swap API instead.
Response
{
"data": {
"routes": [
{
"originChainId": "evm:8453",
"destinationChainId": "solana:solana",
"estimatedTimeMs": 900,
"feeBps": 5,
"supportedTokens": "any"
}
]
}
}
estimatedTimeMsβ sum of origin and destination chain latencies from the table above (e.g. Base β Solana = 400 + 500 = 900).feeBpsβ the Mobula protocol fee in basis points (currently5), the same value surfaced asfees.bridgeFeeBpson/quote. The full fee breakdown (including destination gas) is folded into/quoteβsestimatedAmountOutβ always read the deducted amounts from/quote, not this endpoint.supportedTokensβ"any"on every route. The token-level support matrix lives in/quote(it picks the right code path β native bridge, direct-bridge token, swap-and-bridge, or SPL transfer β based on the token you pass).
Example
const res = await fetch(
"https://api.mobula.io/api/2/bridge/routes?apiKey=YOUR_API_KEY",
);
const { data } = await res.json();
const supportedSet = new Set(
data.routes.map((r: any) => `${r.originChainId}->${r.destinationChainId}`),
);
// Validate a pair before quoting
if (!supportedSet.has(`${origin}->${dest}`)) {
throw new Error(`Route ${origin} -> ${dest} not supported`);
}
Response
200 - application/json
List of supported routes.
Show child attributes
Show child attributes