# Price Basket Observations — Duplicate Key Report + Category Frequencies

> Price Basket Observations — Duplicate Key Report + Category Frequencies 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-26).

Analyzes up to 200 price basket observation records (item_price, quantity_weight) to produce a duplicate key report and category frequency breakdown in two independent local analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-07-057?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/price-basket-observations-duplicate-key-report-category-frequencies-240f6833
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a4kipXdYFvLlOJWnrKxfW

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-duplicate-key-report-category-frequencies-240f6833 -d '<json body>'
```

Example prompt: Can you check my price basket observations for duplicate keys and tell me how often each region and date category appears? I have about 50 rows with row_id, region, date, item_price, and quantity_weight fields.

## When to prefer this

Choose this endpoint when you need two quick analytical passes — duplicate detection and category frequency counting — on a single batch of up to 200 price basket observation records at minimal cost ($0.01 USDC for both reports). Ideal for data quality pre-processing, deduplication checks before downstream aggregation, or summarizing category distributions without requiring a full data warehouse or live external service. Not suitable for prediction, forecasting, real-time price lookup, or datasets exceeding 200 rows.

## Known failure modes

- Exceeding 200 rows causes rejection — trim input to ≤200 records
- Missing required fields (row_id, region, date, item_price, quantity_weight) cause validation errors
- Invalid date format (must match YYYY-MM-DD pattern) triggers schema rejection
- Empty rows array returns error — at least 1 row required
- Non-numeric item_price or quantity_weight values outside ±1,000,000,000,000 cause schema failure

## How this service works

Price basket observations — Duplicate key report + Category frequencies: Duplicate key report + Category frequencies 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 duplicate key report identifying repeated row identifiers or composite key collisions within the supplied price basket rows, and (2) a category frequency table counting how often each distinct region and date value appears across the submitted records. Results are computed locally from 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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/price-basket-observations-duplicate-key-report-category-frequencies-240f6833/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)
