# Market Survey Observations — Category Frequencies & Keyed Dataset Comparison

> Market Survey Observations — Category Frequencies & Keyed Dataset Comparison 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-15).

Analyzes up to 200 market survey observation records to produce two reports: category frequency distributions and a keyed comparison between two datasets, using local analytical engines.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-06-111?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market-survey-observations-category-frequencies-keyed-dataset-1d1a9143
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PFcRixI5oN-TiWbFGsmT1

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 market-survey-observations-category-frequencies-keyed-dataset-1d1a9143 -d '<json body>'
```

Example prompt: Can you run category frequency and dataset comparison reports on these two sets of market survey records? The primary dataset has 4 rows — group-a on 2026-10-01 with 10 respondents and weight 1, group-b on 2026-10-02 with 20 respondents and weight 2, group-a on 2026-10-03 with 15 respondents and weight 3, group-b on 2026-10-04 with 30 respondents and weight 4 — and compare them against a second dataset with slightly different respondent counts (21 and 17 instead of 20 and 15).

## When to prefer this

Choose this endpoint when you need two simultaneous analytical reports — category frequency distributions and keyed dataset comparison — on market survey observation data with up to 200 rows, without needing real-time lookups, predictions, or external data enrichment. It is ideal for offline batch analysis of survey data where cost efficiency matters ($0.01 USDC for both reports). Prefer it over general-purpose analytics when your data specifically includes respondent_count and sample_weight fields organized by company_group and date.

## Known failure modes

- Input arrays exceed 200 rows — request will be rejected
- Missing required fields (row_id, company_group, date, respondent_count, sample_weight) cause validation errors
- Date fields not matching YYYY-MM-DD pattern cause schema validation failure
- row_id values exceeding 80 characters are rejected
- Null numeric values for respondent_count or sample_weight may affect aggregation outputs
- Empty rows array (minItems: 1 not met) causes request failure

## How this service works

Market survey observations — Category frequencies + Keyed dataset comparison: Category frequencies + Keyed dataset comparison for supplied market survey observations records (respondent_count, sample_weight). 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 generated from supplied data using local engines: (1) a category frequencies report showing how often each company_group category appears along with aggregated respondent_count and sample_weight figures, and (2) a keyed dataset comparison report that aligns rows from the primary and secondary datasets by key and highlights differences in respondent_count and sample_weight values. No external data sources or live lookups are used.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-survey-observations-category-frequencies-keyed-dataset-1d1a9143/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)
