# ONE Engine Numeric Histogram

> ONE Engine Numeric Histogram is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0065/call, status unknown (last checked 2026-10-02).

Computes a frequency histogram over an array of numeric values with configurable bin count, range, scaling, and rounding.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/histogram/t7?utm_source=zero.xyz
- Price: $0.0065/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-numeric-histogram-9bca52d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8uLE6z9luHIErEQkjQGYj

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 one-engine-numeric-histogram-9bca52d6 -d '<json body>'
```

Example prompt: Take these 200 sensor readings and compute a histogram with 20 bins, ranging from 0 to 100, rounded to 2 decimal places: [values list].

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call histogram computation over a numeric array without standing up your own statistics infrastructure. Ideal for autonomous agents that occasionally need to summarize distributions on demand at very low cost ($0.0065/call) without managing API keys or subscriptions. If you need full statistical moments (mean, variance, skew) rather than bin counts, look for a stats endpoint instead.

## Known failure modes

- Array exceeds 1000 elements — rejected with error
- Non-finite values (NaN, Infinity) in input array — may cause computation error
- min >= max when both specified — invalid range error
- Payment not included or insufficient — 402 Payment Required
- Malformed JSON body — 400 Bad Request

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

Returns a histogram object with bin boundaries and frequency counts for each bucket, covering the specified or auto-detected numeric range across the requested number of bins, with optional scaling and offset applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "values"
 ],
 "properties": {
  "max": {
   "type": "number"
  },
  "min": {
   "type": "number"
  },
  "size": {
   "type": "integer"
  },
  "digits": {
   "type": "integer"
  },
  "factor": {
   "type": "number"
  },
  "offset": {
   "type": "number"
  },
  "values": {
   "type": "array",
   "description": "Finite numbers, maximum 1000"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-numeric-histogram-9bca52d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
