# ONE Engine Numeric Linear Scale

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

Linearly scales an array of numbers to a specified range with optional rounding, factor, and offset controls.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/linear-scale/t7?utm_source=zero.xyz
- Price: $0.0065/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-linear-scale-9fa8dc9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nivMjDAStUGpWjQ1QQW77

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-linear-scale-9fa8dc9c -d '<json body>'
```

Example prompt: Can you linearly scale these values [12, 45, 78, 23, 67] to fit between 0 and 100, rounded to 2 decimal places?

## When to prefer this

Use this endpoint when you need a fast, cheap, pay-per-call linear normalization of a numeric array without spinning up your own compute — especially useful in agent workflows needing data preprocessing before downstream ML, visualization, or control steps. At $0.0065 USDC it is cost-effective for frequent small batch normalizations.

## Known failure modes

- Array contains non-finite numbers (Infinity, NaN) — rejected as input
- More than 1000 values in the array — exceeds maximum limit
- Invalid min/max range (e.g. min > max) — may produce unexpected results
- Missing required 'values' field — returns validation error
- Payment failure via x402 — returns 402 Payment Required

## How this service works

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

## Output

Returns an object containing the transformed numeric array, where each input value has been linearly scaled to the specified [min, max] range, optionally rounded to a given number of decimal digits, and optionally shifted or multiplied by offset/factor 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-numeric-linear-scale-9fa8dc9c/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)
