GET /marine/forecast
获取多天海洋天气预报,含逐小时波高、波向、波周期和涌浪预测。最多可配置 7 天。适用于规划航行路线、安排海上作业、安排冲浪时间和构建海洋安全预警系统。数据来自 Open-Meteo 海洋预报模型。
lat
必填
Latitude
lon
必填
Longitude
days
可选
默认: 7
Days
| 名称 | 必填 | 默认值 | 描述 |
|---|---|---|---|
lat |
是 | - | Latitude |
lon |
是 | - | Longitude |
days |
否 | 7 | Days |
curl "https://nordapi.ee/api/v1/marine/forecast?lat=59.9&lon=10.7"
curl "https://nordapi.ee/api/v1/marine/forecast?lat=59.9&lon=10.7"
curl "https://nordapi.ee/api/v1/marine/forecast?lat=-8.72&lon=115.17&days=3"
curl "https://nordapi.ee/api/v1/marine/forecast?lat=56.0&lon=3.0&days=5"
{
"data": {
"daily": {
"swell_wave_height_max": [
0.14,
0.0,
0.04,
null,
null,
null,
null
],
"time": [
"2026-04-05",
"2026-04-06",
"2026-04-07",
"2026-04-08",
"2026-04-09",
"2026-04-10",
"2026-04-11"
],
"wave_direction_dominant": [
157,
294,
343,
null,
null,
null,
null
],
"wave_height_max": [
0.36,
0.42,
0.24,
null,
null,
null,
null
],
"wave_period_max": [
2.1,
2.35,
1.9,
null,
null,
null,
null
],
"wind_wave_height_max": [
0.36,
0.42,
0.24,
null,
null,
null,
null
]
},
"daily_units": {
"swell_wave_height_max": "m",
"time": "iso8601",
"wave_direction_dominant": "°",
"wave_height_max": "m",
"wave_period_max": "s",
"wind_wave_height_max": "m"
},
"elevation": 0.0,
"generationtime_ms": 0.3713369369506836,
"latitude": 59.875008,
"longitude": 10.7083435,
"timezone": "Europe/Oslo",
"timezone_abbreviation": "GMT+2",
"utc_offset_seconds": 7200
},
"success": true
}