Skip to content

Stablecoin depeg watch

$0.005 per callUSDC via x402GET /api/stablecoin-depeg-watch

Every USD stablecoin above a market-cap floor in one call, flagged ones first: deviation from $1 now in basis points, the worst deviation over 24 hours and over 7 days, an on-peg / stressed / depegged status (within 50 bps, within 200 bps, beyond), each coin's share of the watched market cap, and how much of that cap sits on peg. Send GET /api/stablecoin-depeg-watch with no required fields (3 optional) and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, peg, minMarketCapUsd and 13 more.

A coin counts as USD-pegged when its 7-day median price is within 2% of $1; the rest of the category (other currencies, value-accruing tokens, pegs lost more than a week ago) is listed separately with its distance from $1, never dropped silently. The whole-market sibling of stablecoin-peg, which checks a named list. Deterministic code over market data; refreshed every 15 minutes. Data provided by CoinGecko (https://www.coingecko.com/en/api).

Category: Crypto & onchain dataTags: crypto stablecoin depeg peg risk monitoring usdt usdcAlso found as: depeg-monitor stablecoin-depeg stablecoin-risk-watch

Try in playground →

Parameters

NameTypeRequiredDescription
minMarketCapUsdnumbernoWatch stablecoins at or above this market cap in USD (default 100000000, minimum 1000000).
thresholdBpsnumbernoFlag a coin whose deviation now, over 24 hours or over 7 days reaches this many basis points (default 50, 1-5000).
limitnumbernoCoins returned, 1-100 (default 25).

Example request

curl -i "https://agent402.tools/api/stablecoin-depeg-watch?minMarketCapUsd=100000000"

Without payment this returns HTTP 402 Payment Required with the exact price for stablecoin-depeg-watch; any x402 v2 or MPP client pays it and retries.

Example response

{
  "source": "coingecko",
  "fetchedAt": "2026-11-16T12:00:00.000Z",
  "cached": false,
  "peg": "USD $1.00",
  "minMarketCapUsd": 100000000,
  "thresholdBps": 50,
  "screened": 38,
  "assessed": 33,
  "flaggedCount": 1,
  "returned": 2,
  "matched": 33,
  "complete": false,
  "truncated": true,
  "onPegMarketCapSharePct": 99.41,
  "worstNow": {
    "symbol": "XUSD",
    "deviationBps": -92.1
  },
  "coins": [
    {
      "rank": 1,
      "id": "example-usd",
      "symbol": "XUSD",
      "name": "Example USD",
      "deviationBps": -92.1,
      "maxDeviation24hBps": 117.2,
      "maxDeviation7dBps": 131.5,
      "marketCapSharePct": 0.07,
      "status": "stressed",
      "flags": [
        "off-peg-now",
        "off-peg-24h",
        "off-peg-7d"
      ]
    },
    {
      "rank": 2,
      "id": "tether",
      "symbol": "USDT",
      "name": "Tether",
      "deviationBps": -6.49,
      "maxDeviation24hBps": 9.1,
      "maxDeviation7dBps": 14.3,
      "marketCapSharePct": 61.2,
      "status": "on-peg",
      "flags": []
    }
  ],
  "notAssessed": {
    "count": 5,
    "reason": "7-day median price is more than 2% from $1: another currency's peg, a value-accruing token, or a peg lost more than a week ago",
    "coins": [
      {
        "id": "example-euro",
        "symbol": "XEUR",
        "distanceFromUsdPct": 9.9
      }
    ]
  },
  "credit": "Data provided by CoinGecko (https://www.coingecko.com/en/api)."
}
FieldTypeAlways presentIn the example
sourcestringyescoingecko
fetchedAtstringyes2026-11-16T12:00:00.000Z
cachedbooleanyesfalse
pegstringyesUSD $1.00
minMarketCapUsdnumberyes100000000
thresholdBpsnumberyes50
screenednumberyes38
assessednumberyes33
flaggedCountnumberyes1
returnednumberyes2
matchednumberyes33
completebooleanyesfalse
truncatedbooleanyestrue
onPegMarketCapSharePctnumberyes99.41
worstNowobjectyes2 fields: symbol, deviationBps
coinsarray of objectsyes2 items in the example
notAssessedobjectyes3 fields: count, reason, coins
creditstringyesData provided by CoinGecko (https://www.coingecko.com/en/api).

From an MCP client

catalog.call {
  "slug": "stablecoin-depeg-watch",
  "params": {
    "minMarketCapUsd": 100000000
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for stablecoin-depeg-watch; the stdio package pays it from a wallet or from an AGENT402_CREDITS_KEY issued earlier. Local install: npx -y agent402-mcp@0.13.32.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.({ maxAmountPerPayment: "$0.005" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/stablecoin-depeg-watch?minMarketCapUsd=100000000");

Related tools

Stablecoin peg monitor

$0.003GET /api/stablecoin-peg

Live $1-peg deviation for the top USD stablecoins (USDT, USDC, USDS, DAI, USDe, PYUSD, USDD, TUSD, FDUSD by default.

DeFi token screener

$0.005GET /api/defi-screener

Screen the DeFi category's 250 largest tokens with computed columns: share of the category's market cap, turnover (24h.

Funding rate screener across venues

$0.005GET /api/funding-screener

Perpetual funding for one coin across every listed derivatives venue, computed in one call: open-interest-weighted.

Perp funding screener

$0.002POST /api/perp-funding-screener

Rank perpetuals by funding rate: the N most positive (longs pay shorts) and N most negative (shorts pay longs) markets.

Token balances (named contracts)

$0.002POST /api/token-balances

ERC-20 balances of one wallet for a NAMED list of token contracts (1-20) - the targeted complement to the full-portfolio.

Known-address label lookup

FREE w/ computeor $0.002POST /api/address-label

Label a known EVM address from a curated, committed dataset: major stablecoin + token contracts (the USDC and USDG.