# Ethereum ERC-20 Token Balance Lookup

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

Returns the raw and human-readable ERC-20 token balance for a given wallet address on Ethereum mainnet

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/eth-erc20-balance?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-erc-20-token-balance-lookup-345b5973
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xi5KOgoE7efIQR_auR-9u

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-balance-lookup-345b5973 -d '<json body>'
```

Example prompt: What's the current USDC balance for the Ethereum wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045? Use the USDC contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and give me both the raw and human-readable amounts.

## When to prefer this

Choose this endpoint when you need on-chain ERC-20 token balance data for any wallet on Ethereum mainnet (eip155:1), especially when you need both the raw and human-scaled balance in a single call. Prefer the sandbox endpoint (/v1/sandbox/eth-erc20-balance) for testing without payment. Use this over a general blockchain RPC call when you want a simple JSON API abstraction without managing your own Web3 connection. Best suited for read-only balance lookups with no state mutation needed.

## Known failure modes

- Invalid token contract address (not a valid ERC-20 contract) — may return error or zero balance
- Invalid owner address format — request rejected with validation error
- Token contract does not implement decimals() — human balance computation fails
- Network or RPC unavailability for Ethereum mainnet — service error response
- Payment not provided or insufficient — HTTP 402 returned; use sandbox endpoint for unpaid testing

## How this service works

Call when an agent needs an Ethereum mainnet ERC-20 token balance_raw and human balance for token and owner. Example token is Circle USDC. decimals() scales the human balance. Read-only on eip155:1. No spend. Send JSON {"token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","owner":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/eth-erc20-balance first.

## Output

Returns a JSON object containing balance_raw (the integer token balance as stored on-chain, unscaled) and a human-readable balance derived by dividing balance_raw by 10^decimals(), where decimals() is read from the ERC-20 contract. Both values correspond to the specified owner wallet on Ethereum mainnet (eip155:1).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "owner": {
   "type": "string",
   "examples": [
    "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
   ],
   "description": "Wallet whose token balance is read on Ethereum mainnet. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045. Returns balance_raw and a human balance from decimals()."
  },
  "token": {
   "type": "string",
   "examples": [
    "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
   ],
   "description": "ERC-20 contract on Ethereum mainnet. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (Circle USDC). EIP-55 or all one case. Paired with owner."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ethereum-erc-20-token-balance-lookup-345b5973/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)
