# Product Photography Equal-Width Histogram & Secondary-Measure Weighted Mean

> Product Photography Equal-Width Histogram & Secondary-Measure Weighted Mean 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).

Computes an equal-width histogram and a secondary-measure weighted mean over product photography completion records (required_images, completed_images) for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-retail-09-172?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/product-photography-equal-width-histogram-secondary-measure-weighted-515a6ea4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bn6V6DAYHWZZxrS5lVXQV

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 product-photography-equal-width-histogram-secondary-measure-weighted-515a6ea4 -d '<json body>'
```

Example prompt: Can you run a histogram analysis (5 bins) on our required_images field for these 4 store groups and also get the weighted mean — here's the data: row-1, group-a, 2026-10-01, required=10, completed=1; row-2, group-b, 2026-10-02, required=20, completed=2; row-3, group-a, 2026-10-03, required=15, completed=3; row-4, group-b, 2026-10-04, required=30, completed=4?

## When to prefer this

Choose this endpoint when you have product photography tracking records (required_images, completed_images) for up to 200 rows and need both a distribution histogram and a weighted mean in a single low-cost call ($0.01 USDC). It is ideal for retail/e-commerce analytics teams doing batch statistical summarization on local data without needing live lookups, predictions, or external integrations.

## Known failure modes

- More than 200 rows submitted — request will be rejected or truncated
- Invalid date format (non-YYYY-MM-DD) causes validation error
- Missing required fields (row_id, required_images, completed_images) causes schema rejection
- Bins parameter out of range (must be 1–30) triggers validation failure
- All null values in the target field results in undefined histogram or NaN weighted mean
- Empty rows array rejected (minimum 1 row required)

## How this service works

Product photography — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied product photography records (required_images, completed_images). 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) an equal-width histogram of the chosen field (required_images or completed_images) broken into the specified number of bins with bin edges and counts, and (2) a secondary-measure weighted mean where one field is weighted by the other — all computed locally without external lookups, based solely on the supplied rows.

## 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",
     "required_images",
     "completed_images"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "store_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "required_images": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "completed_images": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "store_group": "group-a",
     "required_images": 10,
     "completed_images": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "store_group": "group-b",
     "required_images": 20,
     "completed_images": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "store_group": "group-a",
     "required_images": 15,
     "completed_images": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "store_group": "group-b",
     "required_images": 30,
     "completed_images": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "required_images",
    "completed_images"
   ],
   "type": "string",
   "default": "required_images"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/product-photography-equal-width-histogram-secondary-measure-weighted-515a6ea4/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)
