# centralcity.ai ERC-20 Token Balance Lookup (Base)

> centralcity.ai ERC-20 Token Balance Lookup (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, including the token's decimals and symbol.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_y24pang6hjb52272?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/centralcity-ai-erc-20-token-balance-lookup-base-e1aebe77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wgLt-bWaYj-ciKLkEqmwp

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 centralcity-ai-erc-20-token-balance-lookup-base-e1aebe77 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need on-chain ERC-20 token balance data specifically on the Base network, including the token's symbol and decimals in a single call. Prefer this over general blockchain explorers when you need a lightweight, pay-per-call API without API key management, and when you're already operating in the Base/x402 payment ecosystem.

## Known failure modes

- Invalid contract address (not a valid ERC-20 token on Base) — returns error or zero balance
- Invalid wallet address format (must be 0x + 40 hex chars) — returns validation error
- Token contract exists but address has zero balance — returns 0
- Network/RPC timeout querying Base — returns service error
- Contract address is not an ERC-20 token (e.g. it's a plain EOA or non-standard contract) — may return error or unexpected data

## How this service works

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

## Output

Returns a JSON object containing the token balance for the specified address (as a numeric value adjusted by the token's decimals), the token's symbol (e.g. 'USDC'), and the number of decimal places the token uses (e.g. 6 for USDC, 18 for most ERC-20s).

## 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/centralcity-ai-erc-20-token-balance-lookup-base-e1aebe77/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)
