Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/scuba-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "notes": "Metric: depth in metres of sea water, 10 m ≈ 1 bar, P = 1 + depth/10 (ata). O2/He accepted as a fraction (0.32) or percent (32). This is dive-planning maths, not a decompression-model NDL — always cross-check with tables/a computer.",
        "service": "scuba-api",
        "endpoints": {
            "GET /v1/gas": "Gas consumption, requirement and cylinder duration from a SAC/RMV rate (or derive SAC from a logged dive).",
            "GET /v1/meta": "This document.",
            "GET /v1/nitrox": "MOD, EAD, ppO2 and best mix for a nitrox blend.",
            "GET /v1/pressure": "Ambient pressure, partial pressures and equivalent narcotic depth for any mix (incl. trimix)."
        },
        "description": "Scuba-diving maths: nitrox limits (MOD, EAD, best mix, ppO2), gas planning (SAC consumption and cylinder duration) and partial pressures with equivalent narcotic depth."
    },
    "meta": {
        "timestamp": "2026-06-05T21:48:49.922Z",
        "request_id": "03c4bb8c-c97c-4dc9-98a3-8ce3ebad2563"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}