# Inventory Position - Single Calculation

> Inventory Position - 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-19).

Calculates inventory position (on-hand + on-order − backorders) from supplied retail figures in a single local computation

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-inventory-position-calculate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inventory-position-single-calculation-3e985ed8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ANw-gEfaQv_v5K9UctbFi

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

Example prompt: Calculate my inventory position: I have 150 units on hand, 45 units on order, and 20 units backordered.

## When to prefer this

Use this endpoint when you need a fast, lightweight, local calculation of inventory position from three known retail figures (on-hand, on-order, backorders) without requiring live inventory system access, ERP integration, or order execution. Ideal for scenario analysis, quick sanity checks, or embedding into a planning workflow where the numbers are already known.

## Known failure modes

- Missing required fields (on_hand, on_order, or backorders) returns a validation error
- Negative values outside the 0–1,000,000,000,000 range are rejected
- Payment not provided or insufficient USDC results in 402 Payment Required
- Malformed JSON body returns a 400 Bad Request

## How this service works

Inventory position - Single calculation: Single calculation for Inventory position. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded single calculation deliverable.

## Output

A single computed inventory position value derived from the formula: on_hand + on_order − backorders, returned as a bounded numerical result with no live market data, platform fees, or order execution included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "on_hand": 100,
    "on_order": 30,
    "backorders": 10
   },
   "required": [
    "on_hand",
    "on_order",
    "backorders"
   ],
   "properties": {
    "on_hand": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "on_order": {
     "type": "number",
     "default": 30,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "backorders": {
     "type": "number",
     "default": 10,
     "maximum": 1000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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