# UI Screens — Category Frequencies + Equal-Width Histogram

> UI Screens — Category Frequencies + Equal-Width 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-11-02).

Computes category frequency distribution and an equal-width histogram for widget_count or render_ms fields across up to 200 UI screen records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-game-16-106?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ui-screens-category-frequencies-equal-width-histogram-1ad8ddb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kz-C5BBAJfhatcVj-67VR

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 ui-screens-category-frequencies-equal-width-histogram-1ad8ddb5 -d '<json body>'
```

Example prompt: Can you run a category frequency report and an equal-width histogram with 10 bins on my UI screen data — specifically on the render_ms field — for these records: row-1 in group-a on 2026-10-01 with render_ms 120 and widget_count 5, and row-2 in group-b on 2026-10-02 with render_ms 340 and widget_count 12?

## When to prefer this

Choose this endpoint when you need quick, local statistical analysis (category frequencies + histogram) on a small-to-medium UI screen dataset (up to 200 rows) with no need for external data, live lookups, or predictions. Ideal for game UI performance audits where you want both categorical breakdowns and numeric distribution in a single cheap call.

## Known failure modes

- Fewer than 1 or more than 200 rows supplied — request rejected
- Missing required row fields (row_id, game_area, date, widget_count, render_ms) — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- bins parameter outside 1–30 range — rejected
- field value not one of 'widget_count' or 'render_ms' — enum validation error
- Payment of 0.01 USDC not completed — 402 response

## How this service works

UI screens — Category frequencies + Equal-width histogram: Category frequencies + Equal-width histogram for supplied ui screens records (widget_count, render_ms). 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) a category frequency table showing how often each game_area category appears across the supplied records, and (2) an equal-width histogram dividing widget_count or render_ms values into the specified number of bins with counts per bin. Both reports are computed locally on the supplied data with no external lookups.

## 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",
     "game_area",
     "date",
     "widget_count",
     "render_ms"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "game_area": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "render_ms": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "widget_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "game_area": "group-a",
     "render_ms": 1,
     "widget_count": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "game_area": "group-b",
     "render_ms": 2,
     "widget_count": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "game_area": "group-a",
     "render_ms": 3,
     "widget_count": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "game_area": "group-b",
     "render_ms": 4,
     "widget_count": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "widget_count",
    "render_ms"
   ],
   "type": "string",
   "default": "widget_count"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ui-screens-category-frequencies-equal-width-histogram-1ad8ddb5/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)
