# Building Occupancy IQR Outlier Flags

> Building Occupancy IQR Outlier Flags 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-22).

Detects IQR-based statistical outliers in building occupancy data (capacity or occupant counts) across floors and dates, returning outlier flags for up to 200 records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-building-occupancy-outliers?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/building-occupancy-iqr-outlier-flags-5161082c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QNI1ByltMBvwqbvRnA3jh

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 building-occupancy-iqr-outlier-flags-5161082c -d '<json body>'
```

Example prompt: Flag any IQR outliers in my building occupancy data — I have readings for floors group-a and group-b across October 2026, up to 200 rows, and I want to check the occupants field for anomalies.

## When to prefer this

Choose this endpoint when you have building occupancy records (with floor, date, capacity, and occupant counts) and need a quick, local IQR-based statistical outlier flag on up to 200 rows — without needing enrichment, forecasting, or external data. Best for data quality checks, anomaly detection in facilities data, or pre-processing before reporting.

## Known failure modes

- Empty or missing rows array returns validation error
- More than 200 rows submitted exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Missing required fields (row_id, floor, date, capacity, occupants) returns 400
- Invalid field enum value (not 'capacity' or 'occupants') causes rejection
- Payment of 0.01 USDC not included or declined results in 402 response

## How this service works

Building occupancy - IQR outlier flags: IQR outlier flags for Building occupancy. 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 iqr outlier flags report.

## Output

A bounded IQR outlier flags report for up to 200 supplied building occupancy records, indicating which rows fall outside the interquartile range for the selected field (capacity or occupants). The report is purely descriptive/local — no enrichment, forecasting, or external data is used.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/building-occupancy-iqr-outlier-flags-5161082c/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)
