# ChainRay Stablecoin Supply

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

Returns total and circulating supply of stablecoins (e.g., USDC, DAI) for a specified blockchain network, with on-chain proof and global market context.

## Facts

- Endpoint: GET https://chainray.online/stablecoin-supply
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-online-7e7d1e7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Czs6UEKnsSCvYqwdtGGs

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-online-7e7d1e7a
```

Example prompt: What's the current total and circulating supply of stablecoins on Base — I want USDC and DAI broken down with on-chain proof?

## When to prefer this

Use this endpoint when you need real-time, on-chain verified stablecoin supply figures for a specific blockchain with cryptographic proof of data integrity. Prefer this over generic market data APIs when you need per-chain granularity, contract-level supply breakdowns, and block-anchored provenance rather than aggregated global estimates.

## Known failure modes

- Unsupported chain name returns empty or error response
- Chain parameter typo causes no results
- Network congestion may cause delayed block data
- RPC node unavailability may cause timeout
- Stablecoin not deployed on specified chain returns no entry for that symbol

## 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 a JSON object containing per-stablecoin supply data (symbol, contract address, totalSupply as raw number and formatted string), aggregated cross-chain totals, global DeFi Llama market context, a block-anchored cryptographic proof (blockHash, blockNumber, blockTimestamp, dataHash), and the chain scanned.

## Example request

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

## 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",
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network (e.g., base, ethereum, polygon)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-online-7e7d1e7a/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)
