# Material Libraries — Category Frequencies + Secondary-Measure Weighted Mean

> Material Libraries — Category Frequencies + 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-31).

Computes category-level frequencies and a secondary-measure weighted mean for material library records (material_count, texture_mb) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-creative-03-109?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/material-libraries-category-frequencies-secondary-measure-weighted-mean-6aa1acad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LdVYx1FonF1bYPP-MfZ0f

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 material-libraries-category-frequencies-secondary-measure-weighted-mean-6aa1acad -d '<json body>'
```

Example prompt: I have some material library records with asset groups, dates, material counts, and texture sizes — can you compute the category frequencies across asset groups and the weighted mean of material_count for up to 4 rows: row-1 on 2026-10-01 in group-a with material_count 10 and texture_mb 1, row-2 on 2026-10-02 in group-b with material_count 20 and texture_mb 2, row-3 on 2026-10-03 in group-a with material_count 15 and texture_mb 3, row-4 on 2026-10-04 in group-b with material_count 30 and texture_mb 4?

## When to prefer this

Choose this endpoint when you have tabular material library records with asset group categories and numeric measures (material_count, texture_mb) and need both a frequency distribution of categories and a weighted mean of a numeric field — all computed locally against your supplied data for a flat $0.01 USDC fee covering both reports for up to 200 rows.

## Known failure modes

- Exceeding 200 rows returns a validation error
- Missing required fields (row_id, asset_group, date, material_count, texture_mb) causes a schema rejection
- Invalid date format (non-YYYY-MM-DD) triggers a pattern validation error
- Numeric values outside the allowed range cause validation failure
- Empty rows array is rejected due to minItems:1 constraint

## How this service works

Material libraries — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean for supplied material libraries records (material_count, texture_mb). 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 asset_group value appears across the supplied rows, and (2) a secondary-measure weighted mean for the chosen field (material_count or texture_mb), computed locally without any external lookup or prediction. Results cover up to 200 input rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/material-libraries-category-frequencies-secondary-measure-weighted-mean-6aa1acad/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)
