# Time Entries Equal-Width Histogram

> Time Entries 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 an equal-width histogram over a numeric field (hours or billable_hours) from up to 200 time entry records, returning bin counts and boundaries.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-time-entries-histogram?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/time-entries-equal-width-histogram-aae884e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BYwWcQ2FMdb69qllvuPG_

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 time-entries-equal-width-histogram-aae884e2 -d '<json body>'
```

Example prompt: Can you build an equal-width histogram of the hours field across these 50 time entries using 10 bins? Here's the data: [row_id, project, date, hours, billable_hours for each row].

## When to prefer this

Choose this endpoint when you have raw time entry records and need a quick frequency distribution (histogram) of hours or billable_hours without setting up a local analytics pipeline. It is ideal for small-to-medium datasets (up to 200 rows), requires no external data enrichment, and delivers results in a single low-cost call at $0.01 USDC. Prefer alternatives if you need statistical summaries beyond histograms, forecasting, or processing more than 200 records.

## Known failure modes

- Empty or missing rows array returns an error
- rows exceeding 200 items are rejected
- invalid date format (not YYYY-MM-DD) causes validation failure
- bins value outside 1–30 range is rejected
- null values in the selected numeric field may affect bin counts or be excluded
- field enum value not matching 'hours' or 'billable_hours' causes rejection

## How this service works

Time entries - Equal-width histogram: Equal-width histogram for Time entries. 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 an equal-width histogram with up to 30 bins for the selected numeric field (hours or billable_hours), including bin boundaries (min/max of each bin) and the count of records falling within each bin. No external enrichment is performed — all computation is local to the supplied records.

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

## More

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