# Revenue per Visitor – Weighted Result Mean

> Revenue per Visitor – 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-18).

Computes the weighted mean of revenue-per-visitor across multiple retail data rows, using caller-supplied revenue and visitor counts with optional per-row weights.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-revenue-visitor-weighted-mean?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/revenue-per-visitor-weighted-result-mean-aab00035
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FV-gGy5apieb0EIy1pb3t

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 revenue-per-visitor-weighted-result-mean-aab00035 -d '<json body>'
```

Example prompt: Calculate the weighted mean revenue per visitor for these four store periods: store A had $3,000 revenue with 1,000 visitors (weight 1), store B had $3,300 revenue with 1,100 visitors (weight 2), store C had $2,800 revenue with 950 visitors (weight 1), and store D had $4,000 revenue with 1,200 visitors (weight 2).

## When to prefer this

Choose this endpoint when you need a statistically correct weighted mean of revenue-per-visitor across multiple retail segments, locations, or time periods using your own supplied figures. Ideal for scenario analysis and offline aggregation where no live platform data or order execution is required. Prefer over a simple average when data points have materially different importance or sample sizes that should be reflected in the result.

## Known failure modes

- Fewer than 2 rows provided — minimum 2 data rows required
- More than 200 rows submitted — exceeds maxItems limit
- Visitor count of zero or negative — exclusiveMinimum enforced
- Weight array length does not match rows array length
- Revenue or visitor values exceed ±1,000,000,000,000 bounds
- Malformed input JSON returns a validation error

## How this service works

Revenue per visitor - Weighted result mean: Weighted result mean for Revenue per visitor. 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 weighted mean value representing the average revenue generated per visitor across the supplied rows, calculated locally using the provided weights. No live data, platform fees, or inventory information is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "revenue",
     "visitors"
    ],
    "properties": {
     "revenue": {
      "type": "number",
      "default": 3000,
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "visitors": {
      "type": "number",
      "default": 1000,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "revenue": 3000,
     "visitors": 1000
    },
    {
     "revenue": 3300.0000000000005,
     "visitors": 1100
    },
    {
     "revenue": 3000,
     "visitors": 1000
    },
    {
     "revenue": 3300.0000000000005,
     "visitors": 1100
    }
   ],
   "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/revenue-per-visitor-weighted-result-mean-aab00035/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)
