# Numora Moving Average Computation

> Numora Moving Average Computation is a paid API for AI agents from numorapoi.orbonomy.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Computes moving averages (simple, exponential, or other types) over a numeric data array using a specified window size

## Facts

- Endpoint: POST https://numorapoi.orbonomy.xyz/api/statistics/moving-average
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-moving-average-computation-bd283079
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LC8Ov85842uK20XNYoLhI

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-computation-bd283079 -d '<json body>'
```

Example prompt: Calculate a 7-day simple moving average on this sales data: [120, 135, 142, 128, 155, 160, 148, 172, 165, 180, 190, 175, 188, 200].

## When to prefer this

Use this endpoint when you need server-side moving average computation without setting up local math libraries, especially in agent workflows requiring micropayment-gated pure math. Ideal for smoothing time series, financial price data, or sensor readings with a fixed window size. Prefer this over general-purpose code execution when you need a zero-dependency, fast, deterministic result.

## Known failure modes

- Missing required 'data' field returns validation error
- Missing required 'window' field returns validation error
- Window size larger than data array length may return error or empty result
- Invalid type string for moving average type may return error or default behavior
- Non-numeric values in data array may cause computation failure
- Payment not included or insufficient USDC causes 402 Payment Required response

## 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 success=true, a result object containing the computed moving average values (array of smoothed values aligned to the window), and a human-readable computation string describing what was calculated.

## 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-computation-bd283079/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numorapoi.orbonomy.xyz](https://www.zero.xyz/host/numorapoi.orbonomy.xyz/llms.txt)
