# Elevation Samples — Trailing Mean Series + Date by Category Pivot

> Elevation Samples — Trailing Mean Series + Date by Category Pivot is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Computes a trailing mean time series and a date-by-category pivot table from supplied elevation sample records (elevation_m, sample_weight) for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-13-152?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/elevation-samples-trailing-mean-series-date-by-category-pivot-dd2d8db9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xu3ebyBHdJ7QmEgs62cX2

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 elevation-samples-trailing-mean-series-date-by-category-pivot-dd2d8db9 -d '<json body>'
```

Example prompt: I have 4 elevation sample records — row-1 on 2026-10-01 at 10m (weight 1, group-a), row-2 on 2026-10-02 at 20m (weight 2, group-b), row-3 on 2026-10-03 at 15m (weight 3, group-a), row-4 on 2026-10-04 at 30m (weight 4, group-b) — can you run a trailing mean series with a window of 2 on the elevation_m field and also give me a date-by-category pivot table for those rows?

## When to prefer this

Choose this endpoint when you have elevation or sample-weight time-series data organized by station group and date and need both a rolling/trailing mean smoothing report and a date-by-category pivot summary in a single call. It is ideal for offline analytical batch processing of up to 200 rows without requiring external data sources, live lookups, or predictions. Not suitable for real-time elevation lookups, geolocation queries, or datasets exceeding 200 rows.

## Known failure modes

- Fewer than 1 or more than 200 rows submitted — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Window size smaller than 2 or larger than 200 — rejected input
- Missing required fields (row_id, station_group, date, elevation_m, sample_weight) — schema error
- Non-numeric values in elevation_m or sample_weight fields — type error
- Payment of 0.01 USDC not provided or rejected — 402 Payment Required

## How this service works

Elevation samples — Trailing mean series + Date by category pivot: Trailing mean series + Date by category pivot for supplied elevation samples records (elevation_m, sample_weight). 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: (1) a trailing mean time series computed over the specified numeric field (elevation_m or sample_weight) using the given window size, and (2) a date-by-category pivot table cross-tabulating values by date and station_group. Both reports are derived entirely from the supplied input rows with no external data lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/elevation-samples-trailing-mean-series-date-by-category-pivot-dd2d8db9/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)
