/v1/sizing
Bore sizing for a target 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/sizing" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/orifice-api/v1/sizing", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/orifice-api/v1/sizing");
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/sizing",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"beta": 0.499912,
"note": "Bore solved by iteration so it gives the target flow at the allowable ΔP. ISO 5167 recommends 0.2 ≤ β ≤ 0.75 for an orifice.",
"inputs": {
"type": "orifice",
"density": 1000,
"mass_flow": 5.53,
"pipe_diameter": 0.1,
"differential_pressure": 10000,
"discharge_coefficient": 0.61
},
"required_bore_diameter_m": 0.049991,
"beta_in_recommended_range": true,
"permanent_pressure_loss_pa": 7308.1337,
"velocity_of_approach_factor": 1.032771
},
"meta": {
"timestamp": "2026-06-04T10:18:35.838Z",
"request_id": "7a740d3a-ca17-46df-b519-77e8137b523c"
},
"status": "ok",
"message": "Bore sizing",
"success": true
}