# Competitor Supplied Prices — Secondary-Measure Weighted Mean + Keyed Dataset Comparison

> Competitor Supplied Prices — Secondary-Measure Weighted Mean + Keyed Dataset Comparison 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-15).

Computes a secondary-measure (package_quantity) weighted mean on competitor price records and performs a keyed comparison between two supplied datasets, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-07-186?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/competitor-supplied-prices-secondary-measure-weighted-mean-keyed-5238133c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yjidHGRP5OVddYBl2AjXv

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 competitor-supplied-prices-secondary-measure-weighted-mean-keyed-5238133c -d '<json body>'
```

Example prompt: I have two sets of competitor price records — each with up to 50 rows of list_price and package_quantity by company group and date — can you compute the package-quantity weighted mean on list_price and then do a keyed comparison between the two datasets to show me where they differ?

## When to prefer this

Choose this endpoint when you have two batches of competitor pricing records (up to 200 rows each) and need both a package-quantity weighted mean and a direct keyed comparison between the two datasets in a single paid call. It is ideal for competitive price monitoring workflows where you supply your own data and need offline, reproducible analytics without live market lookups or external data enrichment.

## Known failure modes

- Exceeds 200-row limit — request rejected or truncated
- Missing required fields (row_id, company_group, date, list_price, package_quantity) — validation error
- Invalid date format (must be YYYY-MM-DD) — schema validation failure
- Null values in numeric fields may affect weighted mean accuracy
- Mismatched row_ids between primary and comparison dataset reduce keyed comparison coverage
- Payment of 0.01 USDC not completed — 402 response blocking access

## How this service works

Competitor supplied prices — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied competitor supplied prices records (list_price, package_quantity). 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 secondary-measure (package_quantity) weighted mean of the selected field (list_price or package_quantity) across the supplied rows, and (2) a keyed dataset comparison identifying differences between the primary and secondary (other) dataset by row_id. 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",
     "company_group",
     "date",
     "list_price",
     "package_quantity"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "list_price": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "company_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "package_quantity": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "list_price": 10,
     "company_group": "group-a",
     "package_quantity": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "list_price": 20,
     "company_group": "group-b",
     "package_quantity": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "list_price": 15,
     "company_group": "group-a",
     "package_quantity": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "list_price": 30,
     "company_group": "group-b",
     "package_quantity": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "list_price",
    "package_quantity"
   ],
   "type": "string",
   "default": "list_price"
  },
  "other": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "company_group",
     "date",
     "list_price",
     "package_quantity"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "list_price": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "company_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "package_quantity": {
      "type": [
       "number",
       "null"
      ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/competitor-supplied-prices-secondary-measure-weighted-mean-keyed-5238133c/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)
