# Saylor Innovations Descriptive Statistics API

> Saylor Innovations Descriptive Statistics API is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Computes descriptive statistics (mean, median, mode, standard deviation, quartiles, percentiles, IQR, min, max, sum) for a comma-separated list of up to 1,000 numbers

## Facts

- Endpoint: GET https://saylorinnovations.com/api/math/stats?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-descriptive-statistics-api-e915ebc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Njkql-s0g6tHa3pchnpf9

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 saylor-innovations-descriptive-statistics-api-e915ebc3
```

Example prompt: Can you calculate the mean, median, standard deviation, quartiles, and percentiles for these numbers: 12, 15, 15, 18, 22, 22, 22, 31, 40, 95?

## When to prefer this

Choose this endpoint when you need a full descriptive statistics summary (not just a single metric) for a numeric dataset of up to 1,000 values in a single API call, especially when you need quartiles, percentiles, IQR, and standard deviation together without writing custom code or spinning up a data processing environment.

## Known failure modes

- Invalid characters in values string (non-numeric) returns an error
- Empty values parameter or missing required 'values' query param returns a validation error
- More than 1,000 numbers submitted may be rejected or truncated
- Non-finite numbers (Infinity, NaN) rejected by pattern validation

## How this service works

Descriptive statistics for a list of numbers - mean, median, mode, standard deviation, quartiles and percentiles

## Output

A JSON object containing count, sum, mean, median, modes array, min, max, range, population standard deviation, sample standard deviation, sample variance, Q1, Q3, IQR, P90, P99, and the timestamp of the calculation.

## 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",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "values"
     ],
     "properties": {
      "values": {
       "type": "string",
       "pattern": "^[-0-9.eE,;\\s]+$",
       "examples": [
        "12,15,15,18,22,22,22,31,40,95"
       ],
       "description": "Comma-separated list of 1 to 1,000 finite numbers"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "count",
      "mean",
      "median"
     ],
     "properties": {
      "q1": {
       "type": "number",
       "description": "First quartile (25th percentile)"
      },
      "q3": {
       "type": "number",
       "description": "Third quartile (75th percentile)"
      },
      "iqr": {
       "type": "number",
       "description": "Interquartile range, q3 minus q1"
      },
      "max": {
       "type": "number",
       "description": "Largest value"
      },
      "min": {
       "type": "number",
       "description": "Smallest value"
      },
      "p90": {
       "type": [
        "number",
        "null"
       ]
      },
      "p99": {
       "type": [
        "number",
        "null"
       ]
      },
      "sum": {
       "type": "number",
       "description": "Sum of all values"
      },
      "mean": {
       "type": "number",
       "description": "Arithmetic mean"
      },
      "count": {
       "type": "number",
       "description": "How many values were analysed"
      },
      "modes": {
       "type": "array",
       "items": {
        "type": "number"
       },
       "description": "Most frequent values; empty when all are unique"
      },
      "range": {
       "type": [
        "number",
        "null"
       ],
       "description": "Range covered by the data"
      },
      "median": {
       "type": "number",
       "description": "Middle value (50th percentile)"
      },
      "met
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-descriptive-statistics-api-e915ebc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
