/v1/level
Pressure, % vacuum and regime
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"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
}