# Stablecoin Peg Deviation Monitor

> Stablecoin Peg Deviation Monitor is a paid API for AI agents from agent402.tools, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns live $1-peg deviation data for major USD stablecoins including current price, basis-point deviation, 24h high/low, worst 24h deviation, market cap, and on-peg status

## Facts

- Endpoint: GET https://agent402.tools/api/stablecoin-peg
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-peg-deviation-monitor-e80269ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pqwom9HkxOqLjde4-tQws

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-deviation-monitor-e80269ce
```

Example prompt: Check the current peg status for USDT, USDC, and DAI — I want to see how many basis points each is deviating from $1 and whether any of them are considered off-peg right now.

## When to prefer this

Use this endpoint when you need real-time peg health for specific USD stablecoins, especially when you need basis-point precision, 24h deviation history, and on-peg/off-peg classification all in one call. Prefer it over generic crypto price APIs when stablecoin stability analysis is the primary goal.

## Known failure modes

- Invalid or unrecognized coin symbol returns an error or empty result for that entry
- Requesting more than 15 coins at once may be rejected
- Upstream price feed delays can cause stale data
- Network timeout if price oracle is slow to respond
- Malformed query string causes 400 bad request

## How this service works

Live $1-peg deviation for the top USD stablecoins (USDT, USDC, USDS, DAI, USDe, PYUSD, USDD, TUSD, FDUSD by default, or pass your own list): current price, deviation in basis points, 24h high/low, worst 24h deviation, market cap, and an on-peg / stressed / depegged status. Backed by CoinGecko's public API.

## Output

Returns for each queried stablecoin: current price in USD, deviation from $1 peg in basis points, 24h high and low prices, worst 24h deviation, market capitalization, and a boolean or label indicating whether the coin is currently on-peg or depegged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "peg": "USD $1.00",
  "coins": [
   {
    "id": "tether",
    "name": "Tether",
    "price": 0.998868,
    "low24h": 0.998674,
    "status": "on-peg",
    "symbol": "USDT",
    "high24h": 0.999372,
    "marketCap": 184092462233,
    "deviationBps": -11.32,
    "maxDeviation24hBps": 13.26
   },
   {
    "id": "usd-coin",
    "name": "USDC",
    "price": 0.999819,
    "low24h": 0.99953,
    "status": "on-peg",
    "symbol": "USDC",
    "high24h": 0.999923,
    "marketCap": 73033499074,
    "deviationBps": -1.81,
    "maxDeviation24hBps": 4.7
   }
  ],
  "count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-peg-deviation-monitor-e80269ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
