# ONE Engine Numeric Clamp (T3)

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

Clamps an array of numbers to a specified min/max range, optionally applying scaling, rounding, and offset transformations.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/clamp/t3?utm_source=zero.xyz
- Price: $0.001/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-clamp-t3-24d86048
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WPMk8QGNFyvi6i5IBWSN4

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-clamp-t3-24d86048 -d '<json body>'
```

Example prompt: Clamp these values [3.7, -12, 0.5, 105, 8.2] to be between 0 and 10, rounded to 2 decimal places.

## When to prefer this

Use this endpoint when you need a cheap, fast, pay-per-call numeric clamping operation as part of an autonomous agent workflow, especially when you also need compound transformations (scaling, offset, rounding) applied in the same call. Prefer it over writing custom code when operating in x402-enabled agentic pipelines on Base that benefit from micropayment-gated utility APIs.

## Known failure modes

- Empty or missing 'values' array returns an error
- Array exceeds 1000 elements — rejected with validation error
- Non-finite values (NaN, Infinity) in input cause failure
- Invalid type for numeric parameters (e.g. string instead of number)
- Payment failure via x402 prevents processing
- Malformed JSON body returns 400-level error

## How this service works

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

## Output

Returns a JSON object containing the transformed array of numbers after clamping to [min, max], with optional scaling by factor, shifting by offset, and rounding to the specified number of digits. Output size can be controlled via the size parameter.

## 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-clamp-t3-24d86048/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)
