# Cryptyx Single-Metric Z-Score Backtest (Slicer)

> Cryptyx Single-Metric Z-Score Backtest (Slicer) is a paid API for AI agents from www.cryptyx.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-12).

Backtests a single crypto metric's standalone predictive edge using z-score thresholds, returning hit rate, mean forward return, trigger count, and per-asset breakdown.

## Facts

- Endpoint: POST https://www.cryptyx.ai/api/metrics/slicer?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptyx-single-metric-z-score-backtest-slicer-d901563e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LaK0lWgyhLN_madtAQhTb

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-single-metric-z-score-backtest-slicer-d901563e -d '<json body>'
```

Example prompt: Run a backtest on Cryptyx for metric 'on_chain_nv_ratio' on BTC using a z-score greater than 1.5 — what's the hit rate and mean forward return?

## When to prefer this

Use this endpoint when you want to quickly validate a single metric's standalone predictive power before building a composite model. It is ideal for signal discovery, factor screening, and hypothesis testing on individual crypto metrics with a configurable z-score threshold and operator. Prefer this over the multi-factor intersection backtest when isolating one signal's edge in isolation, and prefer it over the top-signals leaderboard when you have a specific metric ID in mind and want granular per-asset performance detail.

## Known failure modes

- Invalid metric_id returns an error or empty result
- Unsupported operator string causes a 400 or validation error
- Asset symbol not found in universe returns empty by_asset array
- Z-score threshold outside meaningful range may yield zero triggers
- Payment not processed (x402) results in 402 response blocking the call
- Network timeout for heavy historical computations

## Output

Returns an overall hit rate (fraction of triggers where forward return was positive), mean forward return, total trigger count, and a per-asset array showing each asset's individual hit rate — all computed over 5+ years of historical fact data for the given metric, operator, and z-score threshold.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "metric_id",
      "asset",
      "operator",
      "threshold"
     ],
     "properties": {
      "asset": {
       "type": "string",
       "description": "Asset symbol (case-insensitive, uppercased server-side). Example: BTC, ETH, SOL."
      },
      "operator": {
       "type": "string",
       "description": "Trigger comparator vs threshold: gt, lt, gte, lte, or abs_gt."
      },
      "metric_id": {
       "type": "string",
       "description": "Metric ID from the 440+ catalog (case-insensitive, uppercased server-side). Example: TR_MOMO_CONT_14D, VOL_COMPRESSION_7v30, FLOW_VWAP_DEV_7D."
      },
      "threshold": {
       "type": "number",
       "description": "Z-score threshold against fact_stats 365-day window. Example: 2.0 for >2 sigma."
      },
      "cooldown_days": {
       "type": "number",
       "description": "Optional. Integer 0-365, default 7. Suppresses repeat triggers within N days of the last accepted trigger."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "application/json",
 "example": {
  "by_asset": [
   {
    "asset": "BTC",
    "hit_rate": 0.62
   }
  ],
  "hit_rate": 0.58,
  "n_triggers": 156,
  "mean_fwd_return": 0.034
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptyx-single-metric-z-score-backtest-slicer-d901563e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.cryptyx.ai](https://www.zero.xyz/host/www.cryptyx.ai/llms.txt)
