# Inventory Position Target Gap Calculator

> Inventory Position Target Gap 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-22).

Calculates the gap between current inventory position (on-hand + on-order − backorders) and a target inventory level using supplied retail figures.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-inventory-position-target-gap?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/inventory-position-target-gap-calculator-8cdd2f2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i3Q1bZvFb6IjglZZaTa43

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-target-gap-calculator-8cdd2f2d -d '<json body>'
```

Example prompt: Calculate my inventory position target gap — I have 150 units on hand, 45 on order, and 20 backorders, and my target inventory level is 200 units.

## When to prefer this

Use this endpoint when you need a fast, local computation of inventory position gap against a target using your own retail figures, without needing live inventory system integration, account access, or platform connectivity. Ideal for scenario analysis, planning, and offline calculations where you control the input data.

## Known failure modes

- Missing required fields (on_hand, on_order, backorders) returns a validation error
- Values exceeding the maximum allowed magnitude are rejected
- Non-numeric input types cause schema validation failure
- No live inventory data available — all figures must be supplied by the caller

## How this service works

Inventory position - Target gap calculation: Target gap 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 target gap calculation deliverable.

## Output

Returns the calculated inventory position (on-hand + on-order − backorders) and the gap between that position and the supplied target, indicating surplus or shortfall as a bounded deliverable based entirely on the figures provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "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-target-gap-calculator-8cdd2f2d/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)
