# Customer Segment Observations — Adjacent Row Changes + Secondary-Measure Weighted Mean

> Customer Segment 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-16).

Computes adjacent row changes and secondary-measure weighted mean for up to 200 customer segment observation records containing account count and revenue amount fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-16-159?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/customer-segment-observations-adjacent-row-changes-secondary-measure-2bec0f05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B_0NDmfmDamxJlC1X-TI7

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 customer-segment-observations-adjacent-row-changes-secondary-measure-2bec0f05 -d '<json body>'
```

Example prompt: Can you run adjacent row changes and weighted mean analysis on my customer segment data — I have 4 rows with company groups group-a and group-b, dates from 2026-10-01 to 2026-10-04, account counts of 10, 20, 15, and 30, and revenue amounts of 1, 2, 3, and 4? Use account_count as the field for the weighted mean.

## When to prefer this

Choose this endpoint when you need both adjacent row change analysis and a secondary-measure weighted mean computed together on customer segment data with account_count and revenue_amount fields, especially when batching up to 200 rows in a single low-cost call. Prefer it over general-purpose analytics tools when working specifically with company group segment observations and wanting two bundled statistical reports for $0.01 USDC.

## Known failure modes

- More than 200 rows submitted — exceeds maximum row limit
- Missing required fields (row_id, company_group, date, account_count, or revenue_amount) in any row
- Invalid date format (must be YYYY-MM-DD pattern)
- Numeric values outside the allowed range of -1,000,000,000,000 to 1,000,000,000,000
- Invalid field enum value (must be account_count or revenue_amount)
- Empty rows array submitted

## How this service works

Customer segment observations — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean for supplied customer segment observations records (account_count, revenue_amount). 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

Two analytical reports: (1) adjacent row changes showing the difference between consecutive rows for the selected measure, and (2) a secondary-measure weighted mean calculated across the supplied customer segment rows. Results 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",
     "company_group",
     "date",
     "account_count",
     "revenue_amount"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "account_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "company_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "revenue_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "account_count": 10,
     "company_group": "group-a",
     "revenue_amount": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "account_count": 20,
     "company_group": "group-b",
     "revenue_amount": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "account_count": 15,
     "company_group": "group-a",
     "revenue_amount": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "account_count": 30,
     "company_group": "group-b",
     "revenue_amount": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "account_count",
    "revenue_amount"
   ],
   "type": "string",
   "default": "account_count"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/customer-segment-observations-adjacent-row-changes-secondary-measure-2bec0f05/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)
