# Price after Percent Discount – Rolling Mean Report

> Price after Percent Discount – 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-18).

Computes a rolling mean of price-after-percent-discount values over a sliding window across a supplied series of list price and discount percent pairs.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-rolling?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/price-after-percent-discount-rolling-mean-report-bdb75c12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JeXGZzaiFv6-CUsWtdM0e

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 price-after-percent-discount-rolling-mean-report-bdb75c12 -d '<json body>'
```

Example prompt: Can you run a rolling mean report on these 4 products — list prices 100, 110, 100, 110 with discounts of 20%, 22%, 20%, 22% — using a window size of 2?

## When to prefer this

Choose this endpoint when you need a local, stateless rolling mean computation specifically for price-after-percent-discount data in a retail context. It is ideal for scenario analysis and smoothing noisy discount price series without requiring live inventory, platform account access, or order execution. Prefer it over general statistics APIs when your inputs are specifically list-price and discount-percent pairs and you want a bounded, cost-effective single-deliverable report at $0.01 USDC per call.

## Known failure modes

- Fewer than 2 rows supplied — minimum array length not met
- Window size exceeds number of rows — rolling mean cannot be computed
- list_price or discount_percent out of valid range (negative price, discount > 100%)
- Malformed row objects missing required fields list_price or discount_percent
- More than 200 rows submitted — exceeds maxItems constraint

## How this service works

Price after percent discount - Rolling mean report: Rolling mean report for Price after percent discount. 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

Returns a rolling mean report containing the smoothed discounted price values computed over the specified sliding window across the input rows. Each window position yields an average of the price-after-percent-discount values for that range, enabling trend analysis of effective retail prices.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "list_price",
     "discount_percent"
    ],
    "properties": {
     "list_price": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "discount_percent": {
      "type": "number",
      "default": 20,
      "maximum": 100,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "list_price": 100,
     "discount_percent": 20
    },
    {
     "list_price": 110.00000000000001,
     "discount_percent": 22
    },
    {
     "list_price": 100,
     "discount_percent": 20
    },
    {
     "list_price": 110.00000000000001,
     "discount_percent": 22
    }
   ],
   "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/price-after-percent-discount-rolling-mean-report-bdb75c12/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)
