Zum Inhalt springen
GET /v1/current

Current sea temperature + waves

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "time": "2026-05-30T11:15",
        "waves": {
            "height_m": 2.1,
            "period_s": 9.4,
            "direction_deg": 299,
            "swell_height_m": 1.5,
            "swell_period_s": 6,
            "wind_wave_height_m": 0.6
        },
        "latitude": 36.625,
        "timezone": "America/Los_Angeles",
        "longitude": -122.04166,
        "sea_temperature": {
            "celsius": 14.6,
            "fahrenheit": 58.3
        }
    },
    "meta": {
        "timestamp": "2026-05-30T18:17:04.429Z",
        "request_id": "8a572442-0949-464f-808d-e0cf6a956b65"
    },
    "status": "ok",
    "message": "Current sea conditions retrieved",
    "success": true
}