# Net Margin Sequential Input-Change Attribution Calculator

> Net Margin Sequential Input-Change Attribution 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-22).

Performs a sequential (waterfall) attribution analysis on net margin by changing each input from baseline to final values in field order, reporting each incremental effect.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-net-margin-waterfall?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/net-margin-sequential-input-change-attribution-calculator-d2edf024
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uyvWy7w1o4eX2ykkOSaLV

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-sequential-input-change-attribution-calculator-d2edf024 -d '<json body>'
```

Example prompt: Run a sequential input-change attribution (waterfall) on net margin: baseline was revenue $10,000 and net profit $2,000, and the final figures are revenue $11,000 and net profit $2,200 — show me how each input change contributed to the margin shift step by step.

## When to prefer this

Choose this endpoint when you need to decompose a change in net margin into the sequential, ordered contribution of each individual input (revenue, then net profit) — a classic waterfall/bridge chart analysis. It is ideal for financial reporting, investor communications, or management reviews where you want to show step-by-step attribution rather than a simultaneous multi-factor regression. Prefer it over simple before/after comparison when the narrative of 'which factor moved first and by how much' matters.

## Known failure modes

- Missing required fields (revenue or net_profit in before/after objects) returns validation error
- Revenue value of zero or negative triggers exclusiveMinimum violation
- Net profit or revenue values exceeding 1,000,000,000,000 exceed maximum bounds
- Malformed JSON body returns schema validation error
- Payment not included or insufficient USDC causes x402 payment-required response

## How this service works

Net margin - Sequential input-change attribution: Change each input from baseline to final in declared field order, reporting each incremental effect; order dependent. 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 sequential input-change attribution report.

## Output

Returns a JSON object containing the net margin formula, the sequential step-by-step attribution of each input change (revenue first, then net profit) from baseline to final values with incremental margin effects at each step, units, and a statement of limitations. The order of attribution is field-declaration order, making the result path-dependent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "revenue": 11000,
    "net_profit": 2200
   },
   "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
  },
  "before": {
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-margin-sequential-input-change-attribution-calculator-d2edf024/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)
