# First-Attempt Delivery Share — Target Gap Calculation

> First-Attempt Delivery Share — 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-18).

Calculates the gap between actual first-attempt delivery share and a specified target, using supplied retail shipment figures (up to 200 records).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-first-attempt-delivery-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/first-attempt-delivery-share-target-gap-calculation-a7498431
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QcTJTbKdd5tJuWyvR0yFz

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 first-attempt-delivery-share-target-gap-calculation-a7498431 -d '<json body>'
```

Example prompt: We attempted 1,200 shipments last month and 1,044 were successfully delivered on the first attempt — our target is 90%. Can you calculate the gap between our actual first-attempt delivery share and that target?

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.01 USDC) computation of first-attempt delivery share versus a target for retail logistics use cases, without needing live rate feeds, platform access, or order execution. Ideal for offline batch KPI reporting on up to 200 shipment records.

## Known failure modes

- Validation error if attempted_shipments is zero or negative (exclusiveMinimum: 0)
- Error if first_attempt_deliveries exceeds attempted_shipments in a logically inconsistent way
- Request rejected if more than 200 records are supplied
- Missing required fields (attempted_shipments or first_attempt_deliveries) cause a schema validation error
- Network or payment failure results in no report returned

## How this service works

First-attempt delivery share - Target gap calculation: Target gap calculation for First-attempt delivery share. 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 showing the computed first-attempt delivery share from the supplied figures and the numerical gap (positive or negative) between that share and the specified target value.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/first-attempt-delivery-share-target-gap-calculation-a7498431/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)
