# Net Profit Scenario Grid Calculator (Two-Input)

> Net Profit Scenario Grid Calculator (Two-Input) 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).

Calculates up to 100 combinations of two income-statement variables and returns net profit for each cell in a scenario grid, flagging invalid combinations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-net-profit-stress-grid?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-profit-scenario-grid-calculator-two-input-2c4bc9b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8xaqLfKLp9eLhUYWqyEIz

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-profit-scenario-grid-calculator-two-input-2c4bc9b3 -d '<json body>'
```

Example prompt: Run a two-input net profit scenario grid with baseline revenue 10000, cost_of_sales 6000, operating_expenses 2000, interest_expense 200, and tax_expense 300 — vary revenue across [9000, 9500, 10000, 10500, 11000] and cost_of_sales across [5500, 6000, 6500, 7000, 7500] and show me the net profit for every combination.

## When to prefer this

Choose this endpoint when you need a structured two-dimensional sensitivity table for net profit across up to 100 input combinations, using only supplied figures (no live data). It is ideal for scenario planning, stress testing, or building profit matrices from known financial inputs. Prefer it over single-variable calculators when you need to explore the interaction of two income-statement drivers simultaneously.

## Known failure modes

- field_x and field_y set to the same variable — invalid combination reported
- values_x or values_y arrays exceeding 10 items — request rejected
- baseline missing required fields (revenue, cost_of_sales, operating_expenses, interest_expense, tax_expense) — validation error
- values outside allowed range (-1e12 to 1e12) — boundary error
- payment not included or insufficient USDC — 402 Payment Required

## How this service works

Net profit from supplied costs - Two-input scenario grid: Calculate up to 100 combinations of two distinct supplied input fields, with invalid combinations reported. Metric: Net profit from supplied costs. 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 two-input scenario grid report.

## Output

A JSON response containing a two-dimensional scenario grid of net profit values for up to 100 combinations of the two chosen input fields, along with the formula used, currency/units, any invalid combination flags, and stated limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field_x": {
   "enum": [
    "revenue",
    "cost_of_sales",
    "operating_expenses",
    "interest_expense",
    "tax_expense"
   ],
   "type": "string",
   "default": "revenue"
  },
  "field_y": {
   "enum": [
    "revenue",
    "cost_of_sales",
    "operating_expenses",
    "interest_expense",
    "tax_expense"
   ],
   "type": "string",
   "default": "cost_of_sales"
  },
  "baseline": {
   "type": "object",
   "default": {
    "revenue": 10000,
    "tax_expense": 300,
    "cost_of_sales": 6000,
    "interest_expense": 200,
    "operating_expenses": 2000
   },
   "required": [
    "revenue",
    "cost_of_sales",
    "operating_expenses",
    "interest_expense",
    "tax_expense"
   ],
   "properties": {
    "revenue": {
     "type": "number",
     "default": 10000,
     "maximum": 1000000000000,
     "minimum": -1000000000000,
     "description": "Amount in a consistent supplied currency and reporting period"
    },
    "tax_expense": {
     "type": "number",
     "default": 300,
     "maximum": 1000000000000,
     "minimum": -1000000000000,
     "description": "Amount in a consistent supplied currency and reporting period"
    },
    "cost_of_sales": {
     "type": "number",
     "default": 6000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period"
    },
    "interest_expense": {
     "type": "number",
     "default": 200,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period"
    },
    "operating_expenses": {
     "type": "number",
     "default": 2000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period"
    }
   },
   "additionalProperties": false
  },
  "values_x": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": -1000000000000
   },
   "default": [
    10000,
    11000
   ],
   "maxItems": 10,
   "minItems": 1
  },
  "values_y": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": -1000000000000
   },
   "default": [
    6000,
    6600.000000000001
   ],
   "maxItems": 10,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-profit-scenario-grid-calculator-two-input-2c4bc9b3/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)
