# Operating Margin – Adjacent Period Changes

> Operating Margin – Adjacent Period Changes 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 period-over-period differences and percent changes in operating margin across a sequence of supplied financial observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-operating-margin-period-changes?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-margin-adjacent-period-changes-a007b836
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vxaYxD6Nv94Zaejqjon9q

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-adjacent-period-changes-a007b836 -d '<json body>'
```

Example prompt: Calculate the adjacent period changes in operating margin for these four quarters — Q1: revenue $10,000 and operating profit $2,000; Q2: revenue $11,000 and operating profit $2,200; Q3: revenue $10,000 and operating profit $2,000; Q4: revenue $11,000 and operating profit $2,200.

## When to prefer this

Choose this endpoint when you have an ordered sequence of at least two financial periods and need to understand how operating margin moved between each consecutive pair — without interpolation or forecasting. It is ideal for QoQ, YoY, or MoM trend spotting using only the figures you supply. Prefer it over a full trend or regression endpoint when you specifically need the raw adjacent differences and percent changes, not a smoothed or fitted line.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 rows required
- Revenue value of zero or negative — excluded by schema (exclusiveMinimum: 0)
- More than 200 rows — exceeds maxItems limit
- Missing required fields (operating_profit or revenue) in any row — validation error
- Non-numeric values in numeric fields — schema rejection
- Percent change not computed when base margin is zero (division by zero edge case)

## How this service works

Operating margin - Adjacent period changes: Report adjacent-observation differences and eligible percent changes; no interpolation. 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 adjacent period changes report.

## Output

A JSON response containing the period-by-period operating margin values, the absolute differences between adjacent observations, eligible percent changes between consecutive periods, the formula used, units, and a note on limitations (no interpolation; supplied figures only).

## 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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/operating-margin-adjacent-period-changes-a007b836/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)
