GET /priapi/v1/dx/public/swap/chain/list

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/web3okx/priapi/v1/dx/public/swap/chain/listCache cached 300s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Supported swap chains

Parameters

No parameters documented.

Response

type: array
pagination: none
sample: {
  "[0]": "object{baseToken:str,bridgeSupportChainInfoList:array[0],bridgeSupportChainList:array[0],chainId:int,chainName:str,chainSymbol:str,chainType:str,chainUsed:int,crossChainType:str,crossToleranceSlippage:null,dexDefaultFromToTokenShowVO:object{fromDexMultiTokenInfoVO:object{amount:str,amountNum:str,amountNumBigDecimal:int,availableAmountNum:str,availableCurrencyAmount:str,baseCoinId:int,b

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/web3okx/priapi/v1/dx/public/swap/chain/list"