# KiHustle Median Absolute Deviation Calculator

> KiHustle Median Absolute Deviation 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 the median absolute deviation (MAD) of a given array of numeric values

## Facts

- Endpoint: POST https://kihustle.tech/nexus/api/v1/json-median-abs-deviation?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-median-absolute-deviation-calculator-6754369e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9xXDfqC-udWtbFjxMhtfl

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-calculator-6754369e -d '<json body>'
```

Example prompt: Can you calculate the median absolute deviation for this set of numbers: [12.5, 14.1, 13.8, 99.2, 13.0, 14.5, 12.9]? I want to detect if that 99.2 is an outlier.

## When to prefer this

Choose this endpoint when you need a robust, outlier-resistant measure of statistical dispersion for a numeric dataset. MAD is preferred over standard deviation when your data may contain outliers, as it is less sensitive to extreme values. Ideal for anomaly detection, data quality validation, and preprocessing steps in ML pipelines.

## Known failure modes

- Empty array input returns an error or undefined result
- Non-numeric values in array cause processing failure
- Malformed request body (missing 'values' key) results in error
- Single-element array returns MAD of 0 (trivial but valid)
- Network or payment authorization failure returns 402 or 5xx

## 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 the computed median absolute deviation result and a success status, e.g. {result: <MAD value>, status: '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-calculator-6754369e/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)
