# Web Traffic Equal-Width Histogram

> Web Traffic 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-19).

Computes an equal-width histogram over web traffic session or conversion data, partitioning up to 200 records into user-specified bins for distribution analysis.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-web-traffic-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-traffic-equal-width-histogram-3dfec71b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DnQ6FLSa298goFc0CJjvc

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 web-traffic-equal-width-histogram-3dfec71b -d '<json body>'
```

Example prompt: Can you build an equal-width histogram for my web traffic sessions data? I have 4 rows — channel group-a on 2026-10-01 with 10 sessions, group-b on 2026-10-02 with 20 sessions, group-a on 2026-10-03 with 15 sessions, and group-b on 2026-10-04 with 30 sessions — and I want 5 bins on the sessions field.

## When to prefer this

Choose this endpoint when you need a fast, local, no-external-dependency distribution analysis of web traffic session or conversion counts — especially when you already have structured tabular records with channels and dates and want a numeric frequency histogram without sending data to an external analytics platform. Best for datasets up to 200 rows where you want equal-width binning (not quantile/equal-frequency).

## Known failure modes

- More than 200 rows submitted — request rejected
- Invalid date format (must be YYYY-MM-DD) causes row rejection
- Bins value outside 1–30 range returns validation error
- Missing required fields (row_id, channel, date, sessions, conversions) causes schema error
- All values null for selected field results in empty or degenerate histogram
- Non-numeric values in sessions/conversions fields fail type validation

## How this service works

Web traffic - Equal-width histogram: Equal-width histogram for Web traffic. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded equal-width histogram deliverable.

## Output

Returns a bounded equal-width histogram: bin boundaries, counts per bin, and frequency distribution metadata for the selected numeric field (sessions or conversions) across the supplied web traffic 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",
     "channel",
     "date",
     "sessions",
     "conversions"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "channel": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "sessions": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "conversions": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "channel": "group-a",
     "sessions": 10,
     "conversions": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "channel": "group-b",
     "sessions": 20,
     "conversions": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "channel": "group-a",
     "sessions": 15,
     "conversions": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "channel": "group-b",
     "sessions": 30,
     "conversions": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "sessions",
    "conversions"
   ],
   "type": "string",
   "default": "sessions"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-traffic-equal-width-histogram-3dfec71b/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)
