# Air Quality Observations — Category Frequencies + Daily Sum Series

> Air Quality Observations — Category Frequencies + Daily Sum 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).

Analyzes supplied air quality observation records to produce two reports: category frequency distribution and daily sum time series for concentration or observation_count fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-10-102?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-category-frequencies-daily-sum-series-20a7cce5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IkS4ij_G98QCeM-riIOKe

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-category-frequencies-daily-sum-series-20a7cce5 -d '<json body>'
```

Example prompt: Take these air quality records for station groups alpha and beta from October 2026 — each row has a date, concentration, and observation_count — and give me both the category frequency breakdown and the daily sum series for the concentration field.

## When to prefer this

Choose this endpoint when you have up to 200 rows of air quality observation records and need both a category frequency distribution AND a daily sum time series in a single low-cost call ($0.01 USDC). It is entirely self-contained — ideal when you have your own data and need fast local analytical summaries without any live sensor lookups, external APIs, or prediction services. Prefer it over general analytics tools when you specifically need both reports bundled together for air quality concentration or observation count fields.

## Known failure modes

- More than 200 rows submitted — request rejected, must batch into smaller chunks
- Missing required fields (row_id, station_group, date, concentration, or observation_count) — validation error
- Invalid date format (must match YYYY-MM-DD pattern) — schema validation failure
- Field selector not one of 'concentration' or 'observation_count' — enum validation error
- Empty rows array — rejected due to minItems:1 constraint
- Numeric values outside allowed range (-1e12 to 1e12) — schema validation error

## How this service works

Air quality observations — Category frequencies + Daily sum series: Category frequencies + Daily sum 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 computed locally from the supplied rows: (1) a category frequency table showing how often each concentration or observation_count category appears across the dataset, and (2) a daily sum time series aggregating the chosen field by date — all derived purely from the input data with no external lookups.

## 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/air-quality-observations-category-frequencies-daily-sum-series-20a7cce5/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)
