GET /pipeline/v1/token

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

One token by chain id and address, with live price and verification status.

Parameters

nameintypedescription
chainquerystrrequiredNumeric chain id (1, 42161, 8453, …)
example: 1
tokenquerystrrequiredToken address on that chain; native token is the zero address
example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

Response

type: object
data key: tags
pagination: none
sample: {
  "address": "str",
  "chainId": "int",
  "symbol": "str",
  "decimals": "int",
  "name": "str",
  "coinKey": "str",
  "logoURI": "str",
  "priceUSD": "str",
  "marketCapUSD": "float",
  "volumeUSD24H": "float",
  "tags": "array[1]",
  "verificationStatus": "str",
  "verificationStatusBreakdown": "array[1]"
}

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/lifi/pipeline/v1/token?chain=1&token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"