Ir al contenido
GET /v1/pressure

Partial pressures + END

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/scuba-api

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

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

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

{
    "data": {
        "note": "Ambient pressure P = 1 + depth/10 (ata); each gas's partial pressure = fraction·P. END matches the N2 narcosis to an air depth — helium is non-narcotic, so a trimix lowers it.",
        "inputs": {
            "he": 0,
            "o2": 0.21,
            "depth": 40
        },
        "pphe_ata": 0,
        "ppn2_ata": 3.95,
        "ppo2_ata": 1.05,
        "n2_fraction": 0.79,
        "ambient_pressure_ata": 5,
        "equivalent_narcotic_depth_meters": 40
    },
    "meta": {
        "timestamp": "2026-06-05T21:48:49.836Z",
        "request_id": "e91d8f76-09ea-42d2-bcde-977188cca88b"
    },
    "status": "ok",
    "message": "Partial pressures",
    "success": true
}