# Delivery Timing Equal-Width Histogram

> Delivery Timing 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-24).

Computes an equal-width histogram of delivery timing or distance data from up to 200 user-supplied records, with configurable bin count.

## Facts

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

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 delivery-timing-equal-width-histogram-56f6969b -d '<json body>'
```

Example prompt: Can you generate an equal-width histogram of delivery times using these 50 delivery records — route, date, delivery_minutes, distance_km — split into 10 bins, analyzing the delivery_minutes field?

## When to prefer this

Choose this endpoint when you need a fast, local equal-width frequency histogram of delivery timing or distance data for up to 200 records, with no need for external enrichment, forecasting, or advanced statistics — ideal for quick distribution summaries in logistics dashboards or batch reporting pipelines.

## Known failure modes

- Fewer than 1 row supplied — returns error
- More than 200 rows supplied — rejected, exceeds limit
- Invalid date format (not YYYY-MM-DD) — validation error
- Bin count outside 1–30 range — rejected
- Null values in the selected numeric field may reduce effective sample size
- Missing required fields (row_id, route, date, delivery_minutes, distance_km) — schema validation error

## How this service works

Delivery timing - Equal-width histogram: Equal-width histogram for Delivery timing. 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 over the selected numeric field (delivery_minutes or distance_km), including bin edges and the count of records falling into each bin, across the supplied delivery 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",
     "route",
     "date",
     "delivery_minutes",
     "distance_km"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "route": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "distance_km": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "delivery_minutes": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "route": "group-a",
     "row_id": "row-1",
     "distance_km": 1,
     "delivery_minutes": 10
    },
    {
     "date": "2026-10-02",
     "route": "group-b",
     "row_id": "row-2",
     "distance_km": 2,
     "delivery_minutes": 20
    },
    {
     "date": "2026-10-03",
     "route": "group-a",
     "row_id": "row-3",
     "distance_km": 3,
     "delivery_minutes": 15
    },
    {
     "date": "2026-10-04",
     "route": "group-b",
     "row_id": "row-4",
     "distance_km": 4,
     "delivery_minutes": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "delivery_minutes",
    "distance_km"
   ],
   "type": "string",
   "default": "delivery_minutes"
  }
 }
}
```

## More

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