# KiHustle Median Absolute Deviation (JSON)

> KiHustle Median Absolute Deviation (JSON) is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Computes the median absolute deviation (MAD) of a numeric dataset submitted as JSON

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/json-median-abs-deviation
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-median-absolute-deviation-json-17f42b58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k_ocq2W0ntWz-j8794I6U

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-median-absolute-deviation-json-17f42b58 -d '<json body>'
```

Example prompt: Can you calculate the median absolute deviation for this dataset: [12, 15, 14, 10, 18, 22, 13, 11, 16, 19]?

## When to prefer this

Use this endpoint when you need a robust, outlier-resistant measure of statistical dispersion for a numeric dataset, especially when the data may contain extreme values that would skew standard deviation. Prefer MAD over standard deviation when dealing with non-normal distributions or when robustness to outliers is important.

## Known failure modes

- Non-numeric values in the input array cause processing errors
- Empty dataset returns an error or undefined result
- Malformed JSON body results in a 400-level error
- Very large datasets may time out
- Single-element arrays may return 0 or an edge-case result

## 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 median absolute deviation value and a 'status' field confirming success.

## Request schema (JSON Schema)

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

## 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-median-absolute-deviation-json-17f42b58/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)
