Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/orifice-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/orifice-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/orifice-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/orifice-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "notes": "SI units: diameters in metres, pressure in pascals, density in kg/m³, flow in kg/s or m³/s. Default Cd: orifice 0.61, venturi 0.984, nozzle 0.96. ε=1 assumes incompressible flow.",
        "service": "orifice-api",
        "formulae": {
            "beta": "β = d/D",
            "mass_flow": "qm = Cd·ε·E·A·√(2ρΔP),  E = 1/√(1−β⁴),  A = π/4·d²",
            "permanent_loss": "Δϖ = (√(1−β⁴(1−Cd²)) − Cd·β²)/(√(1−β⁴(1−Cd²)) + Cd·β²)·ΔP"
        },
        "endpoints": {
            "GET /v1/flow": "Mass and volumetric flow from the measured differential pressure across the meter.",
            "GET /v1/meta": "This document.",
            "GET /v1/sizing": "Required bore diameter (and beta) for a target flow at an allowable pressure drop.",
            "GET /v1/pressure": "Differential pressure required for a given flow, plus the permanent pressure loss."
        },
        "description": "Differential-pressure flow-meter calculator (ISO 5167) for orifice plates, venturi tubes and flow nozzles: flow from ΔP, ΔP from flow, and bore sizing."
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:35.935Z",
        "request_id": "a1ed82a6-cc59-46e2-8fe7-9fcc0600599e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}