# Net Margin Threshold Classification

> Net Margin Threshold Classification 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).

Classifies up to 200 net margin values against user-supplied lower and upper inclusive bounds, returning a threshold classification report with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-net-margin-threshold?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-threshold-classification-b4ddce68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ij2sdXh0u4D0h_2QEak9q

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-threshold-classification-b4ddce68 -d '<json body>'
```

Example prompt: I have 5 quarters of revenue and net profit data — can you classify each net margin against a lower bound of 10 and upper bound of 25, and tell me which periods fall inside and outside those thresholds?

## When to prefer this

Use this endpoint when you need to batch-classify net margin values for multiple periods or entities against fixed inclusive threshold bounds, and want a structured JSON report with the formula and units included. It is ideal for financial screening, compliance checks, or portfolio analysis where you have raw net profit and revenue figures and need to determine which observations fall within a target margin range. Prefer this over generic calculation tools when you specifically need threshold-bounded classification rather than just the margin value itself.

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 rows required
- Revenue value of 0 or negative — exclusiveMinimum enforced, revenue must be > 0
- More than 200 rows submitted — maxItems limit exceeded
- Missing required fields net_profit or revenue in any row
- Lower bound greater than upper bound — may produce empty or inverted classification range
- Malformed JSON body — returns parsing error

## How this service works

Net margin - Threshold classification: Classify up to 200 calculated values against supplied inclusive bounds. 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 threshold classification report.

## Output

A JSON report containing the calculated net margin for each input row, a threshold classification indicating whether each value falls within the supplied inclusive lower and upper bounds, along with the formula used, units, and limitations of the calculation.

## 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
  },
  "lower": {
   "type": "number",
   "default": 0,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "upper": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-margin-threshold-classification-b4ddce68/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)
