# Dataset Storage — Numeric Distribution + Equal-Width Histogram

> Dataset Storage — Numeric Distribution + 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-15).

Computes numeric distribution statistics and an equal-width histogram for dataset storage records (used_mb, row_count) across up to 200 supplied rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-18-079?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dataset-storage-numeric-distribution-equal-width-histogram-0500e683
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x_NrgKNJCPNTXdS9lMbv8

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 dataset-storage-numeric-distribution-equal-width-histogram-0500e683 -d '<json body>'
```

Example prompt: Can you analyze the distribution of used_mb across these dataset storage records and give me a histogram with 10 equal-width bins? Here are 50 rows with row_id, dataset_group, date, used_mb, and row_count fields.

## When to prefer this

Choose this endpoint when you need both a numeric distribution summary and an equal-width histogram for dataset storage metrics (used_mb or row_count) in a single call, without requiring live data lookup or external computation. It is ideal for profiling storage consumption patterns from pre-collected records at low cost ($0.01 for up to 200 rows). Prefer alternatives if you need outlier flagging, deduplication, or analysis of fields beyond used_mb and row_count.

## Known failure modes

- Exceeding 200 rows returns a validation error
- Missing required row fields (row_id, dataset_group, date, used_mb, row_count) causes rejection
- Invalid date format (non-YYYY-MM-DD) fails schema validation
- Bins value outside 1–30 range triggers a parameter error
- All-null values for the selected field may produce empty or degenerate distribution output
- Payment failure (insufficient USDC) results in 402 response

## How this service works

Dataset storage — Numeric distribution + Equal-width histogram: Numeric distribution + Equal-width histogram for supplied dataset storage records (used_mb, row_count). 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 for the specified field (used_mb or row_count): a numeric distribution summary (min, max, mean, median, std dev, etc.) and an equal-width histogram showing bin boundaries, midpoints, and frequency counts for the requested number of bins, all computed locally from the supplied rows.

## 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",
     "used_mb",
     "row_count"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "used_mb": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "row_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "dataset_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "used_mb": 10,
     "row_count": 1,
     "dataset_group": "group-a"
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "used_mb": 20,
     "row_count": 2,
     "dataset_group": "group-b"
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "used_mb": 15,
     "row_count": 3,
     "dataset_group": "group-a"
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "used_mb": 30,
     "row_count": 4,
     "dataset_group": "group-b"
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "used_mb",
    "row_count"
   ],
   "type": "string",
   "default": "used_mb"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dataset-storage-numeric-distribution-equal-width-histogram-0500e683/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)
