← 地理与天气

当前海洋数据

GET /marine/current

获取任何沿海或开阔水域位置的当前海洋条件,包括波高、波向、波周期和涌浪数据。需要纬度和经度坐标。对海洋导航应用、冲浪和水上运动规划器、钓鱼工具、海上作业仪表板和海岸安全系统至关重要。数据来自 Open-Meteo 海洋模型。

参数

lat 必填

Latitude

lon 必填

Longitude

请求示例

基本用法
curl "https://nordapi.ee/api/v1/marine/current?lat=59.9&lon=10.7"
Marine conditions in Oslo Fjord
curl "https://nordapi.ee/api/v1/marine/current?lat=59.9&lon=10.7"
Wave data near Honolulu
curl "https://nordapi.ee/api/v1/marine/current?lat=21.31&lon=-157.86"
Ocean conditions off Cornwall
curl "https://nordapi.ee/api/v1/marine/current?lat=50.27&lon=-5.05"

实时响应

{
  "data": {
    "current": {
      "interval": 900,
      "swell_wave_direction": 198,
      "swell_wave_height": 0.0,
      "swell_wave_period": 1.65,
      "time": "2026-04-05T19:15",
      "wave_direction": 198,
      "wave_height": 0.04,
      "wave_period": 1.65,
      "wind_wave_height": 0.04
    },
    "current_units": {
      "interval": "seconds",
      "swell_wave_direction": "°",
      "swell_wave_height": "m",
      "swell_wave_period": "s",
      "time": "iso8601",
      "wave_direction": "°",
      "wave_height": "m",
      "wave_period": "s",
      "wind_wave_height": "m"
    },
    "elevation": 0.0,
    "generationtime_ms": 0.18358230590820312,
    "latitude": 59.875008,
    "longitude": 10.7083435,
    "timezone": "Europe/Oslo",
    "timezone_abbreviation": "GMT+2",
    "utc_offset_seconds": 7200
  },
  "success": true
}