# Air Quality Observations — Duplicate Key Report + Category Frequencies

> Air Quality Observations — Duplicate Key Report + Category Frequencies 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-23).

Analyzes up to 200 air quality observation rows to produce a duplicate key report and category frequency distribution for concentration and observation_count fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-10-057?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-observations-duplicate-key-report-category-frequencies-a2a55722
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GfgxI19nO2NRYEMrHdVIL

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-duplicate-key-report-category-frequencies-a2a55722 -d '<json body>'
```

Example prompt: Can you check these air quality observation records for duplicate station-date keys and also give me a frequency breakdown of the categories across concentration and observation_count? I have about 50 rows with fields like row_id, station_group, date, concentration, and observation_count.

## When to prefer this

Choose this endpoint when you need to simultaneously check for duplicate keys AND get category frequency distributions in a single call on air quality observation data (up to 200 rows). It is ideal for lightweight, local data quality audits that do not require live lookups, predictions, or external data enrichment. It is cost-effective at $0.01 USDC for two reports in one call.

## Known failure modes

- Submitting more than 200 rows returns an error or truncates input
- Missing required fields (row_id, station_group, date, concentration, observation_count) cause validation failure
- Malformed date strings not matching YYYY-MM-DD pattern are rejected
- Empty rows array returns an error (minItems: 1)
- Non-numeric values in concentration or observation_count fields cause type validation failure

## How this service works

Air quality observations — Duplicate key report + Category frequencies: Duplicate key report + Category frequencies 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 independent analytical reports: (1) a duplicate key report identifying which row_id, station_group, or date combinations appear more than once across the submitted records, and (2) a category frequency table showing how often each distinct category value appears in the concentration and observation_count fields — all computed locally from the supplied data, 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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/air-quality-observations-duplicate-key-report-category-frequencies-a2a55722/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)
