# Price Basket Observations — Record Quality Audit + Date by Category Pivot

> Price Basket Observations — Record Quality Audit + Date by Category Pivot 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).

Runs two local analytical reports on price basket observation records: a record quality audit and a date-by-category pivot table, for up to 200 rows of item_price/quantity_weight data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-07-017?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/price-basket-observations-record-quality-audit-date-by-category-pivot-527c31ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OSZq3T2JMslICwS-tjJu-

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-record-quality-audit-date-by-category-pivot-527c31ad -d '<json body>'
```

Example prompt: Can you run a record quality audit and a date-by-category pivot on my price basket data? I have rows with region, date, item_price, and quantity_weight — here are up to 200 records — and I want to analyze the item_price field.

## When to prefer this

Choose this endpoint when you need both a data quality audit and a date-by-category pivot in a single low-cost call for price basket data (item_price, quantity_weight). It is ideal for economics, retail, or market datasets of up to 200 rows where you want offline/local analysis without any external data lookups or predictions.

## Known failure modes

- Exceeding 200 rows returns a validation error
- Missing required fields (row_id, region, date, item_price, quantity_weight) causes rejection
- Invalid date format (not YYYY-MM-DD) triggers schema validation failure
- field enum value outside 'item_price' or 'quantity_weight' causes an error
- Empty rows array (minItems:1 not met) returns a schema error

## How this service works

Price basket observations — Record quality audit + Date by category pivot: Record quality audit + Date by category pivot 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

Returns two analytical reports: (1) a record quality audit flagging issues such as nulls, out-of-range values, or malformed fields in the submitted rows; and (2) a date-by-category pivot table summarizing the selected numeric field (item_price or quantity_weight) across date and region groupings. Both reports are computed locally 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-record-quality-audit-date-by-category-pivot-527c31ad/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)
