GET /priapi/v1/dx/public/swap/chain/ca-dapp-list

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

Dapps supporting a token pair

Parameters

nameintypedescription
fromChainIdquerystrrequired
example: 1
toChainIdquerystrrequired
example: 1
fromTokenAddressquerystrrequired
example: 0x0000000000000000000000000000000000000000
toTokenAddressquerystrrequired
example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

Response

type: array
pagination: none
sample: {
  "[0]": "object{chainId:int,id:str,logo:str,name:str,url:str}"
}

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/ca-dapp-list?fromChainId=1&toChainId=1&fromTokenAddress=0x0000000000000000000000000000000000000000&toTokenAddress=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"