# ONE Engine Linear Scale (Numeric)

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

Applies a linear scaling transformation to an array of numbers, mapping values to a target range or scale with optional offset, factor, rounding, and size control.

## Facts

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

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-numeric-6ef11744 -d '<json body>'
```

Example prompt: Scale these sensor readings [12, 45, 78, 33, 90] to a 0–100 range with 2 decimal places of precision.

## When to prefer this

Choose this endpoint when you need a cheap, fast, pay-per-call linear normalization or rescaling of a numeric array — especially in autonomous agent workflows where you want deterministic math without spinning up your own compute. Ideal for preprocessing pipelines, score normalization, sensor data rescaling, or any scenario requiring min-max or factor+offset linear transforms at sub-cent cost via x402 on Base.

## Known failure modes

- Array exceeds 1000 element limit — request rejected
- Non-finite numbers (NaN, Infinity) in input values array — validation error
- Invalid type for numeric parameters (e.g. string passed as min/max) — schema error
- Payment not included or insufficient — HTTP 402 response
- 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 a JSON object containing the linearly scaled output array. Values are transformed according to the provided min/max bounds, factor, offset, and rounding (digits) parameters. The output reflects the rescaled numeric sequence, optionally resized to the requested number of elements.

## 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-numeric-6ef11744/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)
