# ONE Engine Numeric Round (t4)

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

Rounds an array of numbers to a specified number of decimal digits, with optional scaling by factor and offset, min/max clamping, and output size control.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/round/t4?utm_source=zero.xyz
- Price: $0.0015/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-round-t4-4995c63e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r5gzs2eD4M8HU5z1SBNpB

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-round-t4-4995c63e -d '<json body>'
```

Example prompt: Round these numbers [1.2345, 9.8765, 3.14159, 42.001] to 2 decimal places, clamping the results between 1 and 10.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call numeric rounding and normalization utility that also supports scaling, offsetting, and clamping in a single step, without standing up your own math service. Ideal for AI agents running in serverless pipelines on Base that need deterministic numeric transformations at $0.0015 per call.

## Known failure modes

- Array exceeds 1000 element limit — request rejected
- Non-finite values (NaN, Infinity) in the input array — may cause errors or be filtered
- Invalid digits parameter (negative or non-integer) — malformed request error
- Payment failure via x402 — 402 response, call not executed
- Empty values array — may return empty result or error

## How this service works

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

## Output

Returns an object containing the processed array of numbers, each rounded to the specified number of decimal digits, optionally scaled by a factor, shifted by an offset, and clamped within min/max bounds. Output size can also be controlled.

## 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-round-t4-4995c63e/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)
