# Repeat Purchasing Customer Share – Weighted Result Mean

> Repeat Purchasing Customer Share – Weighted Result Mean 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-16).

Calculates the weighted mean of repeat purchasing customer share (repeat customers / purchasing customers) across multiple supplied retail data rows using custom weights.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-repeat-customers-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/repeat-purchasing-customer-share-weighted-result-mean-25f4c8f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bze4IiL8FYCIwto7fRQzy

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 repeat-purchasing-customer-share-weighted-result-mean-25f4c8f4 -d '<json body>'
```

Example prompt: I have four retail periods with repeat customer counts of 20, 22, 20, and 22, out of total purchasing customers of 100, 110, 100, and 110 respectively — can you calculate the weighted mean repeat customer share using weights 1, 2, 1, 2?

## When to prefer this

Choose this endpoint when you have multiple retail data points (periods, locations, or segments) with varying importance and need a single summary metric for repeat customer loyalty, weighted by relative significance. Ideal for local scenario analysis or aggregation without needing live inventory, platform fees, or account access. Prefer this over simple averages when your data rows should contribute unequally to the final metric.

## Known failure modes

- purchasing_customers value of 0 triggers exclusiveMinimum validation error
- mismatched lengths between rows array and weights array causing computation error
- fewer than 2 rows submitted violating minItems constraint
- more than 200 rows submitted violating maxItems constraint
- negative repeat_customers or weights values rejected by schema minimum
- repeat_customers exceeding purchasing_customers producing a ratio above 1 (not blocked but semantically anomalous)

## How this service works

Repeat purchasing customer share - Weighted result mean: Weighted result mean for Repeat purchasing customer share. 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 weighted result mean deliverable.

## Output

Returns a single bounded weighted result mean value representing the weighted average of repeat purchasing customer share (repeat_customers / purchasing_customers) across all supplied rows, computed using the provided weights array. The result is a ratio or percentage metric derived entirely from the submitted figures with no external data sources.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "repeat_customers",
     "purchasing_customers"
    ],
    "properties": {
     "repeat_customers": {
      "type": "number",
      "default": 20,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "purchasing_customers": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "repeat_customers": 20,
     "purchasing_customers": 100
    },
    {
     "repeat_customers": 22,
     "purchasing_customers": 110.00000000000001
    },
    {
     "repeat_customers": 20,
     "purchasing_customers": 100
    },
    {
     "repeat_customers": 22,
     "purchasing_customers": 110.00000000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/repeat-purchasing-customer-share-weighted-result-mean-25f4c8f4/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)
