GET /available-routes
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/across/available-routesCache cached 300s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeRoutable origin/destination token pairs, optionally filtered by chain and token; includes symbols and a native-token flag.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
originChainId | query | str | optional | Origin chain filter (hub aliases accepted). example: arbitrum |
destinationChainId | query | str | optional | Destination chain filter (hub aliases accepted). example: base |
originToken | query | str | optional | Origin token contract filter. example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 |
destinationToken | query | str | optional | Destination token contract filter. example: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/across/available-routes?originChainId=arbitrum&destinationChainId=base&originToken=0xaf88d065e77c8cC2239327C5EDb3A432268e5831&destinationToken=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"