# Operating Profit Rolling Mean Report

> Operating Profit 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).

Calculates trailing full-window rolling means over a sequence of operating profit observations, preserving gaps for invalid rows, and returns results with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-operating-profit-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/operating-profit-rolling-mean-report-935f351a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xGyfvTkazop6KfNW0BC6C

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 operating-profit-rolling-mean-report-935f351a -d '<json body>'
```

Example prompt: Can you run a rolling mean report on our operating profit data? Here are 4 periods: period 1 revenue $10,000, COGS $6,000, opex $2,000; period 2 revenue $11,000, COGS $6,600, opex $2,200; period 3 revenue $10,000, COGS $6,000, opex $2,000; period 4 revenue $11,000, COGS $6,600, opex $2,200 — use a rolling window of 2.

## When to prefer this

Choose this endpoint when you need a trailing rolling mean specifically for operating profit (revenue minus cost of sales minus operating expenses) over a sequence of ordered periods. It is ideal when you have user-supplied figures (not live market data) and need a statistically smoothed view of operating performance with a configurable window size. Prefer this over raw operating profit calculations when trend smoothing is needed, and over generic statistics tools when you want a finance-domain report with formula documentation and limitations included.

## Known failure modes

- Fewer than 2 rows provided — minimum input requirement not met
- Window size exceeds number of rows — no full windows possible, empty or gap-only results
- Revenue, cost_of_sales, or operating_expenses values outside allowed range (-1T to +1T) — validation error
- Non-numeric or missing required fields — schema validation failure
- Window integer not between 2 and 200 — parameter out of range error
- Payment not processed — x402 payment required before response is returned

## How this service works

Operating profit - Rolling mean report: Calculate trailing full-window means over ordered observations, preserving invalid-row gaps. Metric: Operating profit. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded rolling mean report report.

## Output

A JSON object containing the rolling mean values for operating profit across the provided observation rows, computed using a trailing full-window approach. Also includes the formula used, units, and limitations of the analysis. Rows that fall within an incomplete window are marked with gaps.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "revenue",
     "cost_of_sales",
     "operating_expenses"
    ],
    "properties": {
     "revenue": {
      "type": "number",
      "default": 10000,
      "maximum": 1000000000000,
      "minimum": -1000000000000,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "cost_of_sales": {
      "type": "number",
      "default": 6000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "operating_expenses": {
      "type": "number",
      "default": 2000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "revenue": 10000,
     "cost_of_sales": 6000,
     "operating_expenses": 2000
    },
    {
     "revenue": 11000,
     "cost_of_sales": 6600.000000000001,
     "operating_expenses": 2200
    },
    {
     "revenue": 10000,
     "cost_of_sales": 6000,
     "operating_expenses": 2000
    },
    {
     "revenue": 11000,
     "cost_of_sales": 6600.000000000001,
     "operating_expenses": 2200
    }
   ],
   "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/operating-profit-rolling-mean-report-935f351a/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)
