/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}