Zum Inhalt springen
GET /v1/velocity

Torricelli efflux velocity & discharge

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "head_m": 2,
        "formula": "v = √(2·g·h); actual jet velocity = Cv·v; discharge Q = Cd·A·√(2gh).",
        "ideal_flow": {
            "flow_rate_gpm": 194.920871,
            "flow_rate_l_s": 12.297596,
            "flow_rate_m3_h": 44.271346,
            "flow_rate_m3_s": 0.012297596,
            "flow_rate_l_min": 737.8558
        },
        "actual_flow": {
            "flow_rate_gpm": 120.85094,
            "flow_rate_l_s": 7.62451,
            "flow_rate_m3_h": 27.448234,
            "flow_rate_m3_s": 0.00762451,
            "flow_rate_l_min": 457.4706
        },
        "gravity_ms2": 9.80665,
        "orifice_area_m2": 0.001963495,
        "ideal_velocity_ms": 6.263114,
        "actual_velocity_ms": 6.075221,
        "velocity_coefficient": 0.97,
        "discharge_coefficient": 0.62
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:53.161Z",
        "request_id": "71a4d7fc-70c7-4d53-b860-8579f643f4fc"
    },
    "status": "ok",
    "message": "Torricelli efflux velocity",
    "success": true
}