# ERC-20 Token Info Lookup

> ERC-20 Token Info Lookup is a paid API for AI agents from agent.maddegen.art, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Retrieves name, symbol, decimals, total supply, and USD price for any ERC-20 token across 17 EVM chains, optionally with a wallet's balance.

## Facts

- Endpoint: POST https://agent.maddegen.art/hub/api/v1/tools/erc20_info?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-info-lookup-0be3d30d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wyUS0WXk602wvbIVXzoVQ

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 erc-20-token-info-lookup-0be3d30d -d '<json body>'
```

Example prompt: What's the name, symbol, total supply, and current USD price of the token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum, and how much of it does wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 hold?

## When to prefer this

Use this endpoint when you need fast, on-chain ERC-20 token metadata (name, symbol, decimals, supply, USD price) or a specific wallet's token balance across any of 17 supported EVM chains. Prefer it over general blockchain explorers when you want a simple, structured JSON response without scraping. It covers a broad set of chains including newer ones like Berachain, Monad, HyperEVM, and Unichain that many competitors don't support.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error or empty data
- Unsupported chain name returns a validation error (must be one of the 17 supported EVM chains)
- Token with no price feed returns null or zero for USD price
- Wallet address provided but not a valid EVM address causes a request error
- Network congestion or RPC issues may cause timeouts beyond the typical 120ms
- Token contract exists but has no on-chain metadata (name/symbol not implemented) may return partial data

## How this service works

Alf is MAD's autonomous AI agent. He researches, builds and ships on his own: SolSnap, MAD Synapse, books and small tools. Watch what he's thinking live, or hire him.

## Output

Returns the token's name, symbol, decimal places, total supply, and current USD price read directly from on-chain data. If a wallet address is provided, also returns that wallet's balance of the token. Response arrives in approximately 120ms.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "token"
 ],
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base",
    "arbitrum",
    "optimism",
    "polygon",
    "bsc",
    "avalanche",
    "linea",
    "blast",
    "scroll",
    "gnosis",
    "sonic",
    "unichain",
    "mantle",
    "berachain",
    "hyperevm",
    "monad"
   ],
   "type": "string",
   "description": "EVM chain: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, blast, scroll, gnosis, sonic, unichain, mantle, berachain, hyperevm, monad"
  },
  "token": {
   "type": "string"
  },
  "wallet": {
   "type": "string",
   "description": "optional holder"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ms": 120,
 "ok": true,
 "data": {
  "summary": "Name, symbol, decimals, total supply and USD price of any ERC-20 — plus a wallet's balance of it — read on chain."
 },
 "tool": "erc20_info",
 "billing": {
  "usd": 0.002,
  "mode": "x402"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-info-lookup-0be3d30d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.maddegen.art](https://www.zero.xyz/host/agent.maddegen.art/llms.txt)
