# Target Replenishment Quantity – Record Ranking

> Target Replenishment Quantity – 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-14).

Ranks a batch of retail records by their target replenishment quantity gap (target units minus inventory position), returning a sorted ranking deliverable for local scenario analysis.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-replenishment-rank?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/target-replenishment-quantity-record-ranking-3cc81047
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SBlfQbQyHOkq_idf59F27

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 target-replenishment-quantity-record-ranking-3cc81047 -d '<json body>'
```

Example prompt: Rank these inventory records by replenishment need — I have four items: one with target 200 units and current position 120, one with target 220 and position 132, one with target 350 and position 80, and one with target 150 and position 145. Sort them so I can see which needs restocking most urgently.

## When to prefer this

Choose this endpoint when you need a ranked ordering of retail inventory records by replenishment gap using only locally supplied figures, without any live inventory system access, account integration, or order execution. Ideal for offline scenario analysis, planning sessions, or when you want a simple priority list from raw target vs. position data without platform dependencies.

## Known failure modes

- Fewer than 2 rows submitted — minimum of 2 records required
- More than 200 rows submitted — exceeds maxItems limit
- target_units or inventory_position missing from any row — required fields not provided
- Non-numeric values supplied for target_units or inventory_position
- target_units exceeds 1,000,000,000,000 — out of allowed range
- Payment not included or insufficient — x402 payment required at $0.01 USDC per call

## How this service works

Target replenishment quantity - Record ranking: Record ranking for Target replenishment quantity. 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 record ranking deliverable.

## Output

A ranked list of the submitted inventory records ordered by replenishment gap (target units minus inventory position), showing which records have the greatest need for restocking. The output is a bounded ranking deliverable suitable for local scenario analysis and prioritization decisions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "target_units",
     "inventory_position"
    ],
    "properties": {
     "target_units": {
      "type": "number",
      "default": 200,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "inventory_position": {
      "type": "number",
      "default": 120,
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "target_units": 200,
     "inventory_position": 120
    },
    {
     "target_units": 220.00000000000003,
     "inventory_position": 132
    },
    {
     "target_units": 200,
     "inventory_position": 120
    },
    {
     "target_units": 220.00000000000003,
     "inventory_position": 132
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/target-replenishment-quantity-record-ranking-3cc81047/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)
