# Data Freshness — Trailing Mean Series + Keyed Dataset Comparison

> Data Freshness — Trailing Mean Series + Keyed Dataset Comparison is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Computes a trailing mean time series and performs a keyed comparison between two supplied data freshness datasets (age_minutes, record_count) with up to 200 rows each.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-06-153?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/data-freshness-trailing-mean-series-keyed-dataset-comparison-61c09975
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pGDGi68eVqXz8tqjU7cq5

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 data-freshness-trailing-mean-series-keyed-dataset-comparison-61c09975 -d '<json body>'
```

Example prompt: Can you run a trailing mean series analysis and keyed dataset comparison on my data freshness records? I have two sets of rows with age_minutes and record_count fields — the primary dataset and a comparison dataset — and I want to analyze the age_minutes field across both.

## When to prefer this

Choose this endpoint when you need both a trailing mean time series and a keyed comparison between two data freshness datasets in a single API call. It is ideal for data quality monitoring pipelines where you want to track how stale records are over time and compare two snapshots or environments without any external data lookups. It handles up to 200 rows per dataset and covers both reports for a flat $0.01 USDC fee.

## Known failure modes

- Rows array empty or missing — returns validation error
- More than 200 rows submitted — request rejected
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Field value not in enum ['age_minutes','record_count'] — rejected
- Mismatched or missing required row properties — schema error
- Payment not included or insufficient — 402 Payment Required

## How this service works

Data freshness — Trailing mean series + Keyed dataset comparison: Trailing mean series + Keyed dataset comparison for supplied data freshness records (age_minutes, record_count). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two analytical reports computed locally: (1) a trailing mean time series for the selected field (age_minutes or record_count) across the supplied rows, and (2) a keyed dataset comparison report aligning the primary and secondary datasets by row_id and dataset_group, highlighting differences in the chosen metric. No external lookups or predictions are made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "dataset_group",
     "date",
     "age_minutes",
     "record_count"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "age_minutes": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "record_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "dataset_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "age_minutes": 10,
     "record_count": 1,
     "dataset_group": "group-a"
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "age_minutes": 20,
     "record_count": 2,
     "dataset_group": "group-b"
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "age_minutes": 15,
     "record_count": 3,
     "dataset_group": "group-a"
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "age_minutes": 30,
     "record_count": 4,
     "dataset_group": "group-b"
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "age_minutes",
    "record_count"
   ],
   "type": "string",
   "default": "age_minutes"
  },
  "other": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "dataset_group",
     "date",
     "age_minutes",
     "record_count"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "age_minutes": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "record_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "dataset_group": {
      "type": "string",
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-freshness-trailing-mean-series-keyed-dataset-comparison-61c09975/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
