/v1/descriptive
Descriptive statistics
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}