# Water Monitoring Trailing Mean Series

> Water Monitoring Trailing Mean Series 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-18).

Computes a trailing (rolling) mean series over water monitoring records (litres or cost) grouped by site and date, up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-water-monitoring-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/water-monitoring-trailing-mean-series-84d474b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mqGpfDuoKaRrELlWU6vZK

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 water-monitoring-trailing-mean-series-84d474b2 -d '<json body>'
```

Example prompt: Take my water monitoring records for sites group-a and group-b from October 1–4 and calculate a trailing mean series on the litres field with a window of 3.

## When to prefer this

Choose this endpoint when you need a fast, inexpensive ($0.01 USDC) local rolling mean computation on typed water monitoring records without needing external data enrichment or forecasting. It is ideal for smoothing daily site-level water usage or cost data, detecting trends, or preparing data for downstream analysis — particularly when working with up to 200 timestamped records across multiple sites.

## Known failure modes

- Fewer rows supplied than the window size, producing no complete trailing windows
- Invalid date format (not YYYY-MM-DD) causing schema validation failure
- Null values in the selected field reducing effective window completeness
- Exceeding 200 row limit returns a validation error
- Invalid field enum value (must be 'litres' or 'cost') causes rejection

## How this service works

Water monitoring - Trailing mean series: Trailing mean series for Water monitoring. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded trailing mean series deliverable.

## Output

A series of trailing mean values computed over the specified numeric field (litres or cost), keyed per row, reflecting the rolling average over the chosen window size. Output is bounded to the supplied rows (up to 200) with no external enrichment or forecasting — purely local numeric processing.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/water-monitoring-trailing-mean-series-84d474b2/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)
