# Market Survey Observations — Adjacent Row Changes + Secondary-Measure Weighted Mean

> Market Survey Observations — Adjacent Row Changes + 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-15).

Computes adjacent row-to-row changes and a sample-weight-based weighted mean for up to 200 market survey observation records in a single call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-06-159?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-adjacent-row-changes-secondary-measure-f57204a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kpZ-0e5b8n7ie_dTIaYno

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-adjacent-row-changes-secondary-measure-f57204a2 -d '<json body>'
```

Example prompt: I have 4 rows of market survey data — row-1 for group-a on 2026-10-01 with respondent_count 10 and sample_weight 1, row-2 for group-b on 2026-10-02 with respondent_count 20 and sample_weight 2, row-3 for group-a on 2026-10-03 with respondent_count 15 and sample_weight 3, and row-4 for group-b on 2026-10-04 with respondent_count 30 and sample_weight 4 — can you compute both the adjacent row changes and the sample-weight weighted mean for the respondent_count field?

## When to prefer this

Choose this endpoint when you need both a row-over-row change series and a weighted mean computed together in a single paid call on market survey data with respondent counts and sample weights. It is ideal for offline/batch analytical tasks on supplied data (no external data fetched), and is cost-effective at $0.01 for two reports covering up to 200 rows.

## Known failure modes

- Submitting more than 200 rows returns an error — batch must be split
- Missing required fields (row_id, date, company_group) cause validation failure
- Invalid date format (not YYYY-MM-DD) causes rejection
- Null values in the selected field may affect weighted mean calculation
- Values outside the allowed numeric range trigger schema validation errors

## How this service works

Market survey observations — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean 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: (1) adjacent row-to-row changes for the selected field (respondent_count or sample_weight) across the supplied rows, and (2) a weighted mean of the selected field using the secondary measure (sample_weight) as weights — all computed locally on the supplied data without any external lookup.

## 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-adjacent-row-changes-secondary-measure-f57204a2/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)
