/v1/pressure
Partial pressures + END
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"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
}