# Air Quality Observations – Numeric Distribution

> Air Quality Observations – Numeric Distribution 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-27).

Computes a bounded numeric distribution report (histogram/frequency breakdown) for a selected field (PM2.5 or humidity) across up to 200 air quality observation records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-air-quality-observations-describe?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-observations-numeric-distribution-de995e37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c-3M8Vd7c5KdAK5HIKVGa

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-distribution-de995e37 -d '<json body>'
```

Example prompt: Can you run a numeric distribution analysis on my air quality observations? I have about 50 records with station names, dates, PM2.5 readings, and humidity percentages — analyze the pm25 field and show me how the values are distributed.

## When to prefer this

Choose this endpoint when you need fast, local descriptive analytics on a batch of air quality observations — specifically to understand the numeric distribution (frequency, spread, bins) of PM2.5 or humidity readings without requiring external data enrichment or forecasting. Ideal for compliance summaries, sensor audits, or exploratory data analysis on up to 200 records at very low cost ($0.01 USDC).

## Known failure modes

- Empty or missing rows array returns an error
- Row count exceeding 200 items rejected
- Invalid date format (not YYYY-MM-DD) causes validation failure
- Unknown field value outside allowed enum (pm25, humidity_percent) rejected
- Null values in the selected numeric field may affect distribution completeness
- Malformed row objects missing required properties (row_id, station, date) cause schema validation errors

## How this service works

Air quality observations - Numeric distribution: Numeric distribution 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 distribution report.

## Output

Returns a bounded numeric distribution report for the selected field (pm25 or humidity_percent), including frequency bins, counts, and descriptive statistics derived locally from the supplied records — no external enrichment or forecasting.

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

## More

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