# Contract Renewal Inventories — IQR Outlier Flags + Secondary-Measure Weighted Mean

> Contract Renewal Inventories — IQR Outlier Flags + Secondary-Measure 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-20).

Runs two local statistical analyses (IQR outlier detection and secondary-measure weighted mean) on supplied contract renewal inventory records (expiring_contracts, renewed_contracts) for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-20-177?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-iqr-outlier-flags-secondary-measure-1160d385
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7cztLhxxjPQqv7d2f6i5C

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-iqr-outlier-flags-secondary-measure-1160d385 -d '<json body>'
```

Example prompt: Run IQR outlier detection and a secondary-measure weighted mean on these contract renewal records — I have 4 rows with expiring_contracts values like 10, 20, 15, 30 across groups A and B dated from 2026-10-01 to 2026-10-04; use expiring_contracts as the primary field.

## When to prefer this

Choose this endpoint when you need fast, local statistical analysis (IQR outlier detection + weighted mean) on contract renewal inventory data without any external API calls, live data lookups, or professional assessments. Ideal for batches up to 200 rows where you want two distinct analytical reports in a single paid call at low cost ($0.01 USDC).

## Known failure modes

- Fewer than 1 row supplied — minimum row count not met
- More than 200 rows supplied — exceeds maximum batch size
- Missing required fields (row_id, date, expiring_contracts, renewed_contracts) cause validation errors
- Invalid date format (not YYYY-MM-DD) rejected by schema
- Null values in numeric fields may affect IQR and weighted mean calculations
- Invalid field enum value (not expiring_contracts or renewed_contracts) causes rejection
- Payment of 0.01 USDC not provided or declined — request blocked

## How this service works

Contract renewal inventories — IQR outlier flags + Secondary-measure weighted mean: IQR outlier flags + Secondary-measure weighted mean 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

Two independent statistical reports: (1) IQR outlier flags marking which rows contain values outside the interquartile range for the selected field, and (2) a secondary-measure weighted mean computed across the supplied rows. Results are derived entirely from the submitted data using local analytical engines 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/contract-renewal-inventories-iqr-outlier-flags-secondary-measure-1160d385/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)
