# Observed Unit Sales Velocity – Weighted Mean

> Observed Unit Sales Velocity – 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-15).

Computes a weighted arithmetic mean of observed unit sales velocity (units sold per day) across up to 200 retail data rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-unit-sales-velocity-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/observed-unit-sales-velocity-weighted-mean-3ede0e51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AL0BXFN4n5FZ6A9sIfluI

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 observed-unit-sales-velocity-weighted-mean-3ede0e51 -d '<json body>'
```

Example prompt: Can you calculate the weighted mean unit sales velocity for these retail observations: store A sold 84 units over 7 days with weight 1, store B sold 92 units over 8 days with weight 2, store C sold 110 units over 10 days with weight 3?

## When to prefer this

Choose this endpoint when you have multiple retail observations of unit sales over different time windows and want a single weighted-average velocity figure — especially when some observations should count more heavily than others (e.g. more recent data, higher-volume stores). Prefer this over a simple mean when heterogeneous observation periods or store sizes make equal weighting misleading. Best for offline/batch retail analytics with pre-collected figures; not suitable for real-time POS data, order execution, or live rate lookups.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 rows required
- Weights array length does not match rows array length
- observed_days value of 0 rejected due to exclusiveMinimum constraint
- More than 200 rows submitted — exceeds maxItems limit
- Non-numeric or negative values in sold_units or observed_days fields
- Payment not included or insufficient USDC balance (x402 payment required)

## How this service works

Observed unit sales velocity - Weighted result mean: Weighted result mean for Observed unit sales velocity. 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

A single weighted mean value representing the average unit sales velocity (units sold per observed day) across all submitted retail rows, calculated using the supplied weights. The report is bounded to 200 input rows and uses supplied figures only — no live market rates or platform data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "sold_units",
     "observed_days"
    ],
    "properties": {
     "sold_units": {
      "type": "number",
      "default": 84,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "observed_days": {
      "type": "number",
      "default": 7,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "sold_units": 84,
     "observed_days": 7
    },
    {
     "sold_units": 92.4,
     "observed_days": 7.700000000000001
    },
    {
     "sold_units": 84,
     "observed_days": 7
    },
    {
     "sold_units": 92.4,
     "observed_days": 7.700000000000001
    }
   ],
   "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/observed-unit-sales-velocity-weighted-mean-3ede0e51/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)
