Naar de inhoud
GET /v1/meta

Spec

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

Voorbeeldrespons

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

{
    "data": {
        "notes": "Imperial: volume ft³, airflow CFM, area ft², duct size inches, velocity fpm (also m/s and m³/h). ASHRAE office defaults Rp = 5, Ra = 0.06.",
        "service": "ventilation-api",
        "formulae": {
            "air_changes": "ACH = CFM × 60 / volume(ft³)",
            "required_cfm": "CFM = people·Rp + area·Ra",
            "duct_velocity": "V(fpm) = CFM / area(ft²)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/air-changes": "ACH ⇄ CFM ⇄ room volume — supply any two.",
            "GET /v1/required-cfm": "ASHRAE 62.1 outdoor airflow from people and floor area.",
            "GET /v1/duct-velocity": "Air velocity in a round or rectangular duct from the flow."
        },
        "description": "Ventilation and airflow calculator: air changes per hour from flow and room volume, ASHRAE required ventilation from occupancy and area, and duct air velocity from flow and duct size."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:02.284Z",
        "request_id": "75c8dd85-20a6-4bd9-b7c5-bb60d10bdb33"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}