GET /swap/tokens/list

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/socket/swap/tokens/listCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Token catalog keyed by chain id (default: the short list per chain, with chain id, address, symbol, name, decimals, logo, market stats and verification flags).

Parameters

nameintypedescription
userAddressquerystroptionalOptional wallet address; when supplied the tokens carry that address's balances (balance / balanceInUsd). Public address only — no signature.
example: 0x18Cc6F90512C6D95ACA0d57F98C727D61873c06a

Response

type: object
pagination: none
sample: {
  "result": "object keyed by chainId -> array[\u226450] token objects {chainId, address, name, symbol, decimals, logoURI, isShortListed, tags[], trendingRank, marketCap, totalVolume, balance, balanceInUsd, isVerified}",
  "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/list?userAddress=0x18Cc6F90512C6D95ACA0d57F98C727D61873c06a"