# Operating Margin Rolling Mean Report

> Operating Margin 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-22).

Calculates trailing full-window rolling means of operating margin over a supplied sequence of observations, returning JSON with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-operating-margin-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/operating-margin-rolling-mean-report-7a665deb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qf0GwsRFST6fdzUWaVHfG

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-margin-rolling-mean-report-7a665deb -d '<json body>'
```

Example prompt: Calculate the rolling mean of operating margin for these 6 quarterly periods using a window of 3: Q1 revenue 10000 profit 2000, Q2 revenue 11000 profit 2500, Q3 revenue 10500 profit 1800, Q4 revenue 12000 profit 2800, Q5 revenue 11500 profit 2300, Q6 revenue 13000 profit 3100.

## When to prefer this

Choose this endpoint when you need a statistically smoothed view of operating margin over an ordered series of observations with a fixed trailing window, and you want the computation accompanied by the formula, units, and limitations in a structured JSON response. It is ideal for time-series financial analysis of operating profitability where you supply your own data rather than needing a live market feed.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- Window size exceeds number of rows — no full windows exist, no results returned
- Revenue values of zero or negative — violates exclusiveMinimum constraint
- Operating profit or revenue values outside allowed bounds — validation error
- Missing required fields operating_profit or revenue in a row — request rejected
- Window value below 2 or above 200 — validation error

## How this service works

Operating margin - Rolling mean report: Calculate trailing full-window means over ordered observations, preserving invalid-row gaps. Metric: Operating margin. 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 operating margin values for each valid full-window position in the series, along with the formula used, units, and stated limitations of the calculation. Rows where the window is incomplete or data is invalid are preserved as gaps.

## Request schema (JSON Schema)

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