Aller au contenu
GET /v1/describe

Descriptive statistics

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/stats-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/stats-api/v1/describe" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stats-api/v1/describe", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stats-api/v1/describe");
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/stats-api/v1/describe",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "q1": 4,
        "q3": 5.5,
        "iqr": 1.5,
        "max": 9,
        "min": 2,
        "sum": 40,
        "mean": 5,
        "mode": 4,
        "count": 8,
        "range": 7,
        "median": 4.5,
        "kurtosis": 0.940625,
        "skewness": 0.81848755,
        "harmonic_mean": 4.20175073,
        "sample_stddev": 2.13808994,
        "geometric_mean": 4.6032156,
        "sample_variance": 4.57142857,
        "population_stddev": 2,
        "population_variance": 4,
        "coefficient_of_variation": 0.42761799
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:48.928Z",
        "request_id": "ead2f6c9-1b16-42d0-be10-041398bb95b8"
    },
    "status": "ok",
    "message": "Descriptive statistics",
    "success": true
}