# Ethereum ERC-20 Token Metadata Lookup

> Ethereum ERC-20 Token Metadata Lookup is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-18).

Returns the name, symbol, decimals, and totalSupply for a given ERC-20 token contract on Ethereum mainnet via a read-only eth_call.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/eth-erc20-meta?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-erc-20-token-metadata-lookup-7c8527aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eiIEybJ2qG1ORv_LNwtww

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 ethereum-erc-20-token-metadata-lookup-7c8527aa -d '<json body>'
```

Example prompt: Can you look up the name, symbol, decimals, and total supply for the ERC-20 token at Ethereum address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?

## When to prefer this

Use this endpoint when you need standard ERC-20 metadata (name, symbol, decimals, totalSupply) for a single Ethereum mainnet token contract and want a simple, pay-per-call interface without managing your own RPC node or Ethereum provider credentials. Prefer this over general blockchain APIs when you only need these four fields and want minimal setup.

## Known failure modes

- Address is not a deployed contract — returns error indicating no contract found
- Contract exists but does not implement ERC-20 methods (name/symbol/decimals/totalSupply) — returns method-not-found or call revert error
- Invalid Ethereum address format — returns validation error
- Network or RPC failure — returns upstream error
- Non-mainnet address provided — only eip155:1 is supported, other chains will error

## How this service works

Call when an agent needs ERC-20 name, symbol, decimals, and totalSupply for one Ethereum mainnet token. Send token (example Circle USDC). Read-only eth_call on eip155:1. Not a contract, or no ERC-20 methods, errors. No spend. Send JSON {"token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}. Exact $0.002 USDC on Base. Try unpaid POST /v1/sandbox/eth-erc20-meta first.

## Output

Returns a JSON object containing the ERC-20 token's name (string), symbol (string), decimals (integer), and totalSupply (large integer) as reported by the contract on Ethereum mainnet (eip155:1). If the address is not a valid ERC-20 contract or lacks these standard methods, an error is returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "examples": [
    "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
   ],
   "description": "ERC-20 contract on Ethereum mainnet (eip155:1). Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (Circle USDC). Returns name, symbol, decimals, and total supply. Read-only."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ethereum-erc-20-token-metadata-lookup-7c8527aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
