GET /priapi/v1/dx/trade/multi/support/swap

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/web3okx/priapi/v1/dx/trade/multi/support/swapCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Swap feature support flags for a chain

Parameters

nameintypedescription
chainIdqueryintoptional
example: 1

Response

type: object
pagination: none
sample: {
  "okxIntentConfig": "object",
  "supportCefiMode": "str",
  "supportDCA": "bool",
  "supportInstantMode": "bool",
  "supportLimitOrder": "str",
  "supportLimitSl": "bool",
  "supportLimitSwap": "bool",
  "supportLimitTp": "bool",
  "supportLimitU": "bool",
  "supportMemeMode": "str",
  "supportQuickBuyMode": "bool",
  "supportSingleChainSwap": "str",
  "supportSwap": "str",
  "supportTpSl": "bo

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/trade/multi/support/swap?chainId=1"