/v1/current
Current sea temperature + waves
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/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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}