Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/seawater-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "ppt/PSU, °C, kg/m³. Density = UNESCO EOS-80 (surface, atmospheric); freezing point = Millero; S = 1.80655·Cl. For the speed of sound in seawater use a sonar API; for general colligative properties a colligative-properties API.",
        "service": "seawater-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/density": "Seawater density and σt from salinity and temperature.",
            "GET /v1/chlorinity": "Salinity ↔ chlorinity (S = 1.80655 × Cl).",
            "GET /v1/freezing-point": "Freezing point of seawater from salinity."
        },
        "description": "Seawater oceanography maths: density (UNESCO EOS-80), freezing point (Millero), and salinity ↔ chlorinity."
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:07.941Z",
        "request_id": "bb96dcec-c928-4b11-a306-70998429a6f2"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}