# Stablecoin Depeg Monitor

> Stablecoin Depeg Monitor is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns real-time peg deviation data for major stablecoins (USDT, USDC, DAI, etc.), flagging any deviations from the $1 peg as exit-risk signals.

## Facts

- Endpoint: GET https://api.x402node.dev/market/stablecoin-depeg
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-depeg-monitor-5a8adc84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YcH-IKR15gff3ri2HXk2E

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-depeg-monitor-5a8adc84
```

Example prompt: Before I move funds, check if USDC, USDT, and DAI are all holding their $1 peg right now — flag anything that's deviating more than usual.

## When to prefer this

Use this endpoint when an AI agent needs to assess whether stablecoins it holds or is about to transact with are maintaining their $1 peg. Ideal before executing DeFi trades, stablecoin swaps, or large transfers involving USDT, USDC, or DAI. Prefer this over general crypto price endpoints because it is purpose-built for depeg detection with explicit risk-flagging logic rather than raw price data alone.

## Known failure modes

- Price feed unavailable — upstream market data source is down, returning 503 or partial data
- Invalid stablecoin symbol provided — returns 400 with error message
- Rate limit exceeded — returns 429 if called too frequently
- Network timeout — real-time feed latency causes delayed or empty response
- Payment not fulfilled — returns 402 if the $0.005 USDC micropayment is not completed

## How this service works

Monitor stablecoin peg deviation from $1 across USDT, USDC, DAI and more, flagging depegs in real time - an exit-risk signal for agents holding stables that LLMs cannot know. stablecoin depeg, peg deviation, usdc depeg, usdt peg, stablecoin monitor, depeg alert Accepts payment on Base or Solana — either network works.

## Output

A structured response containing the current price of each monitored stablecoin, its deviation from the $1 peg (in absolute and/or percentage terms), a depeg flag indicating whether the deviation exceeds a risk threshold, and metadata such as the stablecoin name and symbol. Useful for agents to assess exit risk before transacting with or holding stablecoins.

## Example request

```json
{
 "stablecoins": [
  "USDT",
  "USDC",
  "DAI"
 ],
 "deviation_threshold_percent": 0.5
}
```

## 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": {
      "symbol": {
       "type": "string",
       "description": "Optional single stablecoin (USDT/USDC/DAI/...); omit for all"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-depeg-monitor-5a8adc84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
