# Revenue per Visitor Distribution Histogram

> Revenue per Visitor Distribution Histogram 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-14).

Computes a distribution histogram of revenue-per-visitor metrics from supplied retail row data, bucketed into configurable bins.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-revenue-visitor-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/revenue-per-visitor-distribution-histogram-b2c92b2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jt7CO8o1Kl1Qu_sJZA9wx

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-distribution-histogram-b2c92b2c -d '<json body>'
```

Example prompt: Can you generate a revenue-per-visitor distribution histogram from my retail data — I have 4 store-week rows with revenues like 3000 and 3300 and visitor counts around 1000–1100 — split it into 5 bins please.

## When to prefer this

Choose this endpoint when you have raw retail revenue and visitor count data and need a local, offline-style statistical distribution analysis without live inventory, platform fee, or order system access. Ideal for scenario analysis, benchmarking, and understanding spread across store cohorts without touching live systems.

## Known failure modes

- Fewer than 2 rows provided — minimum row count not met
- Visitor count of zero submitted — exclusiveMinimum violation
- Revenue or visitor values exceed allowed magnitude bounds
- Bins parameter outside 1–30 range — schema validation error
- Malformed row objects missing required revenue or visitors fields

## How this service works

Revenue per visitor - Distribution histogram: Distribution histogram 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 distribution histogram deliverable.

## Output

A bounded distribution histogram showing how revenue-per-visitor values are spread across the requested number of bins, computed locally from the supplied retail revenue and visitor count rows. Each bin represents a range of revenue-per-visitor values and its associated frequency count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/revenue-per-visitor-distribution-histogram-b2c92b2c/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)
