GET /priapi/v1/dx/trade/multi/app/getTokenInfo
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/web3okx/priapi/v1/dx/trade/multi/app/getTokenInfoCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeToken metadata and tradability details
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainId | query | int | required | example: 1 |
tokenContractAddress | query | str | required | example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 |
Response
type: object
data key: t
pagination: none
sample: {
"amount": "str",
"amountNum": "str",
"amountNumBigDecimal": "int",
"availableAmountNum": "str",
"availableCurrencyAmount": "str",
"baseCoinId": "int",
"buyTaxes": "str",
"chainBWLogoUrl": "str",
"chainId": "int",
"chainLogoUrl": "str",
"chainName": "str",
"change": "str",
"coinId": "int",
"currencyAmount": "str",
"decimals": "int",
"displayToken": "bool",
"explo
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/app/getTokenInfo?chainId=1&tokenContractAddress=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"