# Descriptive Statistics Calculator (mean, median, mode, percentiles, outliers)

> Descriptive Statistics Calculator (mean, median, mode, percentiles, outliers) is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Computes mean, median, mode, standard deviation, full percentile breakdown (p25/p50/p75/p90/p99), and IQR-flagged outliers for a submitted numeric dataset.

## Facts

- Endpoint: POST https://x402.forgemesh.io/mean-median-mode
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/descriptive-statistics-calculator-mean-median-mode-percentiles-outliers-456b0823
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q8uNLJtbiEavJlkEMKN0H

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 descriptive-statistics-calculator-mean-median-mode-percentiles-outliers-456b0823 -d '<json body>'
```

Example prompt: Give me a full statistical summary of these response times — mean, median, mode, standard deviation, p25/p50/p75/p90/p99 percentiles, and flag any outliers: [120, 135, 142, 138, 290, 141, 139, 136, 400, 140, 137, 143].

## When to prefer this

Use this endpoint when you need exact, reproducible descriptive statistics — including outlier detection — for a numeric dataset, and cannot rely on an LLM's rounded or estimated figures. Ideal for benchmarking pipelines, reporting agents, and data summarization workflows that require precise percentile breakdowns.

## Known failure modes

- Empty or missing 'numbers' array returns an error
- Non-numeric values in the array cause a validation failure
- Extremely large arrays may time out
- Single-element arrays may produce undefined mode or standard deviation
- Payment failure (x402) blocks the request before computation

## How this service works

Descriptive statistics calculator returning mean, median, mode, standard deviation, and full percentile breakdown (p25/p50/p75/p90/p99) for a numeric dataset, plus IQR-flagged outliers. For dataset summarization, benchmarking, and reporting agents that need exact figures, not an LLM's rounded estimate.

## Output

Returns mean, median, mode, standard deviation, and a full percentile breakdown (p25, p50, p75, p90, p99) for the submitted numbers, plus a list of IQR-flagged outliers — all as exact computed figures, not estimates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "numbers": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "array or comma-separated string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mean": 27.166667,
  "median": 13.5,
  "outliers_iqr": [
   98
  ],
  "std_dev_sample": 34.749604
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/descriptive-statistics-calculator-mean-median-mode-percentiles-outliers-456b0823/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
