{
  "x402Version": 2,
  "id": 6441,
  "slug": "6441",
  "resource": "https://anomaly.forgemesh.io/api/depeg-monitor",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xE295B6641b32998537Ae0f8E61Babf729EAEd6E5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 1800
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "chain": "ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "chain": {
                    "description": "Blockchain: ethereum, base, or arbitrum (default: ethereum)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "chain": {
                    "type": "string"
                  },
                  "coins": {
                    "description": "Per-stablecoin price, deviation, and status",
                    "type": "object"
                  },
                  "drift_count": {
                    "type": "integer"
                  },
                  "max_deviation_pct": {
                    "type": "number"
                  },
                  "novelty": {
                    "enum": [
                      "low",
                      "medium",
                      "high",
                      "extreme"
                    ],
                    "type": "string"
                  },
                  "overall_status": {
                    "enum": [
                      "PEG_STABLE",
                      "PEG_DRIFT",
                      "PEG_WARN",
                      "PEG_DEPEG"
                    ],
                    "type": "string"
                  },
                  "peak_window": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "sequence_score": {
                    "description": "0=all pegs stable, 100=depeg crisis",
                    "type": "integer"
                  },
                  "story": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_4ypyymtf"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "eip712",
            "payload": {
              "amount": "10000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0xE295B6641b32998537Ae0f8E61Babf729EAEd6E5",
              "resourceUrl": "https://anomaly.forgemesh.io/api/depeg-monitor",
              "scheme": "exact",
              "validUntil": 1788372526,
              "version": 1
            },
            "signature": "0xf76d7e180b987a84a2e2b1a07c6acce46f8ea2554972deccabe6101e12dd32aa78cc53a95741be8701975d5f8f38908138a23e1f0178a605ecc544d1690a505a1b"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "payload": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "payTo": {
                      "type": "string"
                    },
                    "resourceUrl": {
                      "type": "string"
                    },
                    "scheme": {
                      "type": "string"
                    },
                    "validUntil": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "resourceUrl",
                    "scheme",
                    "network",
                    "asset",
                    "payTo",
                    "amount"
                  ],
                  "type": "object"
                },
                "signature": {
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code",
    "offer-receipt",
    "payment-identifier"
  ],
  "sourceHost": "anomaly.forgemesh.io",
  "lastUpdated": "2026-09-02T18:03:46.418Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-02T18:03:45.509Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "anomaly.forgemesh.io",
    "manifest_name": "anomaly.forgemesh.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}