# Saylor Innovations Data Desk – ERC-20 Token Balance

> Saylor Innovations Data Desk – ERC-20 Token Balance is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns the ERC-20 token balance of a wallet address on any of 16 supported EVM chains, including raw and decimal-scaled amounts, token symbol, and token name.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/chain/erc20-balance?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-erc-20-token-balance-a0a31914
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ucql9-CuvzYvJvNLUxsTp

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 saylor-innovations-data-desk-erc-20-token-balance-a0a31914
```

Example prompt: What's the USDC balance of wallet 0xAbC...123 on Base — give me both the raw amount and the human-readable decimal figure, and tell me the token name and symbol.

## When to prefer this

Use this endpoint when you need on-chain ERC-20 token balance data for a specific wallet across any of 16 supported EVM chains, particularly when you require both the raw smallest-unit value and the human-readable decimal-scaled amount together with token metadata (symbol, name, decimals) in a single call. Prefer this over generic RPC calls when you want a simple REST interface without managing Web3 providers or ABI encoding yourself.

## Known failure modes

- Invalid or unsupported chain name/ID returns an error
- Malformed wallet or token contract address returns an error
- Token contract address that is not an ERC-20 may return null or zero balance
- Network RPC unavailability causes a timeout or upstream error
- Token with no decimals metadata returns null for balance and decimals fields

## How this service works

ERC-20 token balance of a wallet on 16 EVM chains, raw and decimal-scaled, with the token symbol and name, read through balanceOf.

## Output

A JSON object containing the queried chain name and EIP-155 chain ID, the wallet address, the token contract address, the raw balance (smallest unit string), the decimal-scaled balance (string or null), token decimals, token symbol, token name, and a source field indicating where the data was read from (on-chain RPC).

## 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",
      "address",
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"
      },
      "token": {
       "type": "string",
       "description": "the ERC-20 token contract address"
      },
      "address": {
       "type": "string",
       "description": "the wallet to read"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "chain_id",
      "address",
      "token",
      "balance_raw",
      "source"
     ],
     "properties": {
      "name": {
       "type": [
        "string",
        "null"
       ],
       "description": "token name"
      },
      "chain": {
       "type": "string",
       "description": "the chain name that was queried"
      },
      "token": {
       "type": "string",
       "description": "the token contract"
      },
      "source": {
       "type": "string",
       "description": "where the data was read from"
      },
      "symbol": {
       "type": [
        "string",
        "null"
       ],
       "description": "token symbol"
      },
      "address": {
       "type": "string",
       "description": "the wallet that was read"
      },
      "balance": {
       "type": [
        "string",
        "null"
       ],
       "description": "balance divided by 10^decimals"
      },
      "chain_id": {
       "type": "number",
       "description": "EIP-155 chain id of that network"
      },
      "decimals": {
       "type": [
        "number",
        "null"
       ],
       "description": "token decimals"
      },
      "balance_raw": {
       "type": "string",
       "description": "balance in the token smallest unit"
      }
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-erc-20-token-balance-a0a31914/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
