{
  "x402Version": 2,
  "id": 32573,
  "slug": "32573",
  "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",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xE295B6641b32998537Ae0f8E61Babf729EAEd6E5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 1800
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "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": 1791493313,
              "version": 1
            },
            "signature": "0x76a62ecbfda08ed08f5ec0e1412c78492fa44f635678986fb5fc26159be02b5b253796815ff46c120f3abeca89bdb7285b15c108fe0f94676b4d2663fb7d1be71c"
          }
        ]
      },
      "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-10-08T20:56:53.629Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T20:56:53.139Z"
  },
  "metadata": {
    "extensions": {
      "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": 1791493313,
                "version": 1
              },
              "signature": "0x76a62ecbfda08ed08f5ec0e1412c78492fa44f635678986fb5fc26159be02b5b253796815ff46c120f3abeca89bdb7285b15c108fe0f94676b4d2663fb7d1be71c"
            }
          ]
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "chain": "string",
      "coins": {},
      "drift_count": 0,
      "max_deviation_pct": 0,
      "novelty": "low",
      "overall_status": "PEG_STABLE",
      "peak_window": [
        "string"
      ],
      "sequence_score": 0,
      "story": "string"
    },
    "type": "string"
  }
}