# ERC-20 Token Balance with Decimals and Symbol

> ERC-20 Token Balance with Decimals and Symbol is a paid API for AI agents from santyvv-x402.santyvv1993.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-01).

Returns the ERC-20 token balance of an address along with the token's decimals and symbol

## Facts

- Endpoint: GET https://santyvv-x402.santyvv1993.workers.dev/api/chain/token-balance?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-balance-with-decimals-and-symbol-53536312
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lcyfh-xcAb3L-cKr6-V05

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-with-decimals-and-symbol-53536312
```

Example prompt: What's the ERC-20 token balance for wallet address 0xAbC...123 holding USDC (contract 0xA0b...eB4) on Ethereum, including the decimals and symbol?

## When to prefer this

Use this endpoint when you need both the raw ERC-20 token balance AND the token metadata (decimals and symbol) in a single call, saving an extra round-trip compared to fetching balance and metadata separately. Ideal for agents that need to display human-readable token amounts without knowing the token's decimal precision in advance.

## Known failure modes

- Invalid or malformed wallet/contract address returns an error
- Non-ERC-20 contract address may return unexpected or empty data
- Unsupported chain or network not available returns an error
- Rate limiting or payment failure returns a 402 or 429 response
- Node/RPC timeout if the underlying chain is congested

## How this service works

ERC-20 balance with decimals and symbol

## Output

Returns the raw on-chain ERC-20 token balance for the specified wallet address, along with the token's decimal places and ticker symbol, enabling conversion to a human-readable balance amount.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-balance-with-decimals-and-symbol-53536312/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from santyvv-x402.santyvv1993.workers.dev](https://www.zero.xyz/host/santyvv-x402.santyvv1993.workers.dev/llms.txt)
