# Agent Data Tools: ERC-20 Token Balance on Ethereum

> Agent Data Tools: ERC-20 Token Balance on Ethereum 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 the ERC-20 token balance of a wallet address on Ethereum, including human-readable and raw amounts, symbol, and decimals.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/eth/token-balance?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-balance-on-ethereum-531d6c0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8Mo-6_FrakNAu2-Fl1TX2

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-balance-on-ethereum-531d6c0c
```

Example prompt: What's the USDC balance (contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum?

## When to prefer this

Use this endpoint when you need to check the balance of a specific ERC-20 token for a specific wallet address on Ethereum, without needing an API key or account setup. It is ideal for lightweight, pay-per-call agent workflows that need on-chain balance data at very low cost ($0.001 per call). Prefer this over full node integrations or heavier blockchain indexers when you only need a single token balance lookup.

## Known failure modes

- Invalid or malformed token contract address returns an error
- Invalid or malformed wallet address returns an error
- Token contract does not exist on Ethereum results in an error or zero balance
- Network or RPC timeout may return a service error
- Calling with a non-ERC-20 contract address may return unexpected results

## How this service works

ERC-20 token balance of a wallet on Ethereum (USDC, USDT, WETH or any token, via balanceOf): raw amount, decimals, symbol and the human-readable amount, live from the token contract. Use to check stablecoin or token holdings before a transfer or trade; for the native coin use eth_balance. Both inputs are 0x addresses (40 hex characters); no contract returns 404 and a non-ERC-20 contract 422, both uncharged.

## Output

Returns a JSON object containing the wallet's token balance as a human-readable string (e.g. '2.5'), the raw on-chain integer value, the token symbol, contract address, wallet address, number of decimals, chain name ('Ethereum'), and chain ID (1).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "raw": {
   "type": "string"
  },
  "chain": {
   "type": "string"
  },
  "token": {
   "type": "string"
  },
  "symbol": {
   "type": "string"
  },
  "address": {
   "type": "string"
  },
  "balance": {
   "type": "string"
  },
  "chainId": {
   "type": "number"
  },
  "decimals": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-erc-20-token-balance-on-ethereum-531d6c0c/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)
