# Cryptyx Metrics Preview — 90-Day Z-Score Timeseries

> Cryptyx Metrics Preview — 90-Day Z-Score Timeseries is a paid API for AI agents from cryptyx.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns a 90-day z-score and percentile timeseries for a single (metric_id, asset) pair, suitable for sparklines, chart tooltips, and rapid metric screening.

## Facts

- Endpoint: GET https://cryptyx.ai/api/metrics/preview
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptyx-metrics-preview-90-day-z-score-timeseries-6ae1ed31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g0BVuoYyE2_k9g0qnMtqE

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-metrics-preview-90-day-z-score-timeseries-6ae1ed31
```

Example prompt: Pull the 90-day z-score and percentile timeseries for the TR_MOMO_CONT_14D metric on BTC so I can see how statistically extreme that momentum signal has been each day.

## When to prefer this

Use this endpoint when you need a cheap ($0.01), lightweight z-score and percentile timeseries for a single metric-asset pair — ideal for rendering sparklines, chart tooltips, or doing rapid metric screening before committing to a full /metrics/slicer backtest. Prefer this over the full slicer when you only need normalized historical context for one metric on one asset and don't need backtest performance statistics.

## Known failure modes

- Unknown metric_id returns 404 or empty result — caller must validate metric_id against the catalog first
- Invalid or unrecognized asset symbol returns error — symbol is uppercased server-side but must be a supported asset
- Days parameter out of range (below 7 or above 365) may return validation error
- Insufficient payment or missing x402 payment header results in 402 Payment Required
- Network timeout if the upstream metric computation is slow

## How this service works

Lightweight 90-day z-score timeseries for one (metric_id, asset). Returns asof_day + z + percentile per day. Cheap primitive for chart tooltips, sparklines, or rapid metric due-diligence before committing to a full /metrics/slicer backtest at $0.05. Coverage: pass any asset in the CRYPTYX 200+ tracked universe (BTC, ETH, SOL, top-cap + long-tail).

## Output

An array of daily records each containing asof_day (date), z (z-score relative to trailing distribution), and percentile (0-100 rank within the lookback window), covering up to 90 days for the requested metric_id and asset pair.

## 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": [
      "metric_id",
      "asset"
     ],
     "properties": {
      "days": {
       "type": "number",
       "description": "Lookback window (7-365, default 90)"
      },
      "asset": {
       "type": "string",
       "description": "Asset symbol (uppercased server-side)"
      },
      "metric_id": {
       "type": "string",
       "description": "Metric ID from the catalog (e.g. TR_MOMO_CONT_14D)"
      }
     }
    }
   },
   "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-metrics-preview-90-day-z-score-timeseries-6ae1ed31/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)
