Zum Inhalt springen
GET /v1/normal

Normal distribution

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/probability-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "x": 1.96,
        "sd": 1,
        "cdf": 0.97500217,
        "pdf": 0.058440944,
        "mean": 0,
        "z_score": 1.96,
        "percentile": 97.5002,
        "upper_tail": 0.024997826,
        "distribution": "normal"
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:05.984Z",
        "request_id": "83f4d450-acf3-443c-a5d4-7e28bdd83ab6"
    },
    "status": "ok",
    "message": "Normal",
    "success": true
}