# Air Quality Observations — Duplicate Key Report + Numeric Row Ordering

> Air Quality Observations — Duplicate Key Report + Numeric Row Ordering 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 a duplicate key report and a numeric row ordering report for the concentration or observation_count field.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-10-058?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-duplicate-key-report-numeric-row-ordering-1e418556
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JTdCJPi-hYf8yh4rvFxJo

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-numeric-row-ordering-1e418556 -d '<json body>'
```

Example prompt: Can you run a duplicate key check and sort my air quality observations by concentration? I have about 50 rows with fields: row_id, station_group, date, concentration, and observation_count — I want both reports.

## When to prefer this

Use this endpoint when you have up to 200 air quality observation records and need both a duplicate key detection report and a numeric ordering of rows by a chosen measurement field in a single cheap call. Prefer this over general-purpose data tools when working specifically with air quality data structures (station_group, concentration, observation_count) and you want a bundled two-report output for $0.01 USDC without any live data lookup or external connectivity.

## Known failure modes

- More than 200 rows submitted — request rejected or truncated
- Missing required fields (row_id, station_group, date, concentration, observation_count) cause validation errors
- Invalid date format (not YYYY-MM-DD) triggers schema validation failure
- Non-numeric values in concentration or observation_count fields cause errors
- Empty rows array rejected (minItems: 1)
- Invalid field enum value (not 'concentration' or 'observation_count') causes rejection

## How this service works

Air quality observations — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering 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 reports: (1) a duplicate key report identifying rows that share the same key fields within the supplied dataset, and (2) a numeric row ordering report sorting rows by the selected numeric field (concentration or observation_count). Covers up to 200 input rows per call.

## 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-duplicate-key-report-numeric-row-ordering-1e418556/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)
