# ONE Engine Numeric Clamp (t1)

> ONE Engine Numeric Clamp (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).

Clamps an array of numbers to specified min/max bounds, with optional scaling, offsetting, rounding, and digit precision controls.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/clamp/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-clamp-t1-6e447b32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oORTuLMNexr0ERZqHYh_S

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-t1-6e447b32 -d '<json body>'
```

Example prompt: Clamp these numbers [−50, 12.7, 300, 0.5, 99, 1000] to a min of 0 and max of 100, then round each result to 2 decimal places.

## When to prefer this

Choose this endpoint when you need a cheap, pay-per-call numeric clamping operation on up to 1000 values without setting up a local compute environment. Ideal for agents that occasionally need to sanitize, normalize, or bound numeric arrays as part of a larger pipeline, especially when combined with other ONE Engine utility calls billed via x402 on Base.

## Known failure modes

- Array exceeds 1000 element limit — request rejected
- Non-finite values (NaN, Infinity) in input array cause validation failure
- Missing required 'values' field returns error response
- Malformed JSON body returns parsing error
- Payment not included or insufficient USDC triggers x402 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 the transformed numeric array with each value clamped to the specified min/max range, optionally scaled by the given factor, shifted by the offset, and rounded to the specified number of decimal 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-clamp-t1-6e447b32/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)
