# UV Layouts Analytics — Equal-Width Histogram + Secondary-Measure Weighted Mean

> UV Layouts Analytics — Equal-Width Histogram + 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-27).

Computes an equal-width histogram and a secondary-measure weighted mean for UV layout records (island_count, occupied_percent) supplied by the caller.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-creative-06-172?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uv-layouts-analytics-equal-width-histogram-secondary-measure-weighted-93a512fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aTvFjqTJGugkLrA7k_PI1

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 uv-layouts-analytics-equal-width-histogram-secondary-measure-weighted-93a512fd -d '<json body>'
```

Example prompt: Can you run a histogram and weighted mean analysis on my UV layout data? I have 4 rows — row-1 (group-a, 2026-10-01, island_count=10, occupied_percent=1), row-2 (group-b, 2026-10-02, island_count=20, occupied_percent=2), row-3 (group-a, 2026-10-03, island_count=15, occupied_percent=3), row-4 (group-b, 2026-10-04, island_count=30, occupied_percent=4) — use 5 bins and analyze the island_count field.

## When to prefer this

Choose this endpoint when you have UV layout tabular data with island_count and occupied_percent columns and need both a frequency distribution (histogram) and a weighted mean statistic in a single API call. It is purpose-built for UV mapping analytics rather than general-purpose statistics APIs, and covers up to 200 rows at a low flat rate. Prefer it over generic stats APIs when your data is already structured as UV layout records with asset_group and date fields.

## Known failure modes

- More than 200 rows submitted — request rejected or truncated
- Missing required fields (row_id, island_count, or occupied_percent) on any row — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Bins value outside 1–30 range — rejected
- All values for the primary field are null — cannot compute histogram
- Payment not included or insufficient USDC — x402 payment required error

## How this service works

UV layouts — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied uv layouts records (island_count, occupied_percent). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two analytical reports: (1) an equal-width histogram showing bin ranges and frequencies for the chosen primary field (island_count or occupied_percent), and (2) a secondary-measure weighted mean where the unchosen field is averaged using the primary field as weights — both computed locally over up to 200 supplied UV layout rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uv-layouts-analytics-equal-width-histogram-secondary-measure-weighted-93a512fd/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)
