# On-time Dispatch Share – Weighted Result Mean

> On-time Dispatch Share – 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-14).

Computes a weighted mean of on-time dispatch share across multiple retail data rows, up to 200 records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-dispatch-on-time-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/on-time-dispatch-share-weighted-result-mean-053a79c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dcr31JrLSxLJkE5GL7Xyd

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 on-time-dispatch-share-weighted-result-mean-053a79c6 -d '<json body>'
```

Example prompt: I have dispatch data for 3 retail sites — site A had 100 dispatches with 92 on time, site B had 110 with 101 on time, and site C had 200 with 180 on time — using weights of 1, 2, and 3 respectively. Can you calculate the weighted mean on-time dispatch share across all three?

## When to prefer this

Choose this endpoint when you need a statistically weighted aggregate of on-time dispatch share across multiple retail data points and you already have raw dispatch counts. It is ideal for reporting scenarios where different sites, periods, or suppliers should contribute proportionally to the summary metric. Prefer this over a simple average when volume or importance differences exist between records.

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 rows required
- Weights array length does not match rows array length
- on_time_dispatches exceeds dispatches for a row (logically invalid but may still compute)
- dispatches value is zero or negative — exclusiveMinimum constraint will reject it
- More than 200 rows submitted — maxItems constraint violated
- Missing required fields dispatches or on_time_dispatches in any row

## How this service works

On-time dispatch share - Weighted result mean: Weighted result mean for On-time dispatch share. Supplied retail figures only, up to 200 records. No platform access, live rates or order execution. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded weighted result mean report.

## Output

Returns a single weighted mean value representing the overall on-time dispatch share across the provided retail rows, calculated using the supplied weights. The result reflects what proportion of dispatches were completed on time, aggregated in a volume- or custom-weighted fashion across up to 200 input records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "dispatches",
     "on_time_dispatches"
    ],
    "properties": {
     "dispatches": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "on_time_dispatches": {
      "type": "number",
      "default": 92,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "dispatches": 100,
     "on_time_dispatches": 92
    },
    {
     "dispatches": 110.00000000000001,
     "on_time_dispatches": 101.2
    },
    {
     "dispatches": 100,
     "on_time_dispatches": 92
    },
    {
     "dispatches": 110.00000000000001,
     "on_time_dispatches": 101.2
    }
   ],
   "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/on-time-dispatch-share-weighted-result-mean-053a79c6/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)
