# Agent Data Tools: ERC-20 Token Info Lookup

> Agent Data Tools: ERC-20 Token Info Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns metadata for an ERC-20 token contract including name, symbol, decimals, chain, and total supply

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/op/token-info?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-erc-20-token-info-lookup-0033d717
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bfz2MZu3gg6Q2JLWmhYjP

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 agent-data-tools-erc-20-token-info-lookup-0033d717
```

Example prompt: What's the name, symbol, decimals, and total supply for the ERC-20 token at contract address 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 on Optimism?

## When to prefer this

Use this endpoint when you need canonical metadata (name, symbol, decimals, total supply) for a known ERC-20 contract address and do not need real-time price data. It is ideal for enriching transaction data, validating token contracts, or building UI labels for on-chain assets. Prefer this over price endpoints when metadata rather than market data is the goal.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error
- Contract address exists but is not a standard ERC-20 (e.g. ERC-721 NFT) may return incomplete data
- Unsupported chain for the given contract address
- Network timeout or RPC error from the underlying chain provider
- Missing required 'token' query parameter returns validation error

## How this service works

Look up the name, symbol, decimals and total supply of an ERC-20 token contract on Optimism, live from the contract. Use to identify an unknown token address or to format raw amounts; for a holder's balance use op_token_balance. Input is a ticker (USDC, WETH…) or the token's 0x contract address; an address that is not an ERC-20 contract returns 422, uncharged.

## Output

A JSON object with the token's human-readable name, ticker symbol, chain name, chain ID, contract address, number of decimals, formatted total supply (e.g. '1000000000.0'), and raw total supply integer string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "token"
 ],
 "properties": {
  "token": {
   "type": "string",
   "description": "Token: a ticker such as USDC or WETH, or the 0x ERC-20 contract address"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string"
  },
  "chain": {
   "type": "string"
  },
  "token": {
   "type": "string"
  },
  "symbol": {
   "type": "string"
  },
  "chainId": {
   "type": "number"
  },
  "decimals": {
   "type": "number"
  },
  "totalSupply": {
   "type": "string"
  },
  "totalSupplyRaw": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-erc-20-token-info-lookup-0033d717/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
