# Company Headcount Observations — Adjacent Row Changes + Date by Category Pivot

> Company Headcount Observations — Adjacent Row Changes + Date by Category Pivot 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).

Runs two analytical reports on supplied company headcount data: adjacent row change detection and a date-by-category pivot table, for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-12-160?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/company-headcount-observations-adjacent-row-changes-date-by-category-fd58b033
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zOsfhR9VN4XPKnY7qGC22

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 company-headcount-observations-adjacent-row-changes-date-by-category-fd58b033 -d '<json body>'
```

Example prompt: I have headcount records for two company groups — group-a and group-b — with dates and open_roles counts from October 1–4 2026. Can you run adjacent row change detection and a date-by-category pivot on the headcount field for those 200 rows?

## When to prefer this

Use this endpoint when you have pre-collected company headcount or open_roles observation records and need two specific analytical views — sequential row-to-row changes and a date-by-category pivot — without needing live data lookup, prediction, or external enrichment. It is cost-effective at $0.01 USDC for both reports simultaneously, ideal for batch post-processing of HR or workforce snapshots.

## Known failure modes

- Missing required fields (row_id, company_group, date, headcount, open_roles) cause validation errors
- Date values not matching YYYY-MM-DD pattern are rejected
- Submitting more than 200 rows exceeds the row limit
- Empty rows array is rejected (minimum 1 row required)
- Invalid field enum value (only 'headcount' or 'open_roles' accepted)
- Null numeric values may produce gaps or skipped deltas in the change report

## How this service works

Company headcount observations — Adjacent row changes + Date by category pivot: Adjacent row changes + Date by category pivot for supplied company headcount observations records (headcount, open_roles). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two analytical reports: (1) adjacent row changes showing the delta in the selected field (headcount or open_roles) between consecutive records, and (2) a date-by-category pivot table that cross-tabulates the selected field values by date and company_group. Both reports are computed locally on the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/company-headcount-observations-adjacent-row-changes-date-by-category-fd58b033/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)
