# ONE Engine Numeric Histogram (T5)

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

Computes a histogram over a list of numeric values, with optional binning controls like bin count, min/max range, scaling factor, offset, and decimal digit rounding.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/histogram/t5?utm_source=zero.xyz
- Price: $0.0025/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-t5-eb4fa24e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MkSiMJlcCVvMF3bKhQwLP

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-t5-eb4fa24e -d '<json body>'
```

Example prompt: Take these 200 temperature readings and build a histogram with 20 bins between 0 and 100, rounded to 2 decimal places: [values array].

## When to prefer this

Choose this endpoint when you need a lightweight, cheap, pay-per-call histogram computation without standing up a statistics library or data pipeline. Ideal for autonomous agents that periodically need to summarize numeric distributions — sensor data, financial returns, scores — with configurable bin ranges and rounding, paying fractions of a cent per call over x402 on Base.

## Known failure modes

- Missing required 'values' array returns a 400-level error
- More than 1000 values in the array may be rejected or truncated
- Non-finite numbers (NaN, Infinity) in the values array may cause errors
- Invalid type for 'size' (non-integer) returns a schema validation error
- Insufficient USDC balance or payment failure returns HTTP 402
- Network timeout on the Cloudflare Worker returns 5xx

## How this service works

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

## Output

Returns a JSON object containing histogram bins and the count of input values that fall into each bin, reflecting the configured binning parameters (size, min, max, factor, offset, digits).

## 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-t5-eb4fa24e/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)
