# Promotion Observations — Quality Audit + Deduplication + Equal-Width Histogram

> Promotion Observations — Quality Audit + Deduplication + Equal-Width Histogram 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).

Runs three local analytical reports on promotion observation data (discount_amount, units_sold): a record quality audit, exact row deduplication, and an equal-width histogram.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-retail-05-219?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/promotion-observations-quality-audit-deduplication-equal-width-0d6e7823
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OGF9iYsA3VHwpluTVhR_v

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 promotion-observations-quality-audit-deduplication-equal-width-0d6e7823 -d '<json body>'
```

Example prompt: Run a quality audit, exact row deduplication check, and a 5-bin equal-width histogram on the discount_amount field for my promotion observation records — here are up to 200 rows with row_id, store_group, date, discount_amount, and units_sold.

## When to prefer this

Choose this endpoint when you have up to 200 retail promotion observation records and need three foundational data profiling operations in a single cheap call: quality auditing, deduplication, and numeric distribution analysis. It is ideal for pre-processing or QA steps before deeper modeling or reporting, and is cost-effective at $0.01 USDC for all three reports. Prefer it over building custom local scripts when operating inside an agent pipeline that needs structured, standardized profiling output.

## Known failure modes

- Exceeding 200 rows returns a validation error
- Invalid date format (not YYYY-MM-DD) triggers schema rejection
- Missing required fields (row_id, store_group, date, discount_amount, units_sold) causes row rejection
- bins value outside 1–30 range returns validation error
- Empty rows array returns error
- Payment failure results in 402 response with no data processed

## How this service works

Promotion observations — Record quality audit + Exact row deduplication + Equal-width histogram: Record quality audit + Exact row deduplication + Equal-width histogram for supplied promotion observations records (discount_amount, units_sold). Up to 200 rows; 3 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 3 supplied-data reports for up to 200 rows.

## Output

Three independent analytical reports: (1) a record quality audit flagging missing, null, or out-of-range values in discount_amount and units_sold; (2) an exact row deduplication report identifying identical rows; and (3) an equal-width histogram of the selected numeric field (discount_amount or units_sold) with up to 30 configurable bins showing frequency distribution across equal-width intervals.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/promotion-observations-quality-audit-deduplication-equal-width-0d6e7823/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)
