# ChainVerdict Token Supply API

> ChainVerdict Token Supply API is a paid API for AI agents from chainverdict.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-20).

Fetches the circulating or total supply data for an ERC-20 token by its contract address on Base

## Facts

- Endpoint: GET https://chainverdict.xyz/v1/data/supply/%7Btoken%7D?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainverdict-token-supply-api-46e8f4d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PO2IYwh556-ZRQYAsyhTv

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 chainverdict-token-supply-api-46e8f4d9
```

Example prompt: What's the total token supply for the ERC-20 contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base?

## When to prefer this

Use this endpoint when you need on-chain token supply data specifically for ERC-20 contracts deployed on the Base network, and you are set up to handle x402 micropayments ($0.003 USDC per call). Prefer this over general blockchain explorers when you need programmatic, API-accessible supply data for Base tokens in an agent workflow.

## Known failure modes

- Invalid or malformed ERC-20 contract address returns an error
- Contract address not found on Base network returns empty or error response
- Unpaid request returns HTTP 402 with x402 payment requirements
- Non-ERC-20 contract address may return unexpected or empty supply data
- Rate limiting or network issues may cause timeouts

## How this service works

x402 v2 pay-per-call. Unpaid requests receive HTTP 402 with payment requirements.

## Output

Returns supply data for the specified ERC-20 token contract on Base, including metrics such as total supply and/or circulating supply figures as on-chain data.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "addr"
     ],
     "properties": {
      "addr": {
       "type": "string",
       "description": "ERC-20 contract address on Base"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainverdict-token-supply-api-46e8f4d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainverdict.xyz](https://www.zero.xyz/host/chainverdict.xyz/llms.txt)
