# Waste Monitoring Trailing Mean Series

> Waste 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-19).

Computes a trailing (rolling) mean time series for waste monitoring records across collected or recycled kg fields, grouped by material type.

## Facts

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

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 waste-monitoring-trailing-mean-series-386e0aa9 -d '<json body>'
```

Example prompt: Can you compute a trailing mean series with a window of 7 for my waste collection data — I have daily records for materials like 'plastics' and 'paper' with collected_kg values, and I want to smooth the collected_kg field?

## When to prefer this

Choose this endpoint when you have timestamped waste monitoring records (collected or recycled kg by material) and need a local, numerically computed trailing mean series without any external enrichment or forecasting. Ideal for smoothing daily waste collection fluctuations, generating rolling baselines for anomaly detection, or preparing trend-smoothed inputs for sustainability reports. It is bounded to 200 records per call and operates entirely on your supplied data, making it fast and deterministic.

## Known failure modes

- Fewer than 2 records supplied — minimum 1 item required but window must be at least 2
- Window size exceeds number of records — leading rows will have insufficient data for a full window
- Invalid date format — dates must match YYYY-MM-DD pattern
- Field value not in enum — must be 'collected_kg' or 'recycled_kg'
- Numeric values out of bounds — collected_kg or recycled_kg outside ±1,000,000,000,000
- More than 200 rows submitted — exceeds maxItems limit
- Missing required fields row_id, material, date, collected_kg, or recycled_kg on any record

## How this service works

Waste monitoring - Trailing mean series: Trailing mean series for Waste 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

Returns a trailing mean time series for up to 200 waste monitoring records, providing smoothed numeric values for the selected field (collected_kg or recycled_kg) computed over the specified window size, along with data-quality indicators. Results are grouped by material type and ordered by date.

## Request schema (JSON Schema)

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

## More

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