# Company Headcount Observations — Category Frequencies & Keyed Dataset Comparison

> Company Headcount Observations — Category Frequencies & Keyed Dataset Comparison 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).

Analyzes up to 200 company headcount observation records by computing category frequencies and comparing two keyed datasets (rows vs other) across headcount and open_roles fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-12-111?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-category-frequencies-keyed-dataset-3624e9f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__A6G1goXpI4b3T_i13wQt

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-category-frequencies-keyed-dataset-3624e9f8 -d '<json body>'
```

Example prompt: Can you run a category frequency breakdown and a side-by-side comparison of these two sets of company headcount records — the main dataset has 4 rows for group-a and group-b with headcounts 10, 20, 15, 30 and open roles 1, 2, 3, 4, and the comparison dataset has slightly different headcounts of 10, 21, 17, 33 for the same rows and dates from 2026-10-01 to 2026-10-04?

## When to prefer this

Choose this endpoint when you need to simultaneously run both a category frequency distribution analysis and a keyed row-level comparison on company headcount observation data (headcount + open_roles) in a single call. It is ideal for HR analytics, workforce planning, and change-detection workflows where you have two snapshots of headcount data and want both a distributional summary and a record-level diff without making external lookups or predictions. It covers up to 200 rows and costs $0.01 USDC per call, making it cost-effective for batch analytical reporting on supplied data.

## Known failure modes

- Missing required fields (row_id, company_group, date, headcount, open_roles) in any row causes validation failure
- Exceeding 200 rows in either array returns an error
- Invalid date format (non-YYYY-MM-DD) causes schema rejection
- Payment of 0.01 USDC not included or fails x402 protocol results in 402 response
- Empty rows array (minItems:1 violated) returns a validation error

## How this service works

Company headcount observations — Category frequencies + Keyed dataset comparison: Category frequencies + Keyed dataset comparison 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) a category frequency report showing how headcount and open_roles values are distributed across company groups in the primary dataset, and (2) a keyed dataset comparison report that aligns records from the primary and secondary datasets by row_id and surfaces differences in headcount and open_roles values between them.

## 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
  },
  "other": {
   "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"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/company-headcount-observations-category-frequencies-keyed-dataset-3624e9f8/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)
