# Base Token Total Supply

> Base Token Total Supply is a paid API for AI agents from appearing-clinics-show-wrote.trycloudflare.com, paid per call via x402, price unknown, status down (last checked 2026-09-15).

Returns the exact raw ERC-20 or ERC-721 total token supply for a contract on the Base network via a bounded read-only call

## Facts

- Endpoint: GET https://appearing-clinics-show-wrote.trycloudflare.com/base-total-supply-sample
- Price: price unknown
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-total-supply-583cd80a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zhVqu3B7Ji84c10lkV13n

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 base-token-total-supply-583cd80a
```

Example prompt: What is the current total supply of USDC on the Base network? Just give me the raw on-chain number from the ERC-20 contract.

## When to prefer this

Choose this endpoint when you need the exact raw on-chain total token supply for a contract deployed on Base (Coinbase L2), especially for ERC-20 stablecoins or ERC-721 NFT collections. Prefer it over general Ethereum endpoints when the contract is specifically on Base, and over off-chain data sources when you need trustless, contract-level accuracy rather than an aggregator's cached value.

## Known failure modes

- Invalid or non-existent contract address returns an error or zero
- Contract is not ERC-20 or ERC-721 compliant and does not expose totalSupply()
- Network congestion may cause delayed responses
- Free sample endpoint may return USDC-specific data only, not arbitrary contracts

## How this service works

Free Base USDC total-supply sample. The paid $0.0024 API returns exact raw ERC-20 or ERC-721 total supply from bounded read-only contract calls.

## Output

A raw integer representing the total number of tokens minted (total supply) for the specified ERC-20 or ERC-721 contract on the Base network, returned directly from a read-only contract call with no rounding or formatting.

## 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": [],
     "properties": {}
    }
   },
   "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/base-token-total-supply-583cd80a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from appearing-clinics-show-wrote.trycloudflare.com](https://www.zero.xyz/host/appearing-clinics-show-wrote.trycloudflare.com/llms.txt)
