/v1/venturi
Venturi flow
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/bernoulli-api/v1/venturi" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bernoulli-api/v1/venturi", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bernoulli-api/v1/venturi");
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/bernoulli-api/v1/venturi",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Venturi: Q = Cd·A₂·√(2ΔP/(ρ(1−(A₂/A₁)²))) from continuity and Bernoulli. Cd defaults to 1 (ideal).",
"inputs": {
"area1_m2": 0.01,
"area2_m2": 0.005,
"density_kg_m3": 1000,
"density_source": "water",
"pressure_drop_pa": 1000,
"discharge_coefficient": 0.98
},
"area_ratio": 0.5,
"mass_flow_kgs": 8.001666,
"inlet_velocity_ms": 0.800167,
"throat_velocity_ms": 1.632993,
"volumetric_flow_lpm": 480.09999,
"volumetric_flow_m3s": 0.008001666
},
"meta": {
"timestamp": "2026-06-04T18:38:06.406Z",
"request_id": "3f806ff3-3df7-496c-9746-442ce4d74112"
},
"status": "ok",
"message": "Venturi flow",
"success": true
}