# Numora Moving Average Calculator

> Numora Moving Average Calculator is a paid API for AI agents from numormo.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Computes simple (SMA), exponential (EMA), or weighted (WMA) moving averages over a numeric data array with a specified window size

## Facts

- Endpoint: POST https://numormo.vercel.app/api/statistics/moving-average
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-moving-average-calculator-6d3f31a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WTOx8er_cqN3eDNY2DTRt

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 numora-moving-average-calculator-6d3f31a5 -d '<json body>'
```

Example prompt: Calculate a 14-period exponential moving average (EMA) on this closing price series: [150.2, 152.1, 149.8, 153.4, 155.0, 154.3, 156.7, 157.2, 158.0, 159.5, 160.1, 161.3, 162.0, 163.4, 164.2].

## When to prefer this

Choose this endpoint when you need server-side, dependency-free moving average computation without setting up a local math library. Ideal for AI agents that need on-demand statistical smoothing in pipelines where installing numpy/pandas is not feasible. Supports SMA, EMA, and WMA variants in a single call, making it versatile for financial, scientific, and IoT use cases. Use over generic computation services when you want a specialized, pay-per-use math API with no setup overhead.

## Known failure modes

- Missing required 'data' array or 'window' integer returns a validation error
- Window size larger than data array length may return an error or empty result
- Non-numeric values in the data array may cause computation failure
- Invalid 'type' enum value (not sma/ema/wma) causes rejection
- Empty data array returns an error

## How this service works

100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.

## Output

Returns a JSON object with a 'success' boolean, a 'result' object containing the computed moving average values (typically an array of averaged outputs aligned to the input series), and a 'computation' string describing what was calculated in human-readable form.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "window"
 ],
 "properties": {
  "data": {
   "type": "array"
  },
  "type": {
   "enum": [
    "sma",
    "ema",
    "wma"
   ],
   "type": "string"
  },
  "window": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "result",
  "computation"
 ],
 "properties": {
  "result": {
   "type": "object",
   "description": "Computation result varies by endpoint"
  },
  "success": {
   "type": "boolean",
   "description": "Always true on success"
  },
  "computation": {
   "type": "string",
   "description": "Human-readable description of what was computed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/numora-moving-average-calculator-6d3f31a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormo.vercel.app](https://www.zero.xyz/host/numormo.vercel.app/llms.txt)
