# Math and Statistics – Descriptive Statistics

> Math and Statistics – Descriptive Statistics is a paid API for AI agents from math-stats.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Computes descriptive statistics for a list of numbers: mean, median, mode, spread, quartiles, outliers, skewness, and kurtosis.

## Facts

- Endpoint: GET https://math-stats.x402tookit.com/stats-describe?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/math-and-statistics-descriptive-statistics-d182fe01
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v1VA8Qf6DfyCMVr4_yd_h

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 math-and-statistics-descriptive-statistics-d182fe01
```

Example prompt: Can you give me a full descriptive stats summary — mean, median, quartiles, outliers, skewness — for these numbers: 12, 15, 14, 10, 18, 22, 9, 14, 16, 100?

## When to prefer this

Use this endpoint when you need a comprehensive one-shot descriptive statistics profile for a numeric list — especially when you want outlier detection, skewness, and kurtosis alongside basic central tendency and spread metrics. Prefer it over manual computation or general-purpose code execution when speed and a structured JSON response are needed. If you only need a t-test, correlation, or confidence interval, use the sibling endpoints on this platform instead.

## Known failure modes

- Fewer than 2 or more than 500 values provided — API rejects input
- Non-numeric tokens in the values string — parse error returned
- Single unique value provided — mode and some spread metrics may be null
- Network timeout or payment failure (x402) — no result returned

## How this service works

Descriptive statistics for a list of numbers: mean, median, mode, spread, quartiles, outliers, skewness and kurtosis.

## Output

Returns a JSON object with count, sum, min, max, range, mean, median, mode(s), Q1, Q3, IQR, sample/population variance, sample/population standard deviation, standard error of the mean, coefficient of variation (%), skewness (sample), excess kurtosis (sample), outlier fences (low/high), and a list of detected outliers, plus a human-readable summary string.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "values"
     ],
     "properties": {
      "values": {
       "type": "string",
       "description": "Numbers separated by commas, spaces or semicolons (2 to 500)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "q1": {
       "type": [
        "null",
        "number"
       ]
      },
      "q3": {
       "type": [
        "null",
        "number"
       ]
      },
      "iqr": {
       "type": [
        "null",
        "number"
       ]
      },
      "max": {
       "type": [
        "null",
        "number"
       ]
      },
      "min": {
       "type": [
        "null",
        "number"
       ]
      },
      "sum": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "mean": {
       "type": [
        "null",
        "number"
       ]
      },
      "count": {
       "type": [
        "null",
        "number"
       ]
      },
      "modes": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "number"
       }
      },
      "range": {
       "type": [
        "null",
        "number"
       ]
      },
      "median": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "outliers": {
       "type": [
        "array",
        "null"
       ],
       "ite
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/math-and-statistics-descriptive-statistics-d182fe01/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from math-stats.x402tookit.com](https://www.zero.xyz/host/math-stats.x402tookit.com/llms.txt)
