# Net Margin Benchmark Correlation Calculator

> Net Margin Benchmark Correlation 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-18).

Calculates the Pearson correlation coefficient between net margin values (derived from supplied revenue and net profit rows) and a set of user-supplied benchmark figures.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-net-margin-correlation?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/net-margin-benchmark-correlation-calculator-dcd211a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aP_mBawffg3xZR4nowfnj

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-benchmark-correlation-calculator-dcd211a2 -d '<json body>'
```

Example prompt: I have 5 quarters of revenue and net profit data — revenues of 10000, 11000, 10500, 12000, 11500 and net profits of 2000, 2200, 2100, 2500, 2300 — and I want to correlate those net margins against benchmark figures of 18, 20, 19, 22, 21. Can you run a Pearson benchmark correlation report on that?

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC) Pearson correlation computation between net margin figures and any externally supplied benchmark series, without requiring a live data feed or financial advice. It is ideal for descriptive statistical reporting on historical data you already have, with built-in formula and limitations documentation. Prefer it over general-purpose statistical APIs when you want the result anchored specifically to net margin (net profit / revenue) and formatted as a bounded benchmark correlation report in JSON.

## Known failure modes

- Mismatched array lengths between rows and benchmarks returns an error
- Fewer than 2 rows or 2 benchmark values provided triggers minimum-length validation failure
- Revenue of zero or negative triggers exclusiveMinimum violation
- Net profit or revenue values exceeding defined maximums cause schema rejection
- All net margin values identical (zero variance) may produce undefined or NaN correlation

## How this service works

Net margin - Benchmark correlation: Calculate Pearson correlation against aligned supplied benchmarks; no causal or predictive claim. 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 benchmark correlation report.

## Output

A JSON object containing the Pearson correlation coefficient between the computed net margin series and the supplied benchmark array, along with the formula used, units, and explicit limitations (e.g. no causal or predictive claims, descriptive only, based solely on supplied figures).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "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
   },
   "default": [
    {
     "revenue": 10000,
     "net_profit": 2000
    },
    {
     "revenue": 11000,
     "net_profit": 2200
    },
    {
     "revenue": 10000,
     "net_profit": 2000
    },
    {
     "revenue": 11000,
     "net_profit": 2200
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "benchmarks": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000000000,
    "minimum": -1000000000000000000
   },
   "default": [
    10,
    20,
    30,
    40
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-margin-benchmark-correlation-calculator-dcd211a2/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)
