# ONE Engine T10 Moving Average Calculator

> ONE Engine T10 Moving Average Calculator 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).

Computes a T10 (10-period) moving average over a numeric array with optional normalization and transformation parameters.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/numeric/moving-average/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-t10-moving-average-calculator-b73ace75
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GYitPV1n-IoOQjYFduXt9

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-t10-moving-average-calculator-b73ace75 -d '<json body>'
```

Example prompt: Calculate the T10 moving average for these 20 weekly sales figures: [120, 135, 142, 128, 155, 163, 170, 145, 138, 160, 175, 182, 168, 155, 172, 185, 190, 178, 165, 200], using a window size of 10 and round results to 2 decimal places.

## When to prefer this

Choose this endpoint when you need a low-cost, pay-per-call moving average computation without managing infrastructure — ideal for autonomous agents that occasionally need to smooth numeric time series, normalize sensor data, or compute rolling averages in financial or analytics contexts. Prefer it over self-hosted solutions when minimizing setup overhead and paying only for actual usage matters.

## Known failure modes

- Input array exceeds 1000 element limit — request rejected
- Non-finite numbers (NaN, Infinity) in values array — validation error
- Insufficient values for the specified window size — partial or empty result
- Payment failure via x402 protocol — 402 response before computation
- Malformed JSON body — 400 bad request
- Size integer out of valid range — computation 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 smoothed moving average values computed over the input array using a T10 (10-period) window, potentially normalized or scaled according to the provided min, max, factor, offset, and digits 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-t10-moving-average-calculator-b73ace75/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)
