/v1/pressure
Differential pressure from flow
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}