# Price Basket Observations — String Normalisation + Adjacent Row Changes

> Price Basket Observations — String Normalisation + 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-25).

Analyzes price basket observation records by running string normalization and adjacent row change detection on item_price or quantity_weight fields, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-07-029?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/price-basket-observations-string-normalisation-adjacent-row-changes-dad8530e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tS1Mu-l-ntOhBewLuDYZF

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 price-basket-observations-string-normalisation-adjacent-row-changes-dad8530e -d '<json body>'
```

Example prompt: Run string normalization and adjacent row change detection on my price basket observations — I have 4 rows with item_price values 10, 20, 15, 30 across group-a and group-b regions on dates 2026-10-01 through 2026-10-04, and I want to analyze the item_price field.

## When to prefer this

Choose this endpoint when you need to simultaneously clean string data and detect sequential row-level changes in price basket observations without any external API calls, live lookups, or predictions. It is ideal for economics data quality workflows where you want two distinct analytical perspectives (normalization + delta detection) in a single cheap call ($0.01 USDC) on datasets up to 200 rows.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Missing required field (row_id, region, date, item_price, or quantity_weight) — validation error
- Date field does not match YYYY-MM-DD pattern — schema validation failure
- Field selector not one of 'item_price' or 'quantity_weight' — enum validation error
- Empty rows array — minItems constraint violation
- Numeric values outside allowed range (±1 trillion) — schema rejection

## How this service works

Price basket observations — String normalisation + Adjacent row changes: String normalisation + Adjacent row changes for supplied price basket observations records (item_price, quantity_weight). 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 analytical reports: (1) a string normalization report cleaning and standardizing string fields in the basket records, and (2) an adjacent row changes report identifying value differences between consecutive rows for the selected field (item_price or quantity_weight). Both reports are computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/price-basket-observations-string-normalisation-adjacent-row-changes-dad8530e/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)
