GET /swap/supported-chains
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/socket/swap/supported-chainsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeSupported chains: chain id, display name, native currency (address, symbol, decimals, minimum gas amount), explorers, send/receive flags, and the bridge and DEX providers enabled on each chain.
Parameters
No parameters documented.
Response
type: object
pagination: none
sample: {
"result": "array[39] object{chainId, name, icon, currency{address, icon, name, symbol, decimals, minNativeCurrencyForGas}, explorers[uri], sendingEnabled, receivingEnabled, dexes[name], bridges[name]}",
"statusCode": "int",
"success": "bool",
"message": "null"
}
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/socket/swap/supported-chains"