# Stablecoin Circulating Supply with On-Chain Cross-Check

> Stablecoin Circulating Supply with On-Chain Cross-Check is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Returns the total circulating supply and per-chain breakdown of a stablecoin from DefiLlama, cross-validated against a live on-chain ERC-20 totalSupply read, with a divergence flag if they disagree beyond tolerance.

## Facts

- Endpoint: GET https://api.agentstools.dev/stablecoin/supply
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-circulating-supply-with-on-chain-cross-check-b4278a99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_itEx4DrOPYZHvCT5bwwsK

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 stablecoin-circulating-supply-with-on-chain-cross-check-b4278a99
```

Example prompt: What's the current total circulating supply of USDC, broken down by chain, and does the DefiLlama number match what the on-chain contract actually shows? Check on Ethereum if you need to pick a chain for the cross-check.

## When to prefer this

Use this endpoint when you need both an aggregated multi-chain circulating supply figure AND independent on-chain verification in a single call. Prefer this over a plain DefiLlama query when data integrity and source divergence detection matter, or when you need to cite both off-chain aggregated and raw on-chain state for a stablecoin supply figure.

## Known failure modes

- Unknown stablecoin symbol or id returns a 404 or error indicating the token was not found
- Unsupported chain for on-chain cross-check may return partial data without the on-chain verification component
- Contract address not found or malformed returns an error
- DefiLlama data temporarily unavailable may result in incomplete breakdown
- RPC/on-chain read failure may return DefiLlama data only with a note that on-chain cross-check failed

## How this service works

Supply facet for a stablecoin: total circulating supply plus the per-chain breakdown from DefiLlama, cross-checked against an INDEPENDENT on-chain ERC-20 totalSupply read of the curated contract, with a divergence flag when the two disagree beyond a tolerance. Cited to both the open-data source and public on-chain state.

## Output

Returns total circulating supply of the requested stablecoin, a per-chain breakdown sourced from DefiLlama, the on-chain ERC-20 totalSupply read from the curated contract on the specified chain, and a divergence flag indicating whether the two sources disagree beyond an acceptable tolerance, with citations to both data sources.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain to prefer for the on-chain cross-check"
      },
      "symbol": {
       "type": "string",
       "description": "Stablecoin ticker or DefiLlama id"
      },
      "address": {
       "type": "string",
       "description": "Contract address (alternative)"
      }
     }
    }
   },
   "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/stablecoin-circulating-supply-with-on-chain-cross-check-b4278a99/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
