# Customer Segment Observations — Numeric Distribution + Keyed Dataset Comparison

> Customer Segment Observations — Numeric Distribution + 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-16).

Runs two local analytical reports on customer segment data: a numeric distribution analysis and a keyed dataset comparison, for up to 200 rows of account_count or revenue_amount data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-16-084?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-numeric-distribution-keyed-dataset-c348836c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8QAWJCpN0XHwF0ZnpPaCY

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-numeric-distribution-keyed-dataset-c348836c -d '<json body>'
```

Example prompt: Can you run a numeric distribution analysis and a keyed comparison on my two sets of customer segment data — the primary dataset has rows for group-a and group-b with account_count and revenue_amount from October 2026, and I want to compare it against my baseline dataset using account_count as the analysis field?

## When to prefer this

Choose this endpoint when you have structured customer segment tabular data (up to 200 rows) with account_count and revenue_amount fields and need both a numeric distribution analysis and a keyed comparison between two datasets in a single call for $0.01 USDC. Prefer this over generic analytics APIs when your data is already structured per the schema and you want two bundled reports without setting up external analytics infrastructure or sending data to a live prediction or ML service.

## Known failure modes

- More than 200 rows submitted — request rejected due to maxItems constraint
- Missing required fields (row_id, company_group, date, account_count, revenue_amount) on any row — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Field selector not one of 'account_count' or 'revenue_amount' — enum validation error
- Empty rows array — minItems constraint violation
- Numeric values outside allowed range (±1,000,000,000,000) — schema rejection
- Payment failure — x402 payment not completed, request blocked

## How this service works

Customer segment observations — Numeric distribution + Keyed dataset comparison: Numeric distribution + Keyed dataset comparison 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

Returns two independent analytical reports: (1) a numeric distribution report showing statistical spread (e.g. min, max, mean, percentiles, histogram-style bucketing) of the selected field (account_count or revenue_amount) across the input rows, and (2) a keyed dataset comparison report that matches rows between the primary and secondary datasets by row_id/company_group/date key and highlights differences in the selected numeric field. Both reports are computed locally 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"
  },
  "other": {
   "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",
       "n
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/customer-segment-observations-numeric-distribution-keyed-dataset-c348836c/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)
