# Customer Segment Observations — Equal-Width Histogram + IQR Outlier Flags

> Customer Segment Observations — Equal-Width Histogram + IQR Outlier Flags 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 equal-width histogram distribution and IQR-based outlier flags for customer segment observation records (account_count or revenue_amount) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-16-170?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-equal-width-histogram-iqr-outlier-flags-a1788aba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uenWUF5ayiGjJRRckFr3t

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-equal-width-histogram-iqr-outlier-flags-a1788aba -d '<json body>'
```

Example prompt: Run an equal-width histogram with 10 bins and IQR outlier flagging on my customer segment data for the revenue_amount field — here are my rows: row-1 group-a 2024-01-01 account_count=50 revenue_amount=1200, row-2 group-b 2024-01-02 account_count=80 revenue_amount=9800, row-3 group-a 2024-01-03 account_count=45 revenue_amount=1100.

## When to prefer this

Choose this endpoint when you have up to 200 customer segment observation records and need both a distribution histogram and IQR outlier detection in a single paid call for either account_count or revenue_amount fields. It is well-suited for lightweight, self-contained statistical QA on tabular customer segment data without needing an external analytics platform.

## Known failure modes

- More than 200 rows submitted — exceeds maxItems limit
- Invalid date format in rows — must match YYYY-MM-DD pattern
- Missing required row fields (row_id, company_group, date, account_count, revenue_amount)
- Bin count outside 1–30 range
- Invalid field selector — must be 'account_count' or 'revenue_amount'
- Null values in the selected numeric field may affect histogram or IQR calculations

## How this service works

Customer segment observations — Equal-width histogram + IQR outlier flags: Equal-width histogram + IQR outlier flags 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 analytical reports: (1) an equal-width histogram showing how values of the selected field (account_count or revenue_amount) are distributed across the specified number of bins, and (2) IQR-based outlier flags identifying which rows fall outside the interquartile range boundaries. Both reports are generated from the supplied row data using local analytical engines with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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-equal-width-histogram-iqr-outlier-flags-a1788aba/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)
