Zum Inhalt springen
GET /v1/sizing

Bore sizing for a target flow

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/orifice-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}