Zum Inhalt springen
GET /v1/opening

Required valve opening

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Linear opening = Kv/Kvs. Equal-percentage opening = 1 + ln(Kv/Kvs)/ln(R). Aim for 20–80 % travel at normal flow.",
        "inputs": {
            "rated_kv": 20,
            "operating_kv": 7.07,
            "rangeability": 50
        },
        "kv_ratio": 0.3535,
        "linear_opening_percent": 35.35,
        "equal_percentage_opening_percent": 73.4186
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:26.001Z",
        "request_id": "d90a89cb-4cd6-4e62-a3b9-33599f939f23"
    },
    "status": "ok",
    "message": "Valve opening",
    "success": true
}