# Building Occupancy Adjacent Row Changes

> Building Occupancy Adjacent Row Changes 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 adjacent row-to-row changes in building occupancy metrics (capacity or occupants) across up to 200 dated floor records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-building-occupancy-period-change?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-adjacent-row-changes-9dc55616
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__bZKkUCZEgVi9IO86dwxa

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-adjacent-row-changes-9dc55616 -d '<json body>'
```

Example prompt: Can you calculate the adjacent row changes in occupant counts across these building floors? I have records for floors group-a and group-b from October 1–4 with capacities of 10, 20, 15, and 30 and occupant counts of 1, 2, 3, and 4 — I want to see how the occupants field shifted between each consecutive row.

## When to prefer this

Choose this endpoint when you have tabular building occupancy records and need fast, local row-by-row delta computation on capacity or occupancy figures without needing forecasting, enrichment, or cross-dataset joins. Ideal for facility managers, workspace analysts, or agents processing sequential daily or periodic building data in bounded batches of up to 200 rows.

## Known failure modes

- Missing required fields (row_id, floor, date, capacity, occupants) cause validation errors
- Date values not matching YYYY-MM-DD format are rejected
- Submitting more than 200 rows exceeds the maxItems limit and fails
- Empty rows array (minItems: 1 not met) returns an error
- Invalid field enum value (not 'capacity' or 'occupants') causes rejection
- Payment failure or insufficient USDC balance blocks the call

## How this service works

Building occupancy - Adjacent row changes: Adjacent row changes 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 adjacent row changes report.

## Output

Returns a bounded descriptive analytics report showing the change in the selected field (capacity or occupants) between each adjacent row in the submitted dataset, limited to up to 200 records per call. Includes row-by-row delta values for the specified metric without forecasting or external enrichment.

## 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-adjacent-row-changes-9dc55616/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)
