# ONE Engine Moving Average (T7)

> ONE Engine Moving Average (T7) 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).

Computes a moving average over an array of numeric values with optional normalization, scaling, and offset parameters.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/moving-average/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-moving-average-t7-84871e3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0g-f7HMX3NXMNAHF6Vs98

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-moving-average-t7-84871e3b -d '<json body>'
```

Example prompt: Can you calculate a moving average over this list of values [12, 15, 14, 10, 18, 22, 19, 16] using a window size of 3 and round to 2 decimal places?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call moving average computation without standing up your own numeric processing infrastructure. Ideal for AI agents needing on-demand statistical smoothing with optional normalization and scaling in a single API call. Prefer this over general-purpose compute services when cost predictability and x402 micropayment compatibility on Base are required.

## Known failure modes

- Array exceeds 1000 elements — request rejected
- Non-finite values (NaN, Infinity) in input array — validation error
- Window size (size) larger than input array length — undefined or empty result
- Missing required 'values' field — 400 Bad Request
- Payment not included or insufficient — 402 Payment Required

## 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 computed moving average results over the input array, reflecting any applied normalization bounds (min/max), scaling factor, offset, and rounding precision specified in the request.

## 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-moving-average-t7-84871e3b/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)
