# Minimum-Stock Replenishment Gap – Target Gap Calculation

> Minimum-Stock Replenishment Gap – Target Gap 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-15).

Calculates the target replenishment gap for minimum-stock retail inventory by comparing available, inbound, and minimum units against a supplied target value.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-minimum-stock-gap-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minimum-stock-replenishment-gap-target-gap-calculation-d2ff1b21
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QG21kHIzuyS7kJWPTj4NE

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 minimum-stock-replenishment-gap-target-gap-calculation-d2ff1b21 -d '<json body>'
```

Example prompt: Calculate the minimum-stock replenishment gap for my retail product with a target of 500 units — I currently have 35 available units and 20 units inbound, with a minimum stock level of 100 units.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.01 USDC) computation of inventory replenishment gap against a specific target using supplied retail figures — ideal for automated stock audits, reorder triggers, or daily inventory checks where only available, inbound, and minimum unit counts are on hand and no live platform access or order execution is required.

## Known failure modes

- Missing required fields (minimum_units, available_units, or inbound_units) returns a validation error
- Values exceeding the maximum limit (1,000,000,000,000) may be rejected
- Non-numeric input for any stock field causes a schema validation failure
- Payment not included or insufficient USDC triggers a 402 Payment Required response

## How this service works

Minimum-stock replenishment gap - Target gap calculation: Target gap calculation for Minimum-stock replenishment gap. Supplied retail figures only, up to 200 records. No platform access, live rates or order execution. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded target gap calculation report.

## Output

Returns a bounded target gap calculation report indicating the numerical difference between the supplied target and the current net stock position (available plus inbound units relative to minimum stock level), covering up to 200 records with retail figures only.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "inbound_units": 20,
    "minimum_units": 100,
    "available_units": 35
   },
   "required": [
    "minimum_units",
    "available_units",
    "inbound_units"
   ],
   "properties": {
    "inbound_units": {
     "type": "number",
     "default": 20,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "minimum_units": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "available_units": {
     "type": "number",
     "default": 35,
     "maximum": 1000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minimum-stock-replenishment-gap-target-gap-calculation-d2ff1b21/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)
