# ONE Engine Numeric Histogram (t2)

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

Computes a histogram over an array of up to 1000 numeric values, with optional binning controls such as bin count, min/max clamps, scaling factor, and offset.

## Facts

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

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-t2-fcf6e90e -d '<json body>'
```

Example prompt: Can you compute a histogram over these 200 sensor readings I have, using 10 bins between 0 and 100, rounded to 2 decimal places?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call numeric histogram computation without standing up your own compute infrastructure. It is well-suited for AI agents that occasionally need to bin numeric data on demand at very low cost ($0.0007 per call), without requiring a full data science stack or persistent service.

## Known failure modes

- Input array exceeds 1000 values — request rejected
- Non-finite (NaN, Infinity) values in input array cause errors
- min >= max causing degenerate bin range
- size <= 0 or non-integer bin count rejected
- Payment not provided or insufficient — HTTP 402 returned
- Empty values array returns empty or trivial histogram

## 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 bin data — typically bin edges, bin counts or frequencies representing how the input values are distributed across the specified range and number of bins.

## 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-t2-fcf6e90e/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)
