/v1/pressure
Differential pressure from flow
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/orifice-api/v1/pressure" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/orifice-api/v1/pressure", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/orifice-api/v1/pressure");
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/pressure",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "ΔP = (qm/(Cd·ε·E·A))²/(2ρ). The permanent loss is what the meter costs in unrecovered pressure.",
"inputs": {
"beta": 0.5,
"type": "orifice",
"density": 1000,
"mass_flow": 5.53,
"bore_diameter": 0.05,
"pipe_diameter": 0.1,
"discharge_coefficient": 0.61
},
"differential_pressure_pa": 9992.4525,
"differential_pressure_kpa": 9.992453,
"permanent_pressure_loss_pa": 7301.7602,
"velocity_of_approach_factor": 1.032796
},
"meta": {
"timestamp": "2026-06-04T10:18:35.723Z",
"request_id": "7da58b28-73a7-475e-aaee-d8f8ac8c1a30"
},
"status": "ok",
"message": "Pressure from flow",
"success": true
}