# ChainRay Token Supply Lookup

> ChainRay Token Supply Lookup is a paid API for AI agents from chainray.online, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Returns the total, circulating, or max token supply for a given token contract address on a specified blockchain network

## Facts

- Endpoint: GET https://chainray.online/token-supply/%7Baddress%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-token-supply-lookup-1a529eb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tf0JYpnswiOrEEDFQM8_I

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 chainray-token-supply-lookup-1a529eb4
```

Example prompt: What's the total token supply for the contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?

## When to prefer this

Use this endpoint when you need on-chain token supply data (total, circulating, or max) for a specific token contract address across any of 46 supported chains. Prefer ChainRay over generic block explorers when you need programmatic, pay-per-request access with consistent JSON output and multi-chain support in a single API.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty result
- Unsupported chain identifier causes a 400 or 422 error
- Address is a wallet rather than a token contract, returning no supply data
- Network congestion or RPC unavailability causes a timeout
- Payment not processed (402) if x402 header is missing or invalid

## How this service works

The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.

## Output

Returns on-chain token supply data for the specified contract address, including total, circulating, and/or max supply figures denominated in the token's native units, sourced directly from the blockchain.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "ethereum",
   "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
  }
 }
}
```

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network"
      },
      "address": {
       "type": "string",
       "description": "Wallet or contract address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-token-supply-lookup-1a529eb4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
