# Air Quality Observations – Numeric Interval Filter

> Air Quality Observations – Numeric Interval Filter 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-20).

Filters air quality observation records (PM2.5 and humidity) to only those rows whose chosen numeric field falls within a specified min–max interval, returning local descriptive analytics on the matched subset.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-air-quality-observations-range-filter?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-observations-numeric-interval-filter-6954246f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t1pD-eHJR53xPRDSsViRb

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-interval-filter-6954246f -d '<json body>'
```

Example prompt: Filter these air quality observations to only show records where PM2.5 is between 10 and 50 — here are up to 200 rows with station name, date, PM2.5, and humidity.

## When to prefer this

Choose this endpoint when you have up to 200 air quality observation records and need to quickly subset them by a numeric range on either PM2.5 or humidity, receiving back a filtered view with local descriptive statistics. It is purpose-built for environmental/air quality data with a specific schema, so prefer it over generic data-filtering tools when your records include station, date, PM2.5, and humidity fields. Not suitable for forecasting, enrichment, or datasets larger than 200 rows.

## Known failure modes

- No rows match the specified numeric interval — empty result set returned
- Invalid date format in rows (must be YYYY-MM-DD) — validation error
- More than 200 rows submitted — exceeds maxItems limit
- Minimum value greater than maximum value — logically invalid interval
- Required fields (row_id, station, date, pm25, humidity_percent) missing from one or more rows — schema validation failure
- Field enum value not recognized — must be 'pm25' or 'humidity_percent'

## How this service works

Air quality observations - Numeric interval filter: Numeric interval filter for Air quality observations. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded numeric interval filter report.

## Output

A report containing the subset of submitted air quality observation rows whose selected numeric field (PM2.5 or humidity_percent) falls within the specified minimum and maximum bounds, along with local descriptive analytics (e.g. counts, summary stats) on the matched records. No external enrichment or forecasting is included.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/air-quality-observations-numeric-interval-filter-6954246f/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)
