GET/market/{chainId}/tokens/{tokenAddress}/details

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/cowswap/market/{chainId}/tokens/{tokenAddress}/detailsCache cached 300s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

On-chain ERC-20 metadata (address, name, symbol, decimals) for one token.

Try this endpoint

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/cowswap/market/1/tokens/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/details"

Parameters

nameintypedescription
chainIdpathstrrequiredEVM numeric chain ID: 1 (Ethereum), 100 (Gnosis), 42161 (Arbitrum), 8453 (Base), 137 (Polygon), 43114 (Avalanche), 56 (BNB), 59144 (Linea), or 11155111 (Sepolia). Chain slugs are also accepted.
example: 1
tokenAddresspathstrrequiredERC-20 token contract address.
example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

Response

type: object
pagination: none
sample: {
  "address": "str",
  "name": "str",
  "symbol": "str",
  "decimals": "int"
}