GET /swap/tokens
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/across/swap/tokensCache cached 300s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeToken catalog with chain id, contract address, symbol/name, decimals, logo and USD price; optional whole-catalog or per-chain read.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainId | query | str | optional | Only return tokens on this chain (hub aliases accepted). example: arbitrum |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
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/across/swap/tokens?chainId=arbitrum"