# Company Headcount Observations — Grouped Summary & Weighted Mean

> Company Headcount Observations — Grouped Summary & Weighted Mean 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 a grouped numeric summary and a secondary-measure weighted mean for up to 200 company headcount observation records (headcount, open_roles) using local analytical engines.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-12-096?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-grouped-summary-weighted-mean-47798873
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iLlhD1xyghntA4-zfQ1xF

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-grouped-summary-weighted-mean-47798873 -d '<json body>'
```

Example prompt: Can you run a grouped numeric summary and a weighted mean of open_roles (weighted by headcount) on these company headcount records — I have 4 rows for group-a and group-b across October 2026?

## When to prefer this

Choose this endpoint when you have a dataset of company headcount observations (up to 200 rows) and need both a grouped numeric summary and a weighted mean in a single paid call, without any external data lookups or predictions. Ideal for HR analytics, workforce reporting, and investor summaries where you supply your own data and want two local statistical reports bundled at low cost ($0.01 USDC).

## Known failure modes

- Missing required row fields (row_id, company_group, date, headcount, open_roles) causes validation error
- More than 200 rows submitted — exceeds max item limit
- Invalid date format (must be YYYY-MM-DD) causes schema rejection
- Null values in headcount or open_roles may affect weighted mean computation
- Payment not provided or insufficient USDC causes 402 response
- field enum value not one of 'headcount' or 'open_roles' causes rejection

## How this service works

Company headcount observations — Grouped numeric summary + Secondary-measure weighted mean: Grouped numeric summary + Secondary-measure weighted mean 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 grouped numeric summary (e.g. count, mean, min, max, std) of the target field broken out by company_group, and (2) a weighted mean of the secondary measure (open_roles or headcount) weighted by the primary field — all computed locally with no external data lookup, for up to 200 supplied rows.

## 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-grouped-summary-weighted-mean-47798873/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)
