# 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.018/call, status unknown (last checked 2026-10-02).

Applies a linear scaling transformation to an array of numeric values, mapping them to a specified range or scale factor with optional offset and digit rounding.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/linear-scale/t9?utm_source=zero.xyz
- Price: $0.018/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-82b4b599
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FCspMIqUk4wAlB92Mk_MC

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-82b4b599 -d '<json body>'
```

Example prompt: Scale these numbers [0.5, 3.2, 7.8, 1.1, 9.4] to fit between 0 and 100, rounding each result to 2 decimal places.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call linear normalization or scaling operation for arrays up to 1000 numbers without spinning up your own compute. Ideal for autonomous agents that need occasional numeric preprocessing steps — such as normalizing ML inputs, rescaling sensor data, or applying gain/offset corrections — without maintaining a data pipeline. The x402/Base micropayment model makes it cost-effective at $0.018 per call for infrequent or on-demand use cases.

## Known failure modes

- Input array exceeds 1000 elements — request rejected
- Non-finite numbers (NaN, Infinity) in values array cause validation error
- Payment failure via x402 protocol returns 402 status with payment details
- Missing required 'values' field returns 400 bad request
- Conflicting min/max or zero-range parameters may produce undefined behavior

## 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 of numbers, with values mapped according to the specified min/max range, factor, offset, and digit rounding parameters.

## 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-82b4b599/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)
