# ERC-20 Token Balance Lookup

> ERC-20 Token Balance Lookup is a paid API for AI agents from 138-197-15-135.sslip.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-10-26).

Returns the ERC-20 token balance for a given wallet address on a specified EVM chain (Base, Ethereum, Arbitrum, Optimism), defaulting to USDC on Base.

## Facts

- Endpoint: GET https://138-197-15-135.sslip.io/v1/base/erc20-balance?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-balance-lookup-373f04fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_67K0_QFP7j7zNARj5Cye-

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-373f04fa
```

Example prompt: What's the USDC balance for wallet 0xAbCd1234...5678 on Base right now?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call on-chain ERC-20 balance check without setting up your own RPC node or blockchain SDK. It is ideal for AI agent workflows that need to verify wallet balances before executing payments, gating actions on sufficient funds, or building DeFi dashboards, particularly on Base, Ethereum, Arbitrum, or Optimism.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unsupported chain identifier returns an error
- Invalid token contract address returns an error or zero balance
- Network timeouts from on-chain RPC calls may cause latency or failure
- Payment failure (x402) if insufficient USDC to cover the $0.0025 call fee

## How this service works

Web page to clean Markdown for AI agents. Pay per call with x402 (USDC on Base).

## Output

Returns a JSON object containing: the human-readable token balance (e.g. '1.5'), the raw integer balance (e.g. '1500000'), the token's decimal precision, the resolved token contract address, the chain name, and the queried wallet address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "queryParams"
   ],
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "wallet"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain: base (default), ethereum, arbitrum, optimism"
      },
      "token": {
       "type": "string",
       "description": "Token contract (default USDC)"
      },
      "wallet": {
       "type": "string",
       "description": "Wallet address"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": "1500000",
  "chain": "base",
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "wallet": "0x…",
  "balance": "1.5",
  "decimals": 6
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-balance-lookup-373f04fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 138-197-15-135.sslip.io](https://www.zero.xyz/host/138-197-15-135.sslip.io/llms.txt)
