# Unit Fill Rate – Target Gap Calculator

> Unit Fill Rate – 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-27).

Calculates the gap between a retail unit fill rate target and the actual fill rate derived from supplied ordered and fulfilled unit figures.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-unit-fill-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unit-fill-rate-target-gap-calculator-2d6d3910
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rhKGgeGRz2-4d0oznNjvn

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 unit-fill-rate-target-gap-calculator-2d6d3910 -d '<json body>'
```

Example prompt: I had 100 ordered units and 95 fulfilled units this week — can you calculate my unit fill rate and tell me how far I am from my 98% target?

## When to prefer this

Choose this endpoint when you need a quick, local computation of unit fill rate versus a numeric target for retail fulfillment scenarios — especially for scenario analysis or planning without needing live inventory data, platform integration, or order execution. It is well-suited for reporting dashboards, periodic reviews, or what-if analyses using already-collected figures.

## Known failure modes

- ordered_units of zero or below causes a validation error (exclusiveMinimum constraint)
- fulfilled_units exceeding ordered_units may produce unexpected gap values — caller should validate inputs
- missing required fields (ordered_units or fulfilled_units) returns a schema validation error
- extremely large values near the numeric boundary may produce precision issues

## How this service works

Unit fill rate - Target gap calculation: Target gap calculation for Unit fill rate. 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 a bounded target gap calculation showing the difference between the supplied fill rate target and the computed actual fill rate (fulfilled units divided by ordered units), enabling quick identification of shortfalls in retail unit fulfillment performance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "ordered_units": 100,
    "fulfilled_units": 95
   },
   "required": [
    "fulfilled_units",
    "ordered_units"
   ],
   "properties": {
    "ordered_units": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "fulfilled_units": {
     "type": "number",
     "default": 95,
     "maximum": 1000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unit-fill-rate-target-gap-calculator-2d6d3910/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)
