Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/scuba-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}