# ONE Engine Linear Scale (t10)

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

Applies a linear scale transformation to an array of numeric values, rescaling them to a target range with optional rounding and offset controls.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/linear-scale/t10?utm_source=zero.xyz
- Price: $0.03/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-t10-1bbf1c5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bf6E5JOUIBe_u4DjiXUZM

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-t10-1bbf1c5e -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need a fast, cheap, stateless linear normalization of a numeric array with fine-grained control over the output range, rounding, and offset — especially within an autonomous agent pipeline that already uses x402/Base micropayments. Prefer it over general-purpose math libraries when you need a hosted, pay-per-call solution requiring no infrastructure setup.

## Known failure modes

- Input array contains non-finite numbers (Infinity, NaN) — rejected as values must be finite
- Array exceeds 1000 elements — request will fail due to size limit
- Missing required 'values' field — returns validation error
- min greater than max — may produce inverted or unexpected results
- Payment not included or insufficient — HTTP 402 returned before processing

## How this service works

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

## Output

A JSON object containing the linearly scaled version of the input array, with values mapped to the specified min/max range and rounded to the requested number of digits, optionally adjusted by a scale factor and 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-linear-scale-t10-1bbf1c5e/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)
