# Stablecoin Depeg Check API

> Stablecoin Depeg Check API is a paid API for AI agents from organiccryptoyyc.com:8443, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Checks whether major stablecoins (USDT, USDC, DAI, FRAX, etc.) have depegged from $1 beyond a configurable deviation threshold, sourcing price data from CoinGecko.

## Facts

- Endpoint: GET https://organiccryptoyyc.com:8443/v1/stablecoin/depeg-check
- Price: $0.01/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-check-api-509c95e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ujB5t3VPcvjoMYSSK7i2m

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-check-api-509c95e8
```

Example prompt: Before we move funds, can you quickly check if USDT, USDC, and DAI are all still holding their peg — flag anything that's drifted more than 0.5% from $1?

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.01 USDC) programmatic check on whether major stablecoins are holding their dollar peg, especially in automated DeFi workflows, pre-trade safety checks, or monitoring pipelines. It covers all major stablecoins in a single call and allows a configurable deviation threshold, making it flexible for both strict and relaxed peg definitions.

## Known failure modes

- CoinGecko API unavailable or rate-limited, causing stale or missing price data
- Invalid stablecoin symbol provided returns error or empty result
- Network timeout connecting to the organiccryptoyyc.com host on port 8443
- Payment failure via x402 protocol blocks the request
- Unsupported symbol silently excluded from results

## How this service works

Real-device, multi-region site verification with screenshot proof, live Pocket Network Shannon relay-demand/tokenomics/validator-security data, and on-chain RPC snapshots across 38 chains -- Ethereum, Solana, BSC, and peaq natively, plus 34 more EVM chains via Pocket Network's free public gateway (Arbitrum, Base, Optimism, Polygon, Avalanche, zkSync, Linea, Scroll, Gnosis, and more) -- 54 metered x402 routes, priced and settled per call in USDC. Migrating to Acurast decentralized cloud compute for censorship-resistant hosting -- stay tuned.

## Output

Returns a JSON object indicating whether any of the queried stablecoins have depegged (anyDepegged boolean), the threshold used for detection, and the data source (CoinGecko). Individual stablecoin statuses are included per the response schema.

## 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": {
      "symbols": {
       "type": "string",
       "description": "Comma-separated stablecoin symbols to check (default: all supported -- usdt,usdc,dai,frax,tusd,usdp,fdusd,pyusd)"
      },
      "thresholdPct": {
       "type": "number",
       "description": "Deviation percent that counts as depegged (default 0.5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "coingecko-stablecoin-depeg",
  "anyDepegged": false,
  "thresholdPct": 0.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-depeg-check-api-509c95e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from organiccryptoyyc.com:8443](https://www.zero.xyz/host/organiccryptoyyc.com%3A8443/llms.txt)
