81trust / 100

Depeg Monitor

by anomaly.forgemesh.io in Other

x402 APIPassing, checked 53 min ago

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.

GET https://anomaly.forgemesh.io/api/depeg-monitor

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
149 ms typical, 149 ms slowest 5%
Last check
53 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://anomaly.forgemesh.io/api/depeg-monitor?chain=ethereum"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fanomaly.forgemesh.io%2Fapi%2Fdepeg-monitor
const res = await pay("https://anomaly.forgemesh.io/api/depeg-monitor?chain=ethereum");
console.log(await res.json());

Example input

{
  "chain": "ethereum"
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
53 min agoPassed402408 ms$0.01
6 h agoPassed402149 ms$0.01