# AgentsToolsHub ERC-20 Token Balance Lookup

> AgentsToolsHub ERC-20 Token Balance Lookup is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-17).

Returns the raw and human-readable ERC-20 token balance for any wallet address on Base or Ethereum using public RPC eth_call, no API key required.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/crypto/token-balance?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentstoolshub-erc-20-token-balance-lookup-353711a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G2hoQ-pdfG0XnTUStV2St

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 agentstoolshub-erc-20-token-balance-lookup-353711a8
```

Example prompt: What's the USDC balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? Use the token contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.

## When to prefer this

Choose this endpoint when you need a quick, keyless ERC-20 token balance lookup on Base or Ethereum without setting up an indexer or managing API credentials. It's ideal for agents that need one-off balance checks, portfolio snapshots, or on-chain verification tasks without the overhead of a full blockchain data provider. Prefer alternatives (e.g. Alchemy, Moralis) when you need historical balances, batch multi-token lookups, or support for chains other than Base and Ethereum.

## Known failure modes

- Invalid or non-checksummed token contract address returns an error
- Invalid holder address format causes a bad request response
- Token contract address is not an ERC-20 contract, resulting in a failed eth_call
- Unsupported chain value (anything other than 'base' or 'ethereum') returns a validation error
- Public RPC node temporarily unavailable or rate-limited causing timeout or 503
- Missing required query parameters (token or holder) returns 400 bad request

## How this service works

Read an ERC-20 token balance for any wallet on Base or Ethereum via public RPC eth_call — no key, no indexer. Returns the raw balance, human-readable amount (decimals applied) and token symbol. Use this when an agent needs to any token balance for any wallet, via public RPC.

## Output

Returns the wallet's raw token balance (as a big integer), the human-readable amount with decimals applied, and the token symbol — all resolved via public RPC eth_call without requiring an API key or indexer.

## 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",
      "holder"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "Chain"
      },
      "token": {
       "type": "string",
       "description": "Token contract"
      },
      "holder": {
       "type": "string",
       "description": "Holder address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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