# Unit Return Rate Rolling Mean Report

> Unit Return Rate Rolling Mean Report 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-27).

Calculates a rolling mean of unit return rates from user-supplied retail sold/returned unit figures over a configurable window size.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-unit-return-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unit-return-rate-rolling-mean-report-485e06fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jXwVbQOxqFPqUHUhoWwxH

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-return-rate-rolling-mean-report-485e06fb -d '<json body>'
```

Example prompt: Can you calculate the rolling mean unit return rate for my retail data? Here are 4 periods: sold units were 100, 110, 100, 110 and returned units were 5, 5.5, 5, 5.5 — use a window size of 2.

## When to prefer this

Choose this endpoint when you need a quick, low-cost statistical smoothing of unit return rate data you already possess, particularly for retail scenario analysis or trend visualization. It is ideal for local calculations on historical or hypothetical datasets where no live inventory lookup, platform integration, or order execution is needed. Prefer this over general-purpose computation tools when you specifically need a rolling mean on sold/returned unit ratios formatted as a retail report.

## Known failure modes

- Fewer than 2 rows provided — minimum input requirement not met
- Window size exceeds number of rows — rolling mean cannot be computed
- sold_units value of 0 causes division-by-zero in return rate calculation
- Input rows exceed 200 item maximum
- Non-numeric values passed in sold_units or returned_units fields
- Window size below minimum of 2 or above maximum of 200

## How this service works

Unit return rate - Rolling mean report: Rolling mean report for Unit return 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 rolling mean report deliverable.

## Output

A rolling mean report showing smoothed unit return rate values computed from the supplied sold and returned unit figures, calculated over the specified window size. The output represents local scenario analysis results — no live inventory or platform data is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "returned_units",
     "sold_units"
    ],
    "properties": {
     "sold_units": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "returned_units": {
      "type": "number",
      "default": 5,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "sold_units": 100,
     "returned_units": 5
    },
    {
     "sold_units": 110.00000000000001,
     "returned_units": 5.5
    },
    {
     "sold_units": 100,
     "returned_units": 5
    },
    {
     "sold_units": 110.00000000000001,
     "returned_units": 5.5
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unit-return-rate-rolling-mean-report-485e06fb/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)
