# ONE Engine Linear Scale (T5)

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

Linearly rescales an array of numeric values to a target range, with optional rounding, offset, and factor controls.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/linear-scale/t5?utm_source=zero.xyz
- Price: $0.0025/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-linear-scale-t5-6f189c22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dKx5gFVTTxrQ4v6eC2SEO

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-linear-scale-t5-6f189c22 -d '<json body>'
```

Example prompt: Scale these numbers [12, 45, 7, 98, 33] to a range of 0 to 100, rounded to 2 decimal places.

## When to prefer this

Choose this endpoint when you need a simple, fast, pay-per-call linear scaling of a numeric array without setting up your own math infrastructure. Ideal for agents doing on-the-fly normalization of ML features, sensor data, or display values where a local computation would add complexity. Best for arrays up to 1000 elements needing min/max normalization with optional rounding.

## Known failure modes

- Input array exceeds 1000 elements — request rejected
- Non-finite numbers (NaN, Infinity) in the values array cause errors
- Invalid min/max range (min >= max) may produce undefined scaling behavior
- Missing required 'values' field returns a validation error
- Payment failure via x402 prevents execution

## How this service works

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

## Output

A JSON object containing the rescaled numeric values array, transformed according to the specified min/max bounds, optional factor, offset, and digit rounding. The output array maps the input values linearly into the target range.

## 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-linear-scale-t5-6f189c22/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)
