# Forgemesh Stablecoin Depeg Monitor

> Forgemesh Stablecoin Depeg Monitor is a paid API for AI agents from anomaly.forgemesh.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Monitors USDC, USDT, and DAI prices across DEX pools in real time to detect peg deviations before they escalate into crises

## Facts

- Endpoint: GET https://anomaly.forgemesh.io/api/depeg-monitor
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-stablecoin-depeg-monitor-af138e2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WxCbr7wEQaE8Kgubka6Lb

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 forgemesh-stablecoin-depeg-monitor-af138e2a
```

Example prompt: Check the current peg health of USDC, USDT, and DAI on Ethereum right now — I want to know if any of them are drifting or showing early depeg signals, and how severe it looks on a 0–100 crisis scale.

## When to prefer this

Choose this endpoint when you need sub-minute stablecoin peg monitoring across major DEX pools on Ethereum, Base, or Arbitrum and want a structured crisis severity score rather than raw price feeds. Ideal for automated DeFi risk systems, treasury management bots, or alert pipelines that need to catch micro-depegs early. Prefer this over generic price oracles when you specifically need deviation context, novelty scoring, and a human-readable narrative packaged together.

## Known failure modes

- Unsupported chain value returns an error or falls back to ethereum default
- DEX pool data temporarily unavailable may produce stale or incomplete deviation readings
- Rate limiting if polled significantly faster than the recommended 1-minute interval
- Payment failure (402) if x402 USDC balance is insufficient for the $0.01 per-call fee

## How this service works

Returns per-stablecoin price and deviation from peg (USDC, USDT, DAI) with an overall status and anomaly score — poll every minute to catch micro-depegs before they become crises.

## Output

Returns a per-coin breakdown of current price, deviation percentage, and status for each stablecoin (USDC, USDT, DAI); an overall peg status enum (PEG_STABLE / PEG_DRIFT / PEG_WARN / PEG_DEPEG); a sequence_score from 0 (all stable) to 100 (depeg crisis); a novelty rating (low/medium/high/extreme); a drift count; a peak_window array of affected coins; and a human-readable story summary — all for the specified chain.

## 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: ethereum, base, or arbitrum (default: ethereum)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string"
      },
      "coins": {
       "type": "object",
       "description": "Per-stablecoin price, deviation, and status"
      },
      "story": {
       "type": "string"
      },
      "novelty": {
       "enum": [
        "low",
        "medium",
        "high",
        "extreme"
       ],
       "type": "string"
      },
      "drift_count": {
       "type": "integer"
      },
      "peak_window": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "overall_status": {
       "enum": [
        "PEG_STABLE",
        "PEG_DRIFT",
        "PEG_WARN",
        "PEG_DEPEG"
       ],
       "type": "string"
      },
      "sequence_score": {
       "type": "integer",
       "description": "0=all pegs stable, 100=depeg crisis"
      },
      "max_deviation_pct": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "ethereum",
  "coins": {
   "USDC": {
    "price": 0.9965,
    "status": "PEG_DRIFT",
    "deviation_pct": 0.35
   },
   "USDT": {
    "price": 1.0001,
    "status": "PEG_STABLE",
    "deviation_pct": 0.01
   }
  },
  "story": "Single Coin Drift",
  "domain": "depeg",
  "novelty": "medium",
  "drift_count": 1,
  "peak_window": [
   "USDC_DRIFT",
   "PEG_DRIFT",
   "SPREAD_NORMAL",
   "VOLUME_NORMAL"
  ],
  "overall_status": "PEG_DRIFT",
  "sequence_score": 55,
  "max_deviation_pct": 0.35
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-stablecoin-depeg-monitor-af138e2a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anomaly.forgemesh.io](https://www.zero.xyz/host/anomaly.forgemesh.io/llms.txt)
