# Net Margin Single Calculation

> Net Margin Single Calculation 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).

Calculates net margin percentage from a single supplied revenue and net profit figure, returning the formula, units, and limitations in JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-net-margin-calculate?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-single-calculation-dfec02ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gkQsPQq3ja2q0ju7z0QjD

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-single-calculation-dfec02ce -d '<json body>'
```

Example prompt: Calculate the net margin for a business with $10,000 in revenue and $2,000 in net profit — I need the formula and units explained too.

## When to prefer this

Choose this endpoint when you need a single, bounded net margin computation with formula and unit documentation returned in JSON — ideal for one-off spot checks, agent-driven financial analysis, or verifying a single period's profitability ratio without needing live market data, historical feeds, or advice.

## Known failure modes

- Revenue value of zero or missing causes division error or validation rejection
- Net profit outside the allowed range (-1,000,000,000,000 to 1,000,000,000,000) triggers schema validation failure
- Revenue exceeding 1,000,000,000,000 is rejected by schema max constraint
- Mismatched currency or reporting periods in inputs will produce a misleading but technically valid result
- Missing required fields (revenue or net_profit) returns a schema validation error

## How this service works

Net margin - Single calculation: Calculate one supplied record with the formula and units. 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 single calculation report.

## Output

Returns a JSON object containing the calculated net margin percentage, the formula applied (net_profit / revenue × 100), the units used, and any noted limitations of the calculation based on the supplied figures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "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-single-calculation-dfec02ce/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)
