# Air Quality Observations — Numeric Row Ordering + Trailing Mean Series

> Air Quality Observations — Numeric Row Ordering + 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-24).

Computes numeric row ordering and trailing mean series for up to 200 air quality observation records (concentration or observation_count fields).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-10-115?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-observations-numeric-row-ordering-trailing-mean-series-22381e3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Emd7tkoomfct7KDv10Y6

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 air-quality-observations-numeric-row-ordering-trailing-mean-series-22381e3f -d '<json body>'
```

Example prompt: I have 50 air quality observation records with concentration values from stations grouped by region — can you rank the rows numerically and compute a trailing mean series with a window of 5 for the concentration field?

## When to prefer this

Choose this endpoint when you need both numeric row ranking and rolling/trailing mean smoothing applied to air quality observation data (concentration or observation_count) in a single call, without requiring live data lookup or external connectivity. Ideal for offline batch analysis of up to 200 pre-collected environmental sensor records.

## Known failure modes

- More than 200 rows submitted — request rejected or truncated
- Invalid date format (not YYYY-MM-DD) causes row rejection
- Window size larger than number of rows may produce sparse or empty trailing mean output
- Missing required fields (row_id, station_group, date, concentration, observation_count) causes validation error
- Null numeric values in the target field may produce incomplete trailing mean results

## How this service works

Air quality observations — Numeric row ordering + Trailing mean series: Numeric row ordering + Trailing mean series for supplied air quality observations records (concentration, observation_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 for the supplied air quality data: (1) a numeric row ordering ranking each record, and (2) a trailing mean series computed over the specified window for the chosen field (concentration or observation_count), covering up to 200 rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/air-quality-observations-numeric-row-ordering-trailing-mean-series-22381e3f/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)
