# ERC-20 Token Balance on Base

> ERC-20 Token Balance on Base is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Returns the ERC-20 token balance for a given address on the Base blockchain, along with the token's decimals and symbol.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_z3evcafxmbxi55n4?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-balance-on-base-c08f58d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_axlkX3h-GGBhnczY_LwWr

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-on-base-c08f58d3 -d '<json body>'
```

Example prompt: What's the USDC balance (contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for the Base wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e? Also tell me the token's symbol and decimals.

## When to prefer this

Use this endpoint when you need to check the balance of a specific ERC-20 token for a wallet on the Base blockchain, especially when you also need the token's symbol and decimal metadata in a single call. Prefer this over general blockchain APIs when targeting Base specifically and when cost-per-call matters for single-address lookups.

## Known failure modes

- Invalid contract address format returns a validation error
- Invalid holder address format returns a validation error
- Token contract does not exist on Base returns null or zero balance
- Network congestion may cause slow or failed RPC reads
- Non-ERC-20 contract address may return unexpected results or errors

## How this service works

An address's balance of one ERC-20 token on Base, with the token's decimals and symbol.

## Output

Returns the token balance for the queried address (as a raw integer or decimal value), plus the token's symbol (e.g. 'USDC') and its decimal precision (e.g. 6), enabling calculation of the human-readable balance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "The token's contract address on Base (0x and 40 hex digits)."
  },
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "The holder: a Base address (0x and 40 hex digits)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-balance-on-base-c08f58d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from centralcity.ai](https://www.zero.xyz/host/centralcity.ai/llms.txt)
