# ERC-20 Token Balance Lookup

> ERC-20 Token Balance Lookup is a paid API for AI agents from chain.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the live ERC-20 token balance (raw and decimal-formatted) held by a wallet address on a specified EVM chain

## Facts

- Endpoint: POST https://chain.openverbs.com/v1/token-balance
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-balance-lookup-07602cd5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5VOvdebPzfyaQ5VUOKMQI

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-07602cd5 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need the live, formatted ERC-20 token balance (not native ETH) for a specific wallet on an EVM chain. Prefer this over the native address balance endpoint when dealing with tokens like USDC, USDT, WETH, LINK, DAI, etc. Use the sibling token-metadata endpoint if you only need contract info (symbol, decimals, supply) without a specific holder's balance.

## Known failure modes

- Invalid wallet address format (not a valid 0x hex address) returns a validation error
- Invalid token contract address returns an error or zero balance if the contract does not implement ERC-20
- Unsupported chain name returns a validation error — must be one of ethereum, base, arbitrum, optimism, polygon
- Contract read failure due to RPC outage across all fallback endpoints returns a service error
- Non-ERC-20 contract address (e.g. EOA or non-token contract) may return zero or an error

## How this service works

Live ERC-20 token balance held by a wallet: calls `balanceOf(address)` on the token contract and returns the raw balance plus a decimal-formatted amount (using the token's own decimals) with its symbol. Distinct from `address` (native ETH balance) and `token` (contract metadata). Reads live on-chain data with automatic endpoint fallback.

## Output

Returns the wallet's raw token balance (as an integer in the token's smallest unit) plus a human-readable decimal-formatted amount using the token contract's own decimals, along with the token symbol. Data is read live from the on-chain contract with automatic RPC endpoint fallback for reliability.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string",
       "description": "EVM chain to query. One of: ethereum, base, arbitrum, optimism, polygon. Default \"ethereum\"."
      },
      "token": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "ERC-20 token contract address."
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Holder wallet address."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-balance-lookup-07602cd5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain.openverbs.com](https://www.zero.xyz/host/chain.openverbs.com/llms.txt)
