# ONE Engine Numeric Histogram (T1)

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

Computes a histogram of a numeric array, with configurable bin count, range, scaling, and digit precision.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/histogram/t1?utm_source=zero.xyz
- Price: $0.0005/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-t1-3d1b7bf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pnLd9RaaM-gdKMObTdVyc

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-t1-3d1b7bf4 -d '<json body>'
```

Example prompt: Can you compute a histogram of these 200 sales figures for me, using 10 bins between 0 and 5000? [0.0005 USDC per call via x402 on Base]

## When to prefer this

Choose this endpoint when you need a fast, cheap, per-call histogram computation over a numeric array without spinning up your own data pipeline. Ideal for autonomous agents that need to summarize distributions on-the-fly with configurable binning, scaling, and precision. At $0.0005 USDC per call, it is cost-effective for high-frequency analytical workflows.

## Known failure modes

- Array contains non-finite numbers (Infinity, NaN) — validation error
- More than 1000 values submitted — exceeds maximum input size
- Invalid bin configuration (e.g. min >= max) — computation error
- Empty values array — returns empty or error response
- Payment not processed via x402 — 402 Payment Required response

## 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 edges and corresponding counts or frequencies, describing how the input values are distributed across the configured bins, optionally scaled or offset.

## 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-t1-3d1b7bf4/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)
