Naar de inhoud
GET /v1/nitrox

Nitrox MOD, EAD, best mix

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/scuba-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "ppO2 = FO2·(1+depth/10). MOD is the depth where ppO2 hits the limit (1.4 working, 1.6 contingency). EAD matches the nitrox N2 partial pressure to an air depth.",
        "inputs": {
            "o2": 0.32,
            "depth": 30,
            "ppo2_max": 1.4
        },
        "ppn2_ata": 2.72,
        "ppo2_ata": 1.28,
        "ead_meters": 24.43,
        "mod_meters": 33.75,
        "o2_percent": 32,
        "within_limit": true,
        "best_mix_o2_percent": 35,
        "ambient_pressure_ata": 4
    },
    "meta": {
        "timestamp": "2026-06-05T21:48:49.734Z",
        "request_id": "8ef1f6e7-8b21-49fc-b3d5-32c13aa11e39"
    },
    "status": "ok",
    "message": "Nitrox limits",
    "success": true
}