# Minimum-Stock Replenishment Gap Distribution Histogram

> Minimum-Stock Replenishment Gap Distribution Histogram 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).

Computes a distribution histogram of replenishment gaps (minimum stock minus available plus inbound units) across up to 200 retail inventory records, grouped into configurable bins.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-minimum-stock-gap-histogram?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-distribution-histogram-5eb2e170
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q6Gx9ygyg3xJ_fZcVQGOa

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-distribution-histogram-5eb2e170 -d '<json body>'
```

Example prompt: Can you generate a distribution histogram with 10 bins for these retail inventory records — each has a minimum_units, available_units, and inbound_units — so I can see how my replenishment gaps are spread out across products?

## When to prefer this

Choose this endpoint when you have raw retail inventory records with minimum, available, and inbound unit counts and need a fast, cheap ($0.01 USDC) frequency distribution of replenishment gaps — particularly useful for segmenting SKUs or locations by shortfall severity without needing a full analytics platform.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- More than 200 rows supplied — exceeds maximum record limit
- bins value outside 1–30 range — validation error
- Missing required fields (minimum_units, available_units, or inbound_units) in any row
- Negative or non-numeric unit values — schema violation
- Payment not completed via x402 protocol — request rejected

## How this service works

Minimum-stock replenishment gap - Distribution histogram: Distribution histogram 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 distribution histogram report.

## Output

A bounded distribution histogram report showing frequency counts per bin for the replenishment gap metric (derived from minimum_units, available_units, and inbound_units) across the supplied retail records, organized into the requested number of bins (1–30).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "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
   },
   "default": [
    {
     "inbound_units": 20,
     "minimum_units": 100,
     "available_units": 35
    },
    {
     "inbound_units": 22,
     "minimum_units": 110.00000000000001,
     "available_units": 38.5
    },
    {
     "inbound_units": 20,
     "minimum_units": 100,
     "available_units": 35
    },
    {
     "inbound_units": 22,
     "minimum_units": 110.00000000000001,
     "available_units": 38.5
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

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