# Record Routing Analytics — Category Frequencies + Equal-Width Histogram

> Record Routing Analytics — Category Frequencies + Equal-Width Histogram 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-23).

Computes category frequency counts and an equal-width histogram for accepted_records and rejected_records fields in record routing datasets, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-19-106?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/record-routing-analytics-category-frequencies-equal-width-histogram-21bb2133
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CSvbzQ8k4loAvX7vnzTaO

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 record-routing-analytics-category-frequencies-equal-width-histogram-21bb2133 -d '<json body>'
```

Example prompt: Analyze the distribution of accepted_records in my routing dataset — use 10 histogram bins and give me category frequencies plus the equal-width histogram for these rows: group-a had 10 accepted and 1 rejected on 2024-01-01, group-b had 20 accepted and 5 rejected on 2024-01-02, and group-a had 15 accepted and 3 rejected on 2024-01-03.

## When to prefer this

Choose this endpoint when you need two complementary analytical views — category frequencies and an equal-width histogram — on record routing data (accepted vs rejected records) in a single low-cost call. It is ideal for data pipeline QA, ETL monitoring, and batch reporting scenarios where data is already available locally and no external enrichment or prediction is needed. Prefer it over general-purpose analytics tools when cost-per-call matters and your dataset is under 200 rows.

## Known failure modes

- Rows array empty or missing — minimum 1 row required
- More than 200 rows submitted — exceeds maximum limit
- Invalid date format (must match YYYY-MM-DD pattern)
- row_id missing or empty — required field
- bins value outside 1–30 range — rejected
- field value not one of accepted_records or rejected_records — enum validation error
- All values null for the chosen field — histogram cannot be computed
- Payment of 0.01 USDC not completed — request rejected

## How this service works

Record routing — Category frequencies + Equal-width histogram: Category frequencies + Equal-width histogram for supplied record routing records (accepted_records, rejected_records). 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) category frequencies showing how accepted_records or rejected_records values break down by dataset_group categories, and (2) an equal-width histogram dividing the chosen numeric field into the specified number of bins with row counts per bin. Both reports are computed locally from supplied data 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",
     "dataset_group",
     "date",
     "accepted_records",
     "rejected_records"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "dataset_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "accepted_records": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "rejected_records": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "dataset_group": "group-a",
     "accepted_records": 10,
     "rejected_records": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "dataset_group": "group-b",
     "accepted_records": 20,
     "rejected_records": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "dataset_group": "group-a",
     "accepted_records": 15,
     "rejected_records": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "dataset_group": "group-b",
     "accepted_records": 30,
     "rejected_records": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "accepted_records",
    "rejected_records"
   ],
   "type": "string",
   "default": "accepted_records"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/record-routing-analytics-category-frequencies-equal-width-histogram-21bb2133/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)
