# Z-Score & IQR Outlier Detector

> Z-Score & IQR Outlier Detector is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Detects anomalous data points in a numeric series using both Z-score thresholds and Tukey 1.5x IQR fence methods.

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/zscore-iqr-outlier-detect?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/z-score-iqr-outlier-detector-fa49a803
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2JvBMcdheBFg8jsXhZIkY

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 z-score-iqr-outlier-detector-fa49a803
```

Example prompt: Can you check this list of numbers for outliers using both Z-score and IQR methods: 12, 15, 14, 10, 13, 11, 99, 14, 12, 13?

## When to prefer this

Choose this endpoint when you need dual-method statistical outlier detection (Z-score and IQR together) on a simple numeric series without setting up a local stats library. Ideal for quick data quality checks, pre-processing pipelines, or validating experiment results in an agentic workflow where a $0.01/call micro-payment is acceptable.

## Known failure modes

- Missing or malformed 'series' query parameter returns an error
- Non-numeric characters in the series cause a parse error
- Too few data points (fewer than 3-4) may produce unreliable or error results
- Empty series input returns an error
- Payment failure or 402 response if x402 payment is not properly handled

## How this service works

Detect anomalous data points in a numeric series using both Z-score thresholds and Tukey 1.5x IQR fences.

## Output

Returns the results of both Z-score threshold analysis and Tukey 1.5x IQR fence analysis on the input numeric series, identifying which data points are flagged as outliers by each method, along with their indices and values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "series": {
       "type": "string",
       "description": "Comma-separated numeric values"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/z-score-iqr-outlier-detector-fa49a803/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
