# Building Occupancy Category Frequencies

> Building Occupancy 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-19).

Computes category frequency counts for building occupancy records grouped by floor or other categorical dimensions, given up to 200 typed rows of occupancy data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-building-occupancy-category-counts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/building-occupancy-category-frequencies-e0484b2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ToUEic0aslhC1wbcGlbG5

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-category-frequencies-e0484b2b -d '<json body>'
```

Example prompt: Can you run a category frequency report on this building occupancy dataset? I have 4 records — floor group-a on 2026-10-01 with capacity 10 and 1 occupant (row-1), floor group-b on 2026-10-02 with capacity 20 and 2 occupants (row-2), floor group-a on 2026-10-03 with capacity 15 and 3 occupants (row-3), and floor group-b on 2026-10-04 with capacity 30 and 4 occupants (row-4).

## When to prefer this

Choose this endpoint when you need a quick, local descriptive frequency count of categorical building occupancy data (e.g. how many records per floor) without any enrichment, forecasting, or external lookups. It is ideal for data quality checks, preliminary EDA on occupancy logs, or summarizing up to 200 records at very low cost ($0.01 USDC). Prefer alternatives if you need time-series forecasting, anomaly detection, or more than 200 records processed in a single call.

## Known failure modes

- Fewer than 1 row submitted — minItems:1 violation returns validation error
- More than 200 rows submitted — maxItems:200 violation returns validation error
- Missing required fields (row_id, floor, date, capacity, occupants) on any row causes schema rejection
- Date field not matching YYYY-MM-DD pattern causes validation failure
- row_id field empty or missing causes minLength:1 violation
- String fields exceeding 80 characters for floor or row_id cause rejection

## How this service works

Building occupancy - Category frequencies: Category frequencies 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 category frequencies report.

## Output

A bounded category frequencies report showing how often each distinct category value (e.g. floor name) appears across the supplied occupancy records. The output is a local descriptive analytics result with no enrichment, forecasting, or external data — purely counts derived from the submitted rows.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/building-occupancy-category-frequencies-e0484b2b/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)
