GET /dex/dex/v1/token
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/dex/dex/v1/tokenCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeDEX token detail for platform and address. Fields are abbreviated (n, sym, addr, plt, dec, plus links and market fields).
name=dex_token. Request platform is lowercase solana. Live object has 42 keys. Wrapped SOL: sym SOL, pid 16, cid 5426, dec 9. Response field plt was Solana (display casing).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
platform | query | str | required | Lowercase. Verified value solana. example: solana |
address | query | str | required | Token address. Wrapped SOL So11111111111111111111111111111111111111111 is the verified sample. example: So11111111111111111111111111111111111111111 |
Response
type: object
pagination: none
sample: {
"isRwaToken": "0",
"n": "SOL",
"sym": "SOL",
"addr": "So11111111111111111111111111111111111111111",
"plt": "Solana",
"pdex": "Solana",
"pcid": "5426",
"pid": "16",
"dec": "9",
"web": "https://solana.com",
"tw": "https://twitter.com/solana",
"lg": "https://s2.coinmarketcap.com/static/img/coins/64x64/5426.png",
"pubAt": "1584316800000",
"mcap": "67322566916.314284843325
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/cmc/dex/dex/v1/token?platform=solana&address=So11111111111111111111111111111111111111111"