# ERC20 Token Total Supply Lookup

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

Fetches the current total supply of any ERC20 token on Base, Ethereum, Arbitrum, Optimism, or Polygon via a live eth_call to the contract's totalSupply function, returning both raw integer and decimal-adjusted amounts.

## Facts

- Endpoint: GET https://biosfera.46-62-215-147.sslip.io/o/erc20-supply?utm_source=zero.xyz
- Price: $0.0015/call
- Payment: x402
- Status: down
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc20-token-total-supply-lookup-10655c94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yasgAJHoghs4aWJgqzrAo

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-total-supply-lookup-10655c94
```

Example prompt: What's the current total supply of the USDC token contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — give me both the raw number and the human-readable decimal amount?

## When to prefer this

Choose this endpoint when you need a live, real-time totalSupply reading directly from the ERC20 contract on Base, Ethereum, Arbitrum, Optimism, or Polygon. Prefer it over indexers or off-chain data sources when accuracy and freshness matter, such as for DeFi analytics, tokenomics auditing, or cross-chain supply comparisons.

## Known failure modes

- Invalid or non-ERC20 contract address returns an error or zero supply
- Unsupported chain value outside the allowed enum returns a validation error
- Contract address that is not a token contract may return unexpected results
- RPC node downtime may cause temporary fetch failures
- Malformed address (not matching 0x + 40 hex chars) returns a schema validation error

## How this service works

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

## Output

Returns the raw integer total supply (as reported by the contract's totalSupply() function) and a decimal-adjusted floating-point amount accounting for the token's decimals, along with the queried contract address and 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"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string"
      },
      "token": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "ERC20 contract address"
      }
     },
     "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-total-supply-lookup-10655c94/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)
