GET /priapi/v1/wallet/coin/info
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/okxwallet/priapi/v1/wallet/coin/infoCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeCoin metadata
Parameters
| name | in | type | description | |
|---|---|---|---|---|
coinId | query | str | required | example: 3 |
Response
type: object
pagination: none
sample: {
"coinId": "str",
"symbol": "str",
"name": "str",
"decimals": "int",
"chainId": "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/okxwallet/priapi/v1/wallet/coin/info?coinId=3"