/v1/descriptive
Descriptive statistics
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/statistics-api/v1/descriptive" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/statistics-api/v1/descriptive", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/statistics-api/v1/descriptive");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/statistics-api/v1/descriptive",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"q1": 4,
"q3": 6,
"iqr": 2,
"max": 9,
"min": 2,
"sum": 40,
"mean": 5,
"mode": [
4
],
"note": "Population divides by n, sample by n−1. Quartiles by Tukey's method. Mode is null when all values are unique.",
"range": 7,
"inputs": {
"count": 8
},
"median": 4.5,
"q2_median": 4.5,
"stddev_sample": 2.13809,
"variance_sample": 4.571429,
"stddev_population": 2,
"variance_population": 4
},
"meta": {
"timestamp": "2026-06-04T18:38:14.976Z",
"request_id": "d7340679-d55e-4b90-aefd-7d0497d416eb"
},
"status": "ok",
"message": "Descriptive stats",
"success": true
}