# ERC20 Token Metadata Lookup (Base/Ethereum)

> ERC20 Token Metadata Lookup (Base/Ethereum) is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Returns name, symbol, decimals, and total supply for an ERC20 token contract address on Base or Ethereum.

## Facts

- Endpoint: GET https://api.x402node.dev/chain/token-meta
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc20-token-metadata-lookup-base-ethereum-78dcab5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vmTEDITwTrL2sNSGPvDc2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability erc20-token-metadata-lookup-base-ethereum-78dcab5c
```

Example prompt: What's the name, symbol, decimals, and total supply for the ERC20 token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?

## When to prefer this

Use this endpoint when you need basic on-chain ERC20 token metadata (name, symbol, decimals, total supply) for a contract on Base or Ethereum specifically. Prefer it over sibling endpoints when you only need standard metadata fields and not tax/honeypot analysis, holder counts, or multi-chain support beyond Base and Ethereum.

## Known failure modes

- Invalid or non-ERC20 contract address returns an error or empty metadata
- Contract address not found on the specified chain returns a not-found error
- Network congestion or RPC issues may cause timeouts
- Requesting a chain other than Base or Ethereum returns an unsupported chain error
- Malformed address format (non-checksummed or invalid hex) returns a validation error

## How this service works

ERC20 token metadata lookup on Base or Ethereum, returns name, symbol, decimals and total supply for a token contract address. token metadata, erc20 info, token symbol lookup, token decimals, total supply, contract metadata

## Output

Returns the token's human-readable name (e.g. 'USD Coin'), ticker symbol (e.g. 'USDC'), number of decimals (e.g. 6), and total supply as a raw integer or formatted value for the given ERC20 contract address on Base or Ethereum.

## Example request

```json
{
 "chain": "ethereum",
 "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default) or ethereum"
      },
      "address": {
       "type": "string",
       "description": "ERC20 contract address (required)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc20-token-metadata-lookup-base-ethereum-78dcab5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
