# Community Survey Category Frequencies & Missing-Value Fill

> Community Survey Category Frequencies & Missing-Value Fill 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-04).

Computes category frequencies and fills missing values (zero/mean/median) for community survey records with response_count and invitation_count fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-news-14-112?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/community-survey-category-frequencies-missing-value-fill-2851fba4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iUtASutn1TrciQB8oyZ4k

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 community-survey-category-frequencies-missing-value-fill-2851fba4 -d '<json body>'
```

Example prompt: Analyze my community survey data for up to 4 rows — rows row-1 through row-4 across channel groups group-a and group-b with dates 2026-10-01 to 2026-10-04 — give me category frequencies for the channel_group field and fill any missing response_count values using the median method.

## When to prefer this

Use this endpoint when you have community survey data with response_count and invitation_count fields and need both a categorical frequency breakdown by channel_group AND missing-value imputation in a single $0.01 call. Prefer this over general-purpose analytics tools when you want a bundled 2-report output (frequencies + fill) for up to 200 rows with no external data dependencies.

## Known failure modes

- Exceeds 200-row limit — request rejected
- Missing required fields (row_id, channel_group, date, response_count, invitation_count) — validation error
- Invalid date format (must be YYYY-MM-DD) — pattern mismatch error
- Invalid method enum value (must be zero, mean, or median) — schema error
- Invalid field enum value (must be response_count or invitation_count) — schema error
- Empty rows array — minItems violation
- Payment failure — 0.01 USDC not processed via x402

## How this service works

Community survey — Category frequencies + Explicit missing-value fill: Category frequencies + Explicit missing-value fill for supplied community survey records (response_count, invitation_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 category frequencies report showing the count/distribution of each unique channel_group value across the supplied rows, and (2) an explicit missing-value fill report where null or missing values in the specified field (response_count or invitation_count) are replaced using the chosen method (zero, mean, or median). Both reports are computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/community-survey-category-frequencies-missing-value-fill-2851fba4/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)
