/v1/daily
Daily wave & swell forecast
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/marine-api/v1/daily" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/marine-api/v1/daily", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/marine-api/v1/daily");
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/marine-api/v1/daily",
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": {
"count": 5,
"daily": [
{
"time": "2026-06-08",
"wave_height_max": 1.72,
"wave_period_max": 9.4,
"wind_wave_height_max": 0.22,
"swell_wave_height_max": 1.72,
"swell_wave_period_max": 7.95,
"wave_direction_dominant": 303,
"swell_wave_direction_dominant": 303
},
{
"time": "2026-06-09",
"wave_height_max": 1.44,
"wave_period_max": 8.95,
"wind_wave_height_max": 0.32,
"swell_wave_height_max": 1.42,
"swell_wave_period_max": 7.65,
"wave_direction_dominant": 307,
"swell_wave_direction_dominant": 307
},
{
"time": "2026-06-10",
"wave_height_max": 1.66,
"wave_period_max": 9.8,
"wind_wave_height_max": 0.3,
"swell_wave_height_max": 1.66,
"swell_wave_period_max": 8.3,
"wave_direction_dominant": 309,
"swell_wave_direction_dominant": 309
},
{
"time": "2026-06-11",
"wave_height_max": 1.56,
"wave_period_max": 9.3,
"wind_wave_height_max": 0.4,
"swell_wave_height_max": 1.56,
"swell_wave_period_max": 7.8,
"wave_direction_dominant": 312,
"swell_wave_direction_dominant": 310
},
{
"time": "2026-06-12",
"wave_height_max": 1.2,
"wave_period_max": 7.85,
"wind_wave_height_max": 0.22,
"swell_wave_height_max": 1.04,
"swell_wave_period_max": 7.45,
"wave_direction_dominant": 319,
"swell_wave_direction_dominant": 313
}
],
"location": {
"name": "Biarritz",
"region": "New Aquitaine",
"country": "France",
"latitude": 43.48055,
"longitude": -1.55684
}
},
"meta": {
"timestamp": "2026-06-08T01:20:12.058Z",
"request_id": "f9cc9734-1b9f-4928-b464-69445c6c4712"
},
"status": "ok",
"message": "Forecast retrieved successfully",
"success": true
}