# Procurement Adjacent Row Changes

> Procurement Adjacent Row Changes 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-24).

Computes period-over-period adjacent row changes for procurement records (ordered_units or unit_cost) across up to 200 supplier rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-procurement-period-change?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/procurement-adjacent-row-changes-a9a75cb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LUc7ROTYi7tn6eFVhuHak

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 procurement-adjacent-row-changes-a9a75cb1 -d '<json body>'
```

Example prompt: I have procurement records for two suppliers — group-a and group-b — with dates and unit costs from October 1-4, 2026. Can you calculate the adjacent row-to-row changes in unit_cost across those 4 rows?

## When to prefer this

Use this endpoint when you have structured procurement tabular data and need to compute sequential, adjacent row-to-row changes in either ordered quantity or unit cost — particularly for audit trails, cost drift detection, or period comparison within a batch of up to 200 records. Prefer this over general analytics APIs when the specific computation needed is a local numeric delta between consecutive procurement rows with no external data dependencies.

## Known failure modes

- Fewer than 1 row submitted returns an error
- More than 200 rows submitted exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) causes validation failure
- Missing required fields (row_id, supplier, date, ordered_units, unit_cost) causes rejection
- Invalid field enum value (not 'ordered_units' or 'unit_cost') causes error
- Null numeric values may produce null deltas in output

## How this service works

Procurement - Adjacent row changes: Adjacent row changes for Procurement. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded adjacent row changes deliverable.

## Output

Returns row-by-row adjacent change calculations for the selected numeric field (ordered_units or unit_cost) across the submitted procurement records, showing the delta between each consecutive row within the dataset. Output is bounded to the submitted data with no external enrichment.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/procurement-adjacent-row-changes-a9a75cb1/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)
