# Operating Margin Named Scenario Comparison Calculator

> Operating Margin Named Scenario Comparison Calculator 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-28).

Applies up to 20 named input-override scenarios to a baseline operating margin and returns a structured comparison report showing differences across scenarios.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-operating-margin-scenario?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/operating-margin-named-scenario-comparison-calculator-91414754
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DhcKHCiz9wJLuq0lBKrEi

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-named-scenario-comparison-calculator-91414754 -d '<json body>'
```

Example prompt: Compare my operating margin across three scenarios: baseline is $10M revenue and $2M operating profit; scenario 1 'Cost Cut' has operating profit of $2.5M; scenario 2 'Revenue Drop' has revenue of $8M; scenario 3 'Both Improve' has revenue of $12M and operating profit of $3M.

## When to prefer this

Choose this endpoint when you need to systematically compare operating margin across multiple named what-if scenarios against a single baseline, especially when you have up to 20 distinct input combinations to evaluate and want labeled, structured JSON output with formula transparency. Prefer this over a single-calculation endpoint when scenario labeling and difference reporting matter, or when producing multi-scenario reports for stakeholders.

## Known failure modes

- Missing required baseline fields (revenue or operating_profit) returns a validation error
- Revenue of zero or negative triggers exclusiveMinimum violation
- More than 20 scenarios in the array returns a maxItems error
- Scenario overrides object with no properties triggers minProperties error
- Label strings exceeding 80 characters fail schema validation
- Supplying currencies inconsistently across scenarios may produce misleading but technically valid results

## How this service works

Operating margin - Named scenario comparison: Apply up to 20 explicit input-override scenarios to one baseline and report their differences. 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 named scenario comparison report.

## Output

Returns a JSON object containing the operating margin formula used, the baseline operating margin percentage, each named scenario's operating margin result, the difference between each scenario and the baseline, units, and limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline": {
   "type": "object",
   "default": {
    "revenue": 10000,
    "operating_profit": 2000
   },
   "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
  },
  "scenarios": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "label",
     "overrides"
    ],
    "properties": {
     "label": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "overrides": {
      "type": "object",
      "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"
       }
      },
      "minProperties": 1,
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "label": "Supplied alternative",
     "overrides": {
      "operating_profit": 2200
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/operating-margin-named-scenario-comparison-calculator-91414754/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)
