# Web Traffic Trailing Mean Series

> Web Traffic 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 time series for web traffic sessions or conversions across up to 200 typed records, grouped by channel and date, with a configurable window size.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-web-traffic-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/web-traffic-trailing-mean-series-81eb9ff9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8acyai_Qjy87nePUlnW2r

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 web-traffic-trailing-mean-series-81eb9ff9 -d '<json body>'
```

Example prompt: Calculate the trailing mean series for my web traffic sessions data — I have 4 rows across two channels (group-a and group-b) from 2026-10-01 to 2026-10-04, and I want a rolling window of 3.

## When to prefer this

Choose this endpoint when you need a local, privacy-safe, no-external-dependency computation of a rolling mean over web traffic time series data (sessions or conversions). It is ideal for smoothing noisy daily web analytics data across multiple channels without sending data to a third-party analytics platform. Prefer it over full analytics suites when you already have structured tabular traffic data and just need the trailing mean calculation applied at low cost ($0.01 USDC per call) for up to 200 records.

## Known failure modes

- Fewer than 1 row supplied returns a validation error
- Window size larger than number of rows produces partial/null results for early rows
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Sessions or conversions values outside ±1,000,000,000,000 rejected
- More than 200 rows supplied exceeds maxItems and is rejected
- Missing required fields (row_id, channel, date) cause validation failure
- Non-numeric sessions/conversions values (unless null) cause type errors

## How this service works

Web traffic - Trailing mean series: Trailing mean series for Web traffic. 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 (rolling) mean series: for each input row, the endpoint computes the average of the target field (sessions or conversions) over the preceding N rows (window), grouped appropriately by sequence. Output includes per-row smoothed values, preserving row_id and channel context, with data-quality indicators for rows where the window is not yet fully populated.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-traffic-trailing-mean-series-81eb9ff9/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)
