# Contract Renewal Inventories — Category Frequencies & Missing-Value Fill

> Contract Renewal Inventories — Category Frequencies & Missing-Value Fill 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-20).

Computes category frequency distributions and fills missing values in contract renewal inventory records (expiring and renewed contracts) for up to 200 rows, returning two independent analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-20-112?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/contract-renewal-inventories-category-frequencies-missing-value-fill-cd4e3fec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gqkg1bibjGBOacTnxu8cq

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 contract-renewal-inventories-category-frequencies-missing-value-fill-cd4e3fec -d '<json body>'
```

Example prompt: Can you analyze my contract renewal data for groups A and B across October 2026 — give me the category frequencies for expiring_contracts and fill any missing values using the median method? I have about 4 rows.

## When to prefer this

Choose this endpoint when you have up to 200 rows of contract renewal records and need both a category frequency breakdown and missing-value imputation in a single low-cost call ($0.01 USDC). It is ideal for lightweight, self-contained data quality and summary analytics on contract inventory data without requiring any external data sources or live predictions.

## Known failure modes

- Rows array is empty or exceeds 200 items — rejected with validation error
- Invalid date format (not YYYY-MM-DD) causes row rejection
- Field enum value not in ['expiring_contracts','renewed_contracts'] causes error
- Method enum value not in ['zero','mean','median'] causes error
- Numeric values outside ±1,000,000,000,000 range cause validation failure
- Missing required fields (row_id, company_group, date) cause row-level errors

## How this service works

Contract renewal inventories — Category frequencies + Explicit missing-value fill: Category frequencies + Explicit missing-value fill for supplied contract renewal inventories records (expiring_contracts, renewed_contracts). 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 reports: (1) a category frequency table showing how often each company_group or category value appears in the selected field, and (2) the dataset with missing values in the specified field replaced using the chosen fill method (zero, mean, or median). Both reports are computed locally with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/contract-renewal-inventories-category-frequencies-missing-value-fill-cd4e3fec/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)
