GET /meta/custom-token

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/rango/meta/custom-tokenCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Token metadata (name, decimals, price, swappers) for one chain + address.

Parameters

nameintypedescription
blockchainquerystrrequiredBlockchain name or hub alias (ETH, eth, ethereum, matic, solana …)
example: ETH
addressquerystrrequiredToken contract address
example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

Response

type: object
pagination: none
sample: {
  "token": "object",
  "error": "null",
  "errorCode": "null",
  "traceId": "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/rango/meta/custom-token?blockchain=ETH&address=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"