# KiHustle JSON Moving Average Calculator

> KiHustle JSON Moving Average Calculator 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 a numeric array with a specified window size, returning smoothed values as JSON

## Facts

- Endpoint: POST https://kihustle.tech/bot-bazaar/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-calculator-826585eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e56z6UigR8lu4QJXBU96K

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-calculator-826585eb -d '<json body>'
```

Example prompt: Can you calculate a 5-period moving average over these values: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call moving average computation without spinning up your own statistical library. It is ideal for agents that occasionally need to smooth time-series data — such as prices, sensor readings, or revenue figures — and want a simple JSON API rather than embedding numeric processing code. Best for straightforward simple moving average (SMA) needs with a fixed window.

## Known failure modes

- Invalid or empty values array returns an error
- Window size larger than the input array length causes failure
- Non-numeric values in the array may cause processing errors
- Window size of zero or negative integer likely returns an error
- Missing required fields (values or window) returns a validation error

## 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 computed moving average values and a 'status' field indicating success. The smoothed array will have fewer elements than the input, reduced by (window - 1) entries.

## 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-calculator-826585eb/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)
