# CRYPTYX Z-Score Threshold Trigger Backtest

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

Runs a 5-year backtest for a single-metric z-score threshold trigger on any of 440+ metrics across 200+ crypto assets, returning Sortino, max drawdown, profit factor, walk-forward validation, and regime context.

## Facts

- Endpoint: GET https://cryptyx.ai/api/triggers/z-score?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptyx-z-score-threshold-trigger-backtest-685d8d83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wkwxD2rX8Xf11mZKaE8no

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-z-score-threshold-trigger-backtest-685d8d83
```

Example prompt: Run a CRYPTYX z-score backtest on BTC using the TR_ROC_7D metric with an 'abs_gt' operator and a threshold of 1.5, over a 14-day horizon — I want to see the Sortino, max drawdown, and profit factor.

## When to prefer this

Use this endpoint when you need to validate a single-metric z-score signal hypothesis against a specific crypto asset with full statistical rigor — Sortino, MDD, profit factor, and walk-forward — before committing capital or building a multi-factor strategy. Prefer this over the multi-factor confluence endpoint when isolating the marginal contribution of one metric, and over the presets when you need to specify an arbitrary metric from the 440+ catalog rather than a curated bundle.

## Known failure modes

- Invalid metric_id not in the 440+ catalog returns an error or empty result
- Unsupported asset symbol returns a 404 or empty asset error
- Invalid operator value outside gt/lt/gte/lte/abs_gt causes a validation error
- Threshold value outside statistically meaningful range may produce zero triggers and empty backtest
- Invalid horizon string (not 7d/14d/30d) defaults to 14d or returns a parameter error
- Payment not included or insufficient USDC balance returns a 402 Payment Required

## How this service works

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.

## Output

Returns an institutional-grade envelope including: 5-year backtest performance stats (trigger count, trigger rate, per-horizon returns), Sortino ratio, maximum drawdown, profit factor, walk-forward validation results, and market regime context for the specified asset and metric threshold combination.

## 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_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'."
      },
      "metric_id": {
       "type": "string",
       "description": "Metric ID from the catalog, e.g. 'TR_ROC_7D', 'VOL_RV_30D', 'FLOW_TAKER_BS_RATIO_MA_7D'."
      },
      "threshold": {
       "type": "number",
       "description": "Z-score threshold. e.g. 1.5 for a two-sigma trigger with abs_gt."
      }
     }
    }
   },
   "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-z-score-threshold-trigger-backtest-685d8d83/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)
