{
  "x402Version": 2,
  "id": 29774,
  "slug": "29774",
  "resource": "https://cryptyx.ai/api/triggers/z-score",
  "description": "Single-metric z-score threshold trigger — pass any metric_id, operator (gt/lt/gte/lte/abs_gt), and threshold. Returns the same institutional envelope as the presets: 5-year backtest, Sortino, MDD, profit factor, walk-forward, regime context. Applies to any of 440+ metrics across 8 factor classes. Backtests run over the CRYPTYX 200+ tracked digital assets — BTC, ETH, SOL, top-cap + long-tail coverage.",
  "type": "http",
  "serviceName": "CRYPTYX",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1782859544/bazaar-icons/76d43c1a7d77f1ea.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0cD2c9724F185a029101b4AEACf3F114415c394f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "asset": "",
            "horizon": "",
            "metric_id": "",
            "operator": "",
            "threshold": 0
          },
          "type": "http"
        },
        "output": {
          "example": {
            "_cache": {
              "hit": false
            },
            "backtest_evidence": {
              "hit_rate": 0.579,
              "max_drawdown": -0.748,
              "profit_factor": 2.14,
              "sample_size": 188,
              "sharpe_ratio": 0.29,
              "sortino_ratio": 0.52
            },
            "ok": true,
            "trigger": {
              "asof_day": "2026-07-10",
              "asset": "BTC",
              "confidence": 0,
              "expression": {
                "metric_id": "TR_ROC_7D",
                "operator": "abs_gt",
                "threshold": 1.5,
                "type": "z_score"
              },
              "fires_now": false,
              "horizon": "14d"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "asset": {
                    "description": "Asset symbol (uppercased server-side).",
                    "type": "string"
                  },
                  "horizon": {
                    "description": "'7d', '14d' (default), or '30d'.",
                    "type": "string"
                  },
                  "metric_id": {
                    "description": "Metric ID from the catalog, e.g. 'TR_ROC_7D', 'VOL_RV_30D', 'FLOW_TAKER_BS_RATIO_MA_7D'.",
                    "type": "string"
                  },
                  "operator": {
                    "description": "One of 'gt', 'lt', 'gte', 'lte', 'abs_gt'.",
                    "type": "string"
                  },
                  "threshold": {
                    "description": "Z-score threshold. e.g. 1.5 for a two-sigma trigger with abs_gt.",
                    "type": "number"
                  }
                },
                "required": [
                  "asset",
                  "metric_id",
                  "operator",
                  "threshold"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "crypto",
    "trading",
    "signals",
    "intelligence",
    "agents",
    "bazaar"
  ],
  "sourceHost": "cryptyx.ai",
  "lastUpdated": "2026-10-04T00:21:33.58Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-04T00:21:33.409Z"
  },
  "metadata": {
    "serviceName": "CRYPTYX",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1782859544/bazaar-icons/76d43c1a7d77f1ea.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "asset": "",
              "horizon": "",
              "metric_id": "",
              "operator": "",
              "threshold": 0
            },
            "type": "http"
          },
          "output": {
            "example": {
              "_cache": {
                "hit": false
              },
              "backtest_evidence": {
                "hit_rate": 0.579,
                "max_drawdown": -0.748,
                "profit_factor": 2.14,
                "sample_size": 188,
                "sharpe_ratio": 0.29,
                "sortino_ratio": 0.52
              },
              "ok": true,
              "trigger": {
                "asof_day": "2026-07-10",
                "asset": "BTC",
                "confidence": 0,
                "expression": {
                  "metric_id": "TR_ROC_7D",
                  "operator": "abs_gt",
                  "threshold": 1.5,
                  "type": "z_score"
                },
                "fires_now": false,
                "horizon": "14d"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "asset": {
                      "description": "Asset symbol (uppercased server-side).",
                      "type": "string"
                    },
                    "horizon": {
                      "description": "'7d', '14d' (default), or '30d'.",
                      "type": "string"
                    },
                    "metric_id": {
                      "description": "Metric ID from the catalog, e.g. 'TR_ROC_7D', 'VOL_RV_30D', 'FLOW_TAKER_BS_RATIO_MA_7D'.",
                      "type": "string"
                    },
                    "operator": {
                      "description": "One of 'gt', 'lt', 'gte', 'lte', 'abs_gt'.",
                      "type": "string"
                    },
                    "threshold": {
                      "description": "Z-score threshold. e.g. 1.5 for a two-sigma trigger with abs_gt.",
                      "type": "number"
                    }
                  },
                  "required": [
                    "asset",
                    "metric_id",
                    "operator",
                    "threshold"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "cryptyx.ai",
    "manifest_name": "cryptyx.ai",
    "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": {
    "_cache": {
      "hit": false
    },
    "backtest_evidence": {
      "hit_rate": 0.579,
      "max_drawdown": -0.748,
      "profit_factor": 2.14,
      "sample_size": 188,
      "sharpe_ratio": 0.29,
      "sortino_ratio": 0.52
    },
    "ok": true,
    "trigger": {
      "asof_day": "2026-07-10",
      "asset": "BTC",
      "confidence": 0,
      "expression": {
        "metric_id": "TR_ROC_7D",
        "operator": "abs_gt",
        "threshold": 1.5,
        "type": "z_score"
      },
      "fires_now": false,
      "horizon": "14d"
    }
  }
}