# Market Survey Observations — IQR Outlier Flags + Date by Category Pivot

> Market Survey Observations — IQR Outlier Flags + Date by Category Pivot 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).

Analyzes market survey observation records to produce two reports: IQR-based outlier flags and a date-by-category pivot, for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-06-178?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/market-survey-observations-iqr-outlier-flags-date-by-category-pivot-85014fc1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qEfpXer0VTY0cOTahpTXR

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-iqr-outlier-flags-date-by-category-pivot-85014fc1 -d '<json body>'
```

Example prompt: I have 150 rows of market survey data with respondent_count and sample_weight values across company groups and dates — can you run IQR outlier detection and a date-by-category pivot on the respondent_count field for me?

## When to prefer this

Choose this endpoint when you need simultaneous IQR outlier detection AND a date-by-category pivot on market survey data in a single $0.01 call covering up to 200 rows. It is ideal for survey QA workflows where you want to both flag anomalous respondent counts or sample weights and understand how those metrics distribute across company groups over time. Prefer it over single-report alternatives when you need both analyses without making two separate API calls.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Missing required fields (row_id, company_group, date, respondent_count, sample_weight) on any row
- Date field does not match YYYY-MM-DD pattern — validation error
- Field enum value not one of 'respondent_count' or 'sample_weight'
- Empty rows array submitted — minimum 1 row required
- Numeric values outside allowed range (±1,000,000,000,000) rejected

## How this service works

Market survey observations — IQR outlier flags + Date by category pivot: IQR outlier flags + Date by category pivot 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 for the supplied market survey rows: (1) IQR outlier flags identifying which rows have statistically anomalous values for the selected field (respondent_count or sample_weight), and (2) a date-by-category pivot table aggregating the selected field across company groups and dates. All analysis is performed locally on the supplied data with no external lookups.

## 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
  },
  "field": {
   "enum": [
    "respondent_count",
    "sample_weight"
   ],
   "type": "string",
   "default": "respondent_count"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-survey-observations-iqr-outlier-flags-date-by-category-pivot-85014fc1/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)
