Ir al contenido
GET /v1/level

Pressure, % vacuum and regime

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/vacuum-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "inhg": 0.02953,
        "mbar": 1,
        "note": "Pressure across the common vacuum units, with percent vacuum relative to a 1013 mbar atmosphere and the regime: rough vacuum (1013–1 mbar), medium (1–10⁻³), high (10⁻³–10⁻⁷) and ultra-high below that. Different pumps and gauges work in different regimes — a roughing pump can't reach high vacuum.",
        "inputs": {
            "unit": "mbar",
            "pressure": 1
        },
        "pascal": 100,
        "regime": "rough (low) vacuum",
        "torr_mmhg": 0.750062,
        "percent_vacuum": 99.9013
    },
    "meta": {
        "timestamp": "2026-06-06T23:54:02.661Z",
        "request_id": "ae4bc0bd-5bc0-4263-880f-84f2df02d7d4"
    },
    "status": "ok",
    "message": "Vacuum level",
    "success": true
}