# Museum Footfall Secondary-Measure Weighted Mean

> Museum Footfall Secondary-Measure Weighted 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-17).

Computes a secondary-measure weighted mean for museum footfall records, using either visitor counts or dwell minutes as the weighting field across up to 200 typed exhibit/date rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-museum-footfall-weighted-average?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/museum-footfall-secondary-measure-weighted-mean-2f9c494b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aF_tvIlizyU6TpKdlE3EM

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 museum-footfall-secondary-measure-weighted-mean-2f9c494b -d '<json body>'
```

Example prompt: Can you compute the secondary-measure weighted mean for my museum footfall data — I have 4 rows across two exhibits (group-a and group-b) from October 2026, and I want the weighting based on dwell_minutes?

## When to prefer this

Choose this endpoint when you have structured museum exhibit footfall records and need a statistically sound weighted mean where one measure (visitors or dwell_minutes) serves as the weight for the other — particularly for local descriptive analytics without any forecasting, enrichment, or external data lookup. It is purpose-built for museum/cultural institution attendance data with up to 200 records per call.

## Known failure modes

- Fewer than 1 or more than 200 rows submitted — request rejected
- Invalid date format (must be YYYY-MM-DD) — validation error
- Missing required fields (row_id, exhibit, date, visitors, dwell_minutes) — schema validation failure
- All weight values are null or zero — weighted mean undefined or error
- Invalid field enum value (not 'visitors' or 'dwell_minutes') — rejected
- Payment not processed or insufficient USDC balance — 402 response

## How this service works

Museum footfall - Secondary-measure weighted mean: Secondary-measure weighted mean for Museum footfall. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded secondary-measure weighted mean report.

## Output

A bounded secondary-measure weighted mean report for the supplied museum footfall rows. The result includes the computed weighted mean of the selected field (visitors or dwell_minutes) across all submitted exhibit/date records, expressed as local descriptive analytics with no forecasting or enrichment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "exhibit",
     "date",
     "visitors",
     "dwell_minutes"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "exhibit": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "visitors": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "dwell_minutes": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "exhibit": "group-a",
     "visitors": 10,
     "dwell_minutes": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "exhibit": "group-b",
     "visitors": 20,
     "dwell_minutes": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "exhibit": "group-a",
     "visitors": 15,
     "dwell_minutes": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "exhibit": "group-b",
     "visitors": 30,
     "dwell_minutes": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "visitors",
    "dwell_minutes"
   ],
   "type": "string",
   "default": "visitors"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/museum-footfall-secondary-measure-weighted-mean-2f9c494b/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)
