GET /swap/tokens/search
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/socket/swap/tokens/searchCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeToken search across chains by symbol or name (returns per-chain matches with market stats and verification flags).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
q | query | str | required | Symbol or token name fragment (at least 2 characters). example: USDC |
address | query | str | optional | Optional wallet address for balance decoration of the results (public address only). example: 0x18Cc6F90512C6D95ACA0d57F98C727D61873c06a |
Response
type: object
pagination: none
sample: {
"result": "object{tokens: object keyed by chainId -> array of token objects {chainId, address, name, symbol, decimals, logoURI, isVerified, tags[], trendingRank, marketCap, totalVolume}}",
"statusCode": "int",
"success": "bool",
"message": "null"
}
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/socket/swap/tokens/search?q=USDC&address=0x18Cc6F90512C6D95ACA0d57F98C727D61873c06a"