# Unit Fill Rate – Weighted Result Mean

> Unit Fill Rate – 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-23).

Calculates the weighted mean of unit fill rate (fulfilled_units / ordered_units) across multiple supplied retail records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-unit-fill-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unit-fill-rate-weighted-result-mean-8cc54e1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qW1nFvyDUGhjLPvNwAbST

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 unit-fill-rate-weighted-result-mean-8cc54e1b -d '<json body>'
```

Example prompt: Can you calculate the weighted mean fill rate for these four order records: 95 fulfilled out of 100 ordered (weight 1), 104 fulfilled out of 110 ordered (weight 2), 90 fulfilled out of 100 ordered (weight 1), and 99 fulfilled out of 110 ordered (weight 2)?

## When to prefer this

Use this endpoint when you have multiple retail fulfillment records with different importance levels and need a single aggregate fill rate figure that accounts for those relative weights. Prefer this over a simple mean when records represent different volumes, time periods, or business priorities that should not be treated equally.

## Known failure modes

- Fewer than 2 rows supplied — validation error
- Weights array length does not match rows array length — mismatch error
- ordered_units value of zero or negative — schema validation failure (exclusiveMinimum:0)
- fulfilled_units exceeds plausible range — accepted but may produce fill rate above 1.0
- More than 200 rows supplied — maxItems constraint violation

## How this service works

Unit fill rate - Weighted result mean: Weighted result mean for Unit fill rate. 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 the weighted mean unit fill rate (a single numeric value representing the weighted average ratio of fulfilled units to ordered units) computed from the supplied rows and weights.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fulfilled_units",
     "ordered_units"
    ],
    "properties": {
     "ordered_units": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "fulfilled_units": {
      "type": "number",
      "default": 95,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "ordered_units": 100,
     "fulfilled_units": 95
    },
    {
     "ordered_units": 110.00000000000001,
     "fulfilled_units": 104.50000000000001
    },
    {
     "ordered_units": 100,
     "fulfilled_units": 95
    },
    {
     "ordered_units": 110.00000000000001,
     "fulfilled_units": 104.50000000000001
    }
   ],
   "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/unit-fill-rate-weighted-result-mean-8cc54e1b/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)
