# Unit Contribution Threshold Classification

> Unit Contribution 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-18).

Classifies up to 200 calculated unit contribution values (unit price minus variable cost per unit) against user-supplied inclusive lower and upper bounds, returning a JSON report with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-unit-contribution-threshold?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/unit-contribution-threshold-classification-8dd4469b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Oa-3mAdcOcA3FzB1y6fgD

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 unit-contribution-threshold-classification-8dd4469b -d '<json body>'
```

Example prompt: I have 4 products — two priced at $20 with variable costs of $12 each, and two priced at $22 with variable costs of $13.20 each. Can you classify their unit contributions against a lower bound of $5 and an upper bound of $10, and give me a report with the formula used?

## When to prefer this

Choose this endpoint when you need to batch-classify multiple rows of unit contribution calculations against a specific inclusive numeric range and receive a structured JSON report with the underlying formula. It is best suited for managerial accounting workflows, pricing reviews, and product line analysis where up to 200 product records need to be evaluated simultaneously. Prefer alternatives if you need live market data, financial advice, trade execution, or analysis modes beyond threshold classification.

## Known failure modes

- Fewer than 2 rows provided — minItems validation error
- More than 200 rows provided — maxItems validation error
- Unit price or variable cost exceeds allowed maximum (1e12) — validation error
- Lower bound greater than upper bound — may produce zero in-range results without error
- Missing required fields unit_price or variable_cost_per_unit in a row — schema validation error
- Non-numeric values in numeric fields — type validation error
- Payment not completed — 402 response, no classification returned

## How this service works

Unit contribution - Threshold classification: Classify up to 200 calculated values against supplied inclusive bounds. Metric: Unit contribution. 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

Returns a JSON object containing: each row's calculated unit contribution (unit price minus variable cost per unit), a classification of whether each value falls within the inclusive lower and upper bounds supplied, the formula used, units of measurement, and any applicable limitations. Up to 200 rows processed per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "unit_price",
     "variable_cost_per_unit"
    ],
    "properties": {
     "unit_price": {
      "type": "number",
      "default": 20,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "variable_cost_per_unit": {
      "type": "number",
      "default": 12,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "unit_price": 20,
     "variable_cost_per_unit": 12
    },
    {
     "unit_price": 22,
     "variable_cost_per_unit": 13.200000000000001
    },
    {
     "unit_price": 20,
     "variable_cost_per_unit": 12
    },
    {
     "unit_price": 22,
     "variable_cost_per_unit": 13.200000000000001
    }
   ],
   "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/unit-contribution-threshold-classification-8dd4469b/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)
