# Customer Segment Observations — Equal-Width Histogram + Date by Category Pivot

> Customer Segment Observations — Equal-Width Histogram + 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-10-16).

Generates two local analytical reports — an equal-width histogram and a date-by-category pivot table — for customer segment observation data (account_count, revenue_amount) supplied in the request.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-16-173?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-date-by-category-35d6edda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w35uT65ORnuSWFwVt6PGQ

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-date-by-category-35d6edda -d '<json body>'
```

Example prompt: Run an equal-width histogram with 10 bins and a date-by-category pivot on my customer segment data — I have account_count and revenue_amount per company_group and date — analyze account_count across up to 200 rows and give me both reports.

## When to prefer this

Choose this endpoint when you need both an equal-width histogram and a date-by-category pivot for customer segment data (account_count or revenue_amount) in a single low-cost call. Ideal when data is already in hand (up to 200 rows) and you need quick local analytical summaries without live lookups or external integrations. Best when you specifically need the combination of bin-frequency distribution and category-date crosstab in one request.

## Known failure modes

- More than 200 rows submitted — request exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) causes validation error
- Missing required fields (row_id, company_group, date, account_count, or revenue_amount) causes rejection
- bins value outside 1–30 range causes validation error
- Empty rows array not accepted (minItems: 1)
- Numeric values outside ±1,000,000,000,000 range rejected
- Payment failure or insufficient USDC balance prevents processing

## How this service works

Customer segment observations — Equal-width histogram + Date by category pivot: Equal-width histogram + Date by category pivot 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) an equal-width histogram dividing the chosen field (account_count or revenue_amount) into the specified number of bins with frequency counts per bin; and (2) a date-by-category pivot table aggregating the data by date and company_group. Both reports are computed locally from the supplied rows, with no external data fetching.

## 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-date-by-category-35d6edda/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)
