# ERC-20 Token Balance Lookup by Wallet

> ERC-20 Token Balance Lookup by Wallet is a paid API for AI agents from api.agent-data.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-14).

Returns the balance, symbol, and decimals of a specific ERC-20 token for a given wallet address on a supported EVM chain.

## Facts

- Endpoint: GET https://api.agent-data.workers.dev/api/v1/evm/token/balance?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-balance-lookup-by-wallet-3992832e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5ebTyH6B3noFuLR-6RNXp

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-balance-lookup-by-wallet-3992832e
```

Example prompt: What's the USDC balance for wallet 0xAbC...123 on Base? I need to confirm a deposit came through.

## When to prefer this

Use this endpoint when you need to check the balance of a single specific ERC-20 token for one wallet address on a supported EVM chain — especially for lightweight deposit confirmation where cost matters ($0.001/call). Prefer this over a full multi-token wallet scan when only one token is relevant, or when you need symbol and decimals alongside the balance.

## Known failure modes

- Invalid or unsupported chain name returns an error
- Malformed wallet address or token contract address returns an error or zero balance
- Token contract address not deployed on the specified chain returns no data
- Network congestion or RPC timeouts may cause delayed responses
- Unsupported chain outside Base/Ethereum/Arbitrum/BSC/Polygon/Optimism/Avalanche returns an error

## How this service works

Balance of one ERC-20 token for one wallet on Base, Ethereum, Arbitrum, BSC, Polygon, Optimism or Avalanche with symbol and decimals. Cheapest way to confirm a deposit. $0.001.

## Output

A JSON object containing the chain name, token symbol, human-readable balance (float), token decimals, and raw balance string (e.g. {chain:'base', symbol:'USDC', balance:1.5, decimals:6, raw_balance:'1500000'}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token",
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string"
      },
      "token": {
       "type": "string"
      },
      "address": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "symbol": "USDC",
  "balance": 1.5,
  "decimals": 6,
  "raw_balance": "1500000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-balance-lookup-by-wallet-3992832e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agent-data.workers.dev](https://www.zero.xyz/host/api.agent-data.workers.dev/llms.txt)
