# ERC20 Token Metadata Lookup

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

Returns name, symbol, decimals, logo, total supply, and verified-contract status for any ERC20 token by contract address and chain ID from an indexed source.

## Facts

- Endpoint: GET https://api.x402node.dev/token/metadata
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc20-token-metadata-lookup-b24e5cd9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xXhyKwikEk8PmdVBAWzEk

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-b24e5cd9
```

Example prompt: What's the name, symbol, decimals, and total supply of the ERC20 token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet (chain 1)?

## When to prefer this

Use this endpoint when you need rich, pre-indexed ERC20 token metadata — including logo and verified status — that cannot be efficiently self-derived from raw on-chain calls. Prefer this over direct RPC calls when you need logo URLs, verification flags, or want a single fast call instead of multiple eth_call requests. Best suited for agents enriching token data in DeFi dashboards, portfolio trackers, or risk analysis pipelines.

## Known failure modes

- Invalid or malformed contract address returns a 4xx error
- Contract address not found or not an ERC20 token returns empty or error response
- Unsupported chain ID returns an error indicating the chain is not indexed
- Missing API key or invalid authentication returns 401 unauthorized
- Rate limit exceeded returns 429 too many requests

## How this service works

ERC20 token metadata by contract address and chain: name, symbol, decimals, logo, total supply and verified-contract flag, from an indexed source behind an API key. Data agents cannot self-derive. token metadata, erc20 info, token name symbol decimals, contract metadata, token logo Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object containing the token's human-readable name, ticker symbol, decimal precision, logo image URL, total supply (raw and/or formatted), and a boolean flag indicating whether the contract is verified — all sourced from an indexed off-chain data store.

## 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": "ethereum, base, arbitrum, polygon, bsc, optimism (default ethereum)"
      },
      "address": {
       "type": "string",
       "description": "token contract 0x..."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc20-token-metadata-lookup-b24e5cd9/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)
