# Numora Moving Average API

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

Computes simple or exponential moving averages over a numeric data series given a sliding window size

## Facts

- Endpoint: POST https://numomo.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-api-d0649269
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vnvvAXp7nNUROyMwQwuMh

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-api-d0649269 -d '<json body>'
```

Example prompt: Calculate a simple moving average for this price series [120, 125, 130, 128, 135, 140, 138] using a window size of 3.

## When to prefer this

Use this endpoint when you need pure mathematical moving average computation with zero external dependencies and no data persistence. Ideal for financial price smoothing, time-series analysis, and signal processing tasks where you supply your own data array and need a fast, deterministic result. Prefer over general-purpose analytics platforms when cost, simplicity, and sub-second computation matter.

## Known failure modes

- Missing required 'data' array returns validation error
- Missing required 'window' integer returns validation error
- Window size larger than data array length may return empty or partial result
- Non-numeric values in data array may cause computation failure
- Invalid 'type' string for moving average type may fall back to default or 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 success=true, a result object containing the computed moving average values (array aligned to the input series), 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": {
   "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-api-d0649269/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numomo.vercel.app](https://www.zero.xyz/host/numomo.vercel.app/llms.txt)
