# Bundle Contribution Weighted Result Mean

> Bundle Contribution Weighted Result 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-18).

Calculates the weighted mean of bundle contribution margins across multiple retail product bundles using supplied pricing and cost figures.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-bundle-contribution-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bundle-contribution-weighted-result-mean-138e626c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ogHW4nikgqd0UQrbY5yj0

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 bundle-contribution-weighted-result-mean-138e626c -d '<json body>'
```

Example prompt: I have four bundles: the first has item costs of $50, packing $5, fulfilment $10, and sells for $100; the second has item costs $55, packing $5.50, fulfilment $11, selling for $110; the third same as the first; and the fourth same as the second. The weights are 1, 2, 1, 2. Can you calculate the weighted mean bundle contribution across all four?

## When to prefer this

Choose this endpoint when you need a local, offline-style computation of weighted average bundle contribution margin using retail figures you already have — no live inventory, platform, or account data is needed. Prefer it for scenario planning, pricing sensitivity analysis, or aggregating contribution across multiple bundle SKUs with different sales volumes as weights.

## Known failure modes

- Mismatched array lengths between rows and weights returns a validation error
- Fewer than 2 rows or weights supplied causes a schema minimum violation
- Negative or zero bundle_price may produce negative or zero contribution results
- All-zero weights could result in a divide-by-zero or undefined mean
- Values exceeding maximum (1e12) are rejected by schema validation

## How this service works

Bundle contribution - Weighted result mean: Weighted result mean for Bundle contribution. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded weighted result mean deliverable.

## Output

Returns a single weighted mean bundle contribution value computed from the supplied rows of bundle pricing data (bundle_price, item_costs, packing_cost, fulfilment_cost) and corresponding weights. The result reflects the contribution margin averaged across bundles proportionally to their weights.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "bundle_price",
     "item_costs",
     "packing_cost",
     "fulfilment_cost"
    ],
    "properties": {
     "item_costs": {
      "type": "number",
      "default": 50,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "bundle_price": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "packing_cost": {
      "type": "number",
      "default": 5,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "fulfilment_cost": {
      "type": "number",
      "default": 10,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "item_costs": 50,
     "bundle_price": 100,
     "packing_cost": 5,
     "fulfilment_cost": 10
    },
    {
     "item_costs": 55.00000000000001,
     "bundle_price": 110.00000000000001,
     "packing_cost": 5.5,
     "fulfilment_cost": 11
    },
    {
     "item_costs": 50,
     "bundle_price": 100,
     "packing_cost": 5,
     "fulfilment_cost": 10
    },
    {
     "item_costs": 55.00000000000001,
     "bundle_price": 110.00000000000001,
     "packing_cost": 5.5,
     "fulfilment_cost": 11
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bundle-contribution-weighted-result-mean-138e626c/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)
