# KiHustle JSON Moving Average

> KiHustle JSON Moving Average is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Computes a simple moving average over an array of numeric values using a specified window size

## Facts

- Endpoint: POST https://kihustle.tech/nexus/api/v1/json-moving-average?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-json-moving-average-1f6a2e5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kia_XavfQlCuc8QCtT238

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 kihustle-json-moving-average-1f6a2e5c -d '<json body>'
```

Example prompt: Calculate the moving average of these values [10, 20, 30, 40, 50, 60, 70] using a window size of 3.

## When to prefer this

Use this endpoint when you need a simple, cheap ($0.002 per call) API call to compute a moving average over a numeric array without setting up local computation. It is suitable for lightweight financial, IoT sensor, or analytics smoothing tasks where a quick REST call is preferable to running custom code.

## Known failure modes

- Window size larger than input array length may produce empty or partial results
- Non-numeric values in the array may cause processing errors
- Missing required fields (values or window) will likely return a 400-level error
- Very large arrays may exceed processing limits
- Window size of 0 or negative integers may be rejected

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object with a 'result' field containing the processed moving average output and a 'status' field indicating success. The exact structure of the averaged values follows from the input array and window parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "array",
   "items": {
    "type": "number"
   }
  },
  "window": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-json-moving-average-1f6a2e5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
