Zum Inhalt springen
GET /v1/pressure

Differential pressure from 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/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_..."}
)

Beispiel-Response

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