# Contract Renewal Inventories — Adjacent Row Changes + Equal-Width Histogram

> Contract Renewal Inventories — Adjacent Row Changes + 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-20).

Computes adjacent row changes and an equal-width histogram for contract renewal inventory data (expiring and renewed contracts) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-20-156?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-adjacent-row-changes-equal-width-histogram-c7aba5c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3b2ZTktEaCzjLhX3Z3-9Z

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-adjacent-row-changes-equal-width-histogram-c7aba5c3 -d '<json body>'
```

Example prompt: Can you run adjacent row changes and a 5-bin histogram on my contract renewal data for expiring_contracts? I have records for group-a and group-b across October 2026 — here are the rows: row-1 (2026-10-01, group-a, expiring=10, renewed=1), row-2 (2026-10-02, group-b, expiring=20, renewed=2), row-3 (2026-10-03, group-a, expiring=15, renewed=3), row-4 (2026-10-04, group-b, expiring=30, renewed=4).

## When to prefer this

Choose this endpoint when you need two quick analytical reports — row-over-row change detection and a frequency histogram — on contract renewal inventory data without requiring a live database connection, external API, or prediction model. It is ideal for batch analytical summaries of up to 200 rows of expiring/renewed contract records at very low cost ($0.01 USDC for both reports). Prefer it over general-purpose analytics tools when the data is already structured in the expected schema and you want a self-contained, paid-per-call microservice.

## Known failure modes

- More than 200 rows submitted — request rejected due to row limit
- Invalid date format (not YYYY-MM-DD) causes validation error
- Missing required fields (row_id, date, expiring_contracts, renewed_contracts) causes schema rejection
- Bins parameter outside 1–30 range causes validation error
- Null values in the selected field may affect histogram and delta calculations
- Payment not included or insufficient USDC causes x402 payment error

## How this service works

Contract renewal inventories — Adjacent row changes + Equal-width histogram: Adjacent row changes + Equal-width histogram 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 analytical reports: (1) an adjacent row changes report showing the delta between consecutive rows for the selected field (expiring_contracts or renewed_contracts), and (2) an equal-width histogram report showing the frequency distribution of values across the specified number of bins. Both reports are computed locally from the supplied data.

## 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",
     "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-adjacent-row-changes-equal-width-histogram-c7aba5c3/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)
