# ERC20 Token Balance Lookup

> ERC20 Token Balance Lookup is a paid API for AI agents from biosfera.46-62-215-147.sslip.io, paid per call via x402, $0.002/call, status down (last checked 2026-10-02).

Fetches the live ERC20 token balance of a wallet address on Base, Ethereum, Arbitrum, Optimism, or Polygon, returning both raw integer and decimal-adjusted amounts.

## Facts

- Endpoint: GET https://biosfera.46-62-215-147.sslip.io/o/erc20-balance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc20-token-balance-lookup-766b6350
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XqNmhvOByyUTDV_jGjC4d

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 erc20-token-balance-lookup-766b6350
```

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

## When to prefer this

Use this endpoint when you need a live, on-chain ERC20 token balance for any specific wallet on the five supported EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon). It is preferable when you need both raw integer and decimal-adjusted balance in a single call, or when you are already working within the x402 micropayment ecosystem. For native ETH/USDC balance on Base specifically, a sibling endpoint may be more appropriate.

## Known failure modes

- Invalid wallet or token address format (must be 0x-prefixed 40 hex character address)
- Unsupported chain name provided (must be base, ethereum, arbitrum, optimism, or polygon)
- Token contract address is not a valid ERC20 contract on the specified chain
- RPC or network timeout when querying the chain
- Payment failure or insufficient USDC balance for the $0.002 per-call fee

## How this service works

Use when you need the current ERC20 token balance of a wallet on Base, Ethereum, Arbitrum, Optimism or Polygon, fetched live via balanceOf eth_call. Returns raw integer balance and a decimal-adjusted amount.

## Output

Returns the raw integer balance (as returned by the ERC20 balanceOf eth_call) and a human-readable decimal-adjusted amount for the specified wallet and token on the requested chain.

## 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",
      "wallet"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string"
      },
      "token": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "ERC20 contract address"
      },
      "wallet": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "wallet address to check"
      }
     },
     "additionalProperties": false
    }
   },
   "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/erc20-token-balance-lookup-766b6350/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from biosfera.46-62-215-147.sslip.io](https://www.zero.xyz/host/biosfera.46-62-215-147.sslip.io/llms.txt)
