# Stablecoin Peg Monitor

> Stablecoin Peg Monitor is a paid API for AI agents from onchain-health.mick8511.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Returns Chainlink oracle prices, deviation from $1 in basis points, depeg flags, and on-chain total supply for USDC, USDT, DAI, and USDe across up to 5 EVM chains.

## Facts

- Endpoint: POST https://onchain-health.mick8511.workers.dev/stablecoin-peg?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-peg-monitor-6aeeb89d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VB8JofAUkiNVz1WFgjqJ-

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-peg-monitor-6aeeb89d -d '<json body>'
```

Example prompt: Check the peg health for USDC and USDT on Ethereum, Base, and Arbitrum right now — I want to see the Chainlink oracle price, how many basis points they're off from $1, whether either has a depeg flag, and their on-chain total supply.

## When to prefer this

Choose this endpoint when you need live, on-chain stablecoin peg data with Chainlink oracle prices, basis-point deviation, and supply figures across multiple EVM chains in a single call. It covers all major stablecoins (USDC, USDT, DAI, USDe) and uses Multicall3 for efficiency. Prefer this over centralized exchange price feeds when you need verifiable on-chain oracle data for DeFi risk monitoring or alerting systems.

## Known failure modes

- Chain or symbol not supported — returns error or empty data for that selection
- Chainlink oracle stale or unresponsive — may return stale price with age indicator
- RPC node unavailable for a given chain — that chain's data may be missing
- Invalid comma-separated chain/symbol values — may result in 400 or partial response
- Payment not processed (x402) — request rejected before data is returned

## How this service works

Stablecoin peg monitor: Chainlink oracle price, deviation from $1 in basis points, a depeg flag (over 1%) and on-chain total supply per chain for USDC, USDT, DAI and USDe across Ethereum, Base, Arbitrum, Optimism and Polygon. Live reads, one Multicall3 per chain. Free sample: https://onchain-health.mick8511.workers.dev/sample

## Output

A structured response per chain and stablecoin containing: the Chainlink oracle price, the deviation from $1 expressed in basis points, a boolean depeg flag (true when deviation exceeds 1%), and the on-chain total supply. Data is fetched live via one Multicall3 call per chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "string",
   "description": "Comma list of chains (default all 5)"
  },
  "symbols": {
   "type": "string",
   "description": "Comma list: USDC,USDT,DAI,USDe (default all)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-peg-monitor-6aeeb89d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-health.mick8511.workers.dev](https://www.zero.xyz/host/onchain-health.mick8511.workers.dev/llms.txt)
