# Company Headcount Observations — String Normalisation + Equal-Width Histogram

> Company Headcount Observations — String Normalisation + Equal-Width Histogram 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 string normalisation and an equal-width histogram analysis on supplied company headcount observation records (headcount and open_roles fields), returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-12-031?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-string-normalisation-equal-width-7fff8c2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ubrPeDnajZKvG8txUD6BS

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-string-normalisation-equal-width-7fff8c2d -d '<json body>'
```

Example prompt: Can you run string normalisation and an equal-width histogram with 10 bins on this headcount dataset? I have rows for two company groups — TechCorp and FinanceCo — with dates and headcount figures; I want the analysis on the headcount field.

## When to prefer this

Choose this endpoint when you need both string normalisation and an equal-width histogram in a single paid call against pre-supplied company headcount data (up to 200 rows). It is ideal for HR or workforce analytics pipelines that need to clean categorical labels and understand numeric distributions simultaneously without any live data lookup or external enrichment.

## Known failure modes

- More than 200 rows submitted — request rejected due to maxItems constraint
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Bins value outside 1–30 range causes validation error
- All values for the selected field are null — histogram cannot be computed
- Missing required row fields (row_id, headcount, open_roles, date, company_group) cause schema errors
- Payment not completed — x402 payment required before processing

## How this service works

Company headcount observations — String normalisation + Equal-width histogram: String normalisation + Equal-width histogram 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 string normalisation report that cleans and standardises the company_group strings in the supplied rows, and (2) an equal-width histogram report showing bin edges and counts for the selected numeric field (headcount or open_roles) across up to 200 input rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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-string-normalisation-equal-width-7fff8c2d/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)
