# ChainRead Balance

> ChainRead Balance is a paid API for AI agents from chainread.imac2014ville.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Fetches native ETH and ERC-20 token balances for a wallet or contract address on Base or Ethereum mainnet

## Facts

- Endpoint: GET https://chainread.imac2014ville.workers.dev/balance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainread-balance-9f531eb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uv4yqmhOYIiMLh_K90aQ0

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 chainread-balance-9f531eb9
```

Example prompt: What's the ETH balance and USDC balance for wallet 0x4200000000000000000000000000000000000006 on Base right now?

## When to prefer this

Choose this endpoint when you need a cheap, no-API-key way to read native ETH and ERC-20 balances on Base or Ethereum mainnet. It supports bulk token lookups (up to 20 tokens) in a single call and returns USD-denominated native balance, making it ideal for agents that need quick portfolio snapshots or balance checks without setting up a full RPC provider subscription.

## Known failure modes

- Invalid or malformed address returns an error response
- Unsupported chain value (not 'base' or 'ethereum') results in a validation error
- More than 20 ERC-20 token addresses requested returns an error
- Network or RPC timeout may return a failed response
- Payment failure (insufficient USDC for x402 fee) blocks the request

## How this service works

Cheap EVM read utilities for AI agents on Base and Ethereum mainnet: gas and fees, blocks, balances, ERC-20 metadata, contract inspection, transaction status, ENS/Basename resolution, bulk balances. No API key: pay USDC on Base per call via x402.

## Output

Returns a JSON object with the queried chain, the wallet address, the native ETH balance (as a string and in USD), and an array of ERC-20 token balances each including symbol, balance, and decimals.

## 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": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "Chain to read (default base)"
      },
      "tokens": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "ERC-20 addresses, max 20 (GET: comma-separated; default: common tokens)"
      },
      "address": {
       "type": "string",
       "description": "Wallet or contract address (0x…)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "chain": "base",
  "native": {
   "usd": 3732000,
   "balance": "1523.4"
  },
  "tokens": [
   {
    "symbol": "USDC",
    "balance": "5120.33",
    "decimals": 6
   }
  ],
  "address": "0x4200000000000000000000000000000000000006"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainread-balance-9f531eb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainread.imac2014ville.workers.dev](https://www.zero.xyz/host/chainread.imac2014ville.workers.dev/llms.txt)
