GET /priapi/v1/dx/market/v2/risk/new/check

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/web3okx/priapi/v1/dx/market/v2/risk/new/checkCache cached 60s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Token contract and trading risk analysis

Parameters

nameintypedescription
chainIdqueryintrequired
example: 1
tokenContractAddressquerystrrequired
example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

Response

type: object
pagination: none
sample: {
  "allAnalysis": "object",
  "buyTaxes": "str",
  "contractAnalysis": "object",
  "extraAnalysis": "object",
  "highRiskNum": "str",
  "highestRiskBannerInfo": "null",
  "lowRiskNum": "str",
  "middleRiskNum": "str",
  "riskControlLevel": "str",
  "riskLevel": "str",
  "sellTaxes": "str",
  "swapAnalysis": "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/web3okx/priapi/v1/dx/market/v2/risk/new/check?chainId=1&tokenContractAddress=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"