← Back to directory

Statistics calculator: mean, median, standard deviation, quartiles and percentiles

https://api.duoleads.com/v1/num/stats

Overview

Statistics calculator for a numeric array in one call: count, sum, mean, median, mode, variance and standard deviation honouring ddof (default 1, the sample form; 0 gives the population form) plus always-population *_population fields, min, max, range, the quartiles and interquartile range, skewness, kurtosis, and any requested percentiles. Percentiles use a named interpolation method so the result is reproducible rather than implementation-defined.

Protocol x402
Price $0.05
Payment Asset USD Coin
Payment Network eip155:8453
Category tools/utilities
Provider duoleads
Source bazaar
Indexed 2026-09-29 00:13:45

Health

Status healthy
Latency (p50) 670ms
Uptime (30d) 97.0%
Reliability Score 88.5/100
Last Checked 2026-10-31 07:02:28
Last Healthy 2026-10-31 07:02:28
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "values": "1,2,3,4,5" }, "type": "http" }

Output Schema

{ "example": { "data": { "ddof": 1, "iqr": 2, "kurtosis_excess": -1.1999999999999993, "max": 5, "mean": 3, "median": 3, "method": "linear", "min": 1, "mode": null, "n": 5, "outliers_tukey": [], "percentiles": { "25": 2, "50": 3, "75": 4 }, "q1": 2, "q3": 4, "range": 4, "skewness": 0, "stdev": 1.5811388300841898, "stdev_population": 1.4142135623730951, "sum": 15, "variance": 2.5, "variance_population": 2 }, "meta": { "computed_at": "2026-09-28T12:00:00.000Z", "deterministic": true, "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms", "price_usd": "0.05", "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D" }, "ok": true, "route": "/v1/num/stats", "version": "1.0.0" }, "type": "json" }