# Brand Mention Inventories — Grouped Numeric Summary & Weighted Mean

> Brand Mention Inventories — Grouped Numeric Summary & 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-16).

Computes a grouped numeric summary and a source_count-weighted mean for brand mention inventory records, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-18-096?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brand-mention-inventories-grouped-numeric-summary-weighted-mean-292ab406
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q4eIyDIuI8TwYWhh0PU5D

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 brand-mention-inventories-grouped-numeric-summary-weighted-mean-292ab406 -d '<json body>'
```

Example prompt: I have a set of brand mention records for groups 'Acme' and 'Beta Corp' across October 2026 — can you give me a grouped numeric summary and a source_count-weighted mean of mention_count for all of them?

## When to prefer this

Choose this endpoint when you have a batch of brand mention inventory records (up to 200 rows) grouped by company and need both a grouped descriptive summary and a weighted mean in a single call. It is purpose-built for brand/media monitoring analytics without requiring any live data lookup or external enrichment. Prefer it over general-purpose analytics tools when you want a low-cost ($0.01), deterministic, offline computation on your own supplied data.

## Known failure modes

- Empty or missing rows array returns an error
- More than 200 rows submitted exceeds the limit and will be rejected
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Null values in both mention_count and source_count for all rows may produce undefined weighted mean
- Invalid field enum value (anything other than 'mention_count' or 'source_count') returns a validation error
- Payment of 0.01 USDC not completed results in 402 Payment Required

## How this service works

Brand mention inventories — Grouped numeric summary + Secondary-measure weighted mean: Grouped numeric summary + Secondary-measure weighted mean for supplied brand mention inventories records (mention_count, source_count). 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 grouped numeric summary (e.g. count, min, max, mean, sum) of the selected field broken down by company_group, and (2) a weighted mean of that field using the secondary measure (source_count or mention_count) as the weight, also grouped. Covers up to 200 supplied rows with no external data lookup.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brand-mention-inventories-grouped-numeric-summary-weighted-mean-292ab406/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)
