# CRYPTYX Cross-Window Z-Score Differential Trigger

> CRYPTYX Cross-Window Z-Score Differential Trigger is a paid API for AI agents from cryptyx.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-22).

Fires a trigger signal when the z-score differential between two metrics (e.g. short-window vs long-window realized volatility) crosses a user-defined threshold for a given crypto asset.

## Facts

- Endpoint: GET https://cryptyx.ai/api/triggers/z-differential?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptyx-cross-window-z-score-differential-trigger-d9b1d440
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RKJR-QdJoEZgVJ2VnXf-T

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cryptyx-cross-window-z-score-differential-trigger-d9b1d440
```

Example prompt: Check CRYPTYX for BTC — fire a trigger if the z-score of VOL_RV_7D minus the z-score of VOL_RV_30D is greater than 1.5 over a 14-day horizon.

## When to prefer this

Use this endpoint when you need to detect crossover or divergence events between two CRYPTYX factor metrics at different windows for a specific digital asset — especially for volatility, flow, order book, correlation, or futures factor families. Prefer this over single-metric threshold triggers when the trading signal is fundamentally about the spread or acceleration between short- and long-window z-scores, not an absolute level.

## Known failure modes

- Invalid or unrecognized metric_id returns an error indicating the metric is not tracked
- Unsupported asset symbol results in a 400-level error
- Invalid operator string (not in allowed enum) causes a validation error
- Threshold not a number causes schema validation failure
- Horizon value outside allowed set ('7d','14d','30d') returns an error
- Insufficient historical data for a long-tail asset may result in a null or low-confidence trigger result

## How this service works

Cross-window z-score differential trigger — the generalized crossover primitive. Pass two metric_ids (typically same factor at different windows, e.g. VOL_RV_7D vs VOL_RV_30D) and a threshold. Fires on the delta z(a) − z(b). Same institutional envelope. Applies across every factor family: TR, VOL, FLOW, FUT, OB, CORR. Backtests run over the CRYPTYX 200+ tracked digital assets — BTC, ETH, SOL, top-cap + long-tail coverage.

## Output

Returns whether the trigger fired (true/false) based on whether z(metric_a) − z(metric_b) satisfies the operator and threshold condition for the specified asset and horizon, along with the computed differential value and context metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "asset",
      "metric_a_id",
      "metric_b_id",
      "operator",
      "threshold"
     ],
     "properties": {
      "asset": {
       "type": "string",
       "description": "Asset symbol (uppercased server-side)."
      },
      "horizon": {
       "type": "string",
       "description": "'7d', '14d' (default), or '30d'."
      },
      "operator": {
       "type": "string",
       "description": "One of 'gt', 'lt', 'gte', 'lte', 'abs_gt'."
      },
      "threshold": {
       "type": "number",
       "description": "Threshold on z(a) − z(b). e.g. 1.0 for a one-sigma differential."
      },
      "metric_a_id": {
       "type": "string",
       "description": "First metric ID (short window), e.g. 'VOL_RV_7D'."
      },
      "metric_b_id": {
       "type": "string",
       "description": "Second metric ID (long window), e.g. 'VOL_RV_30D'."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptyx-cross-window-z-score-differential-trigger-d9b1d440/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptyx.ai](https://www.zero.xyz/host/cryptyx.ai/llms.txt)
