Naar de inhoud
GET /v1/air-changes

Air changes per hour

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "ach": 12,
        "cfm": 200,
        "note": "ACH = CFM × 60 / volume(ft³). Air changes per hour is how many times the room's air is fully replaced each hour.",
        "inputs": {
            "solved_for": "ach",
            "volume_ft3": 1000
        },
        "volume_ft3": 1000,
        "airflow_m3h": 339.8022
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:01.952Z",
        "request_id": "e54036be-e3a1-474f-885d-ef3766764616"
    },
    "status": "ok",
    "message": "Air changes",
    "success": true
}