# Damaged Stock Adjacent Row Changes + Two-Measure Correlation

> Damaged Stock Adjacent Row Changes + Two-Measure Correlation is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Analyzes up to 200 damaged stock records to produce two local statistical reports: adjacent row changes and two-measure correlation for handled_units and damaged_units.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-retail-18-158?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/damaged-stock-adjacent-row-changes-two-measure-correlation-e089894d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l22lR0dnnusKSx6kOn9eF

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 damaged-stock-adjacent-row-changes-two-measure-correlation-e089894d -d '<json body>'
```

Example prompt: Can you run adjacent row change analysis and two-measure correlation on my damaged stock records? I have up to 50 rows with handled_units and damaged_units per store group and date, and I want both statistical reports in one call.

## When to prefer this

Choose this endpoint when you have up to 200 rows of retail damaged stock records and need both adjacent row change analysis and two-measure correlation between handled_units and damaged_units in a single low-cost call ($0.01 USDC). Ideal for batch offline analysis of supplied data without needing live lookups, predictions, or external data enrichment.

## Known failure modes

- Exceeding 200 rows causes rejection or truncation
- Missing required fields (row_id, store_group, date, handled_units, damaged_units) causes validation error
- Malformed date strings not matching YYYY-MM-DD pattern cause schema rejection
- All-null numeric values may produce undefined correlation results
- Single-row input produces no adjacent row change data

## How this service works

Damaged stock — Adjacent row changes + Two-measure correlation: Adjacent row changes + Two-measure correlation for supplied damaged stock records (handled_units, damaged_units). 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 statistical reports computed locally on the supplied data: (1) an adjacent row changes report showing delta values between consecutive rows for the selected measure, and (2) a two-measure correlation report quantifying the statistical relationship between handled_units and damaged_units across all supplied rows — all computed without external lookups or live data.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/damaged-stock-adjacent-row-changes-two-measure-correlation-e089894d/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)
