# Net Margin Named Scenario Comparison

> Net Margin Named Scenario Comparison 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-23).

Applies up to 20 named input-override scenarios to a net margin baseline and reports how each scenario differs from the baseline.

## Facts

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

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 net-margin-named-scenario-comparison-718ee200 -d '<json body>'
```

Example prompt: Compare net margin for three scenarios against a baseline of $500,000 revenue and $75,000 net profit: label the first 'Cost Cut' with net profit at $90,000, the second 'Revenue Boost' with revenue at $600,000, and the third 'Both' with revenue $600,000 and net profit $95,000 — show me how each differs from the baseline.

## When to prefer this

Choose this endpoint when you need to evaluate multiple named what-if scenarios against a single net margin baseline in one call — ideal for structured financial planning, sensitivity analysis, or presenting named business cases side-by-side. Prefer it over single-calculation endpoints when you have 2–20 distinct scenarios to compare simultaneously and want labelled, organized output rather than running repeated single queries.

## Known failure modes

- Missing required baseline fields (revenue or net_profit) returns a validation error
- Revenue value of zero or negative triggers exclusiveMinimum validation failure
- Scenarios array with zero items or more than 20 items is rejected
- Individual scenario missing label or overrides returns a schema error
- Overrides object with no properties (minProperties:1 violated) causes rejection
- Values exceeding maximum bounds (1 trillion) return validation errors

## How this service works

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

A JSON object containing the formula used to compute net margin, units, limitations, and a structured comparison of each named scenario against the baseline — including the calculated net margin for the baseline and for each scenario along with the delta or difference.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline": {
   "type": "object",
   "default": {
    "revenue": 10000,
    "net_profit": 2000
   },
   "required": [
    "net_profit",
    "revenue"
   ],
   "properties": {
    "revenue": {
     "type": "number",
     "default": 10000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    },
    "net_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
       },
       "net_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": {
      "net_profit": 2200
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

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