# ERC-20 Token Balance Lookup (Base/Ethereum)

> ERC-20 Token Balance Lookup (Base/Ethereum) is a paid API for AI agents from ariogw.ccwu.cc:8443, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-27).

Returns the ERC-20 token balance for a given wallet address on Base or Ethereum, including raw amount, formatted balance, symbol, and decimals.

## Facts

- Endpoint: GET https://ariogw.ccwu.cc:8443/v1/chain/erc20-balance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-balance-lookup-base-ethereum-07488b17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SyuNcwmRqAUhU5qUXcRj7

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-base-ethereum-07488b17
```

Example prompt: What's the USDC balance of wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? The USDC contract address is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.

## When to prefer this

Choose this endpoint when you need a quick, no-account on-chain ERC-20 balance lookup on Base or Ethereum without setting up RPC infrastructure or an API key. Ideal for lightweight agent workflows that need pay-per-call pricing via USDC x402. Prefer alternatives (e.g. Alchemy, Infura, Moralis) for high-volume batch queries, multi-chain support beyond Base/Ethereum, or when historical balance data is needed.

## Known failure modes

- Invalid or malformed EVM address returns an error response
- Unsupported chain value (anything other than 'base' or 'ethereum') causes a validation failure
- Invalid ERC-20 contract address (non-existent or non-ERC20 contract) may return zero balance or error
- Network/RPC issues from the Europe hub can cause timeouts
- Payment failure via x402/USDC may block the request before execution

## How this service works

Pay-per-call website uptime/latency/TLS checks and fetch-to-Markdown, measured from Hub Europe (Germany). USDC on Base via x402. No account or API key.

## Output

A JSON object containing: 'balance' (human-readable formatted amount, e.g. '12.5'), 'raw' (raw integer string before decimal adjustment, e.g. '12500000'), 'symbol' (token ticker, e.g. 'USDC'), and 'decimals' (integer, e.g. 6). Useful for displaying balances or programmatic comparisons.

## 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": [
      "chain",
      "token",
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "example": "base",
       "description": "base or ethereum"
      },
      "token": {
       "type": "string",
       "example": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
       "description": "ERC-20 contract address"
      },
      "address": {
       "type": "string",
       "example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
       "description": "0x EVM address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": "12500000",
  "symbol": "USDC",
  "balance": "12.5",
  "decimals": 6
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-balance-lookup-base-ethereum-07488b17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ariogw.ccwu.cc:8443](https://www.zero.xyz/host/ariogw.ccwu.cc%3A8443/llms.txt)
