# Unit Contribution Single Calculation

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

Calculates unit contribution (unit price minus variable cost per unit) for a single supplied record and returns the formula, result, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-unit-contribution-calculate?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-single-calculation-3fcff81a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qqolq0rVa2JqqUe1oUdzt

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

Example prompt: Can you calculate the unit contribution for a product with a selling price of $20 and a variable cost per unit of $12?

## When to prefer this

Choose this endpoint when you need a fast, single-record unit contribution calculation with explicit formula and units returned alongside the result. It is ideal for one-off checks, agent-driven financial workflows, or when you need a bounded, documented calculation rather than a bulk analysis or rolling report. Use sibling endpoints for batch processing, correlation analysis, or rolling mean reports.

## Known failure modes

- Missing required field (unit_price or variable_cost_per_unit) returns a validation error
- Values exceeding the maximum limit of 1,000,000,000,000 are rejected
- Non-numeric inputs cause schema validation failure
- Negative values may be rejected as they fall below the minimum of 0
- Payment failure (insufficient USDC) prevents the calculation from running

## How this service works

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

## Output

A JSON object containing the calculated unit contribution value (unit price minus variable cost per unit), the formula used, the currency/units as supplied, and any applicable limitations or caveats about the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "unit_price": 20,
    "variable_cost_per_unit": 12
   },
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unit-contribution-single-calculation-3fcff81a/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)
