# JSON Histogram Binner

> JSON Histogram Binner is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-22).

Bins an array of numeric values into a specified number of histogram buckets and returns the binned distribution as JSON.

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/json-histogram-binner?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-histogram-binner-dc687b69
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1ua0qHS4gEqKf-JjexTqW

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 json-histogram-binner-dc687b69 -d '<json body>'
```

Example prompt: Can you bin these numbers [1.2, 3.4, 2.1, 5.6, 4.8, 3.3, 2.9, 0.5, 4.1, 3.7] into 5 histogram buckets and tell me how many values fall in each bin?

## When to prefer this

Choose this endpoint when you need a quick, serverless computation to bin raw numeric data into histogram buckets without standing up your own statistics library. Useful in data pipelines, pre-visualization steps, or agent workflows that need frequency distributions on the fly from arbitrary numeric arrays.

## Known failure modes

- Empty values array returns an error or empty result
- Non-integer bin count causes validation failure
- Bins count of 0 or negative integer is rejected
- Non-numeric items in values array cause a parse error
- Very large arrays may time out or hit payload size limits

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object with status 'success' and a result field containing the histogram bin assignments, bin edges, and/or frequency counts for the provided numeric values across the specified number of bins.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer"
  },
  "values": {
   "type": "array",
   "items": {
    "type": "number"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-histogram-binner-dc687b69/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
