/v1/flow
Flow from differential pressure
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/orifice-api/v1/flow" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/orifice-api/v1/flow", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/orifice-api/v1/flow");
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/orifice-api/v1/flow",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "qm = Cd·ε·E·A·√(2ρΔP) per ISO 5167. Permanent loss is the unrecovered pressure downstream.",
"inputs": {
"beta": 0.5,
"type": "orifice",
"density": 1000,
"bore_diameter": 0.05,
"expansibility": 1,
"pipe_diameter": 0.1,
"differential_pressure": 10000,
"discharge_coefficient": 0.61
},
"mass_flow_kg_s": 5.532088,
"throat_velocity_m_s": 2.817469,
"volumetric_flow_l_s": 5.532088,
"volumetric_flow_m3_s": 0.005532088,
"permanent_pressure_loss_pa": 7307.2754,
"velocity_of_approach_factor": 1.032796
},
"meta": {
"timestamp": "2026-06-04T10:18:35.626Z",
"request_id": "ce898623-7381-4a56-b591-65e269b08c2c"
},
"status": "ok",
"message": "Flow from differential pressure",
"success": true
}