# Minimum-Stock Replenishment Gap – Record Ranking

> Minimum-Stock Replenishment Gap – Record Ranking 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).

Ranks up to 200 retail inventory records by their minimum-stock replenishment gap, identifying which items are most critically understocked relative to minimums and inbound supply.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-minimum-stock-gap-rank?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-record-ranking-fc70752a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kM0rGyPRwiRK9xatmdItj

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-record-ranking-fc70752a -d '<json body>'
```

Example prompt: I have a list of retail inventory records — each with a minimum stock level, current available units, and inbound units — can you rank them by their replenishment gap so I can see which are most critically understocked first? I have about 40 records to submit.

## When to prefer this

Choose this endpoint when you need to rank a batch of retail inventory records specifically by their replenishment gap relative to minimum stock thresholds, without needing live inventory system access, order execution, or platform integration. Ideal for offline analysis, periodic reporting, or decision support where you supply the raw figures and need a prioritized ranking output for up to 200 records at minimal cost.

## Known failure modes

- Fewer than 2 rows submitted — minimum array size requirement not met
- Row missing required fields (minimum_units, available_units, or inbound_units) — validation error
- More than 200 rows submitted — exceeds maxItems limit
- Unit values outside allowed range (negative or exceeding 1e12) — schema rejection
- Malformed JSON body — parse error response
- Payment not included or insufficient — x402 payment required error

## How this service works

Minimum-stock replenishment gap - Record ranking: Record ranking 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 record ranking report.

## Output

A bounded ranking report listing up to 200 inventory records sorted by their computed minimum-stock replenishment gap (derived from minimum_units, available_units, and inbound_units), identifying which records are most critically understocked and their relative rank positions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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-record-ranking-fc70752a/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)
