Marine Weather

Hourly

Hourly marine forecasts.

get/api/v1/marine/forecast/hourly/{location}

Request

  • Base URL: https://weatherapi.foreca.net
  • URL: https://weatherapi.foreca.net/api/v1/marine/forecast/hourly/{location}
  • Auth: HTTP bearer

Path parameters

locationstring required

"Longitude,latitude" or location identifier (id) from the location endpoint

Query parameters

periodsstring

Number of time steps (default 24, maximum 169)

tempunitstring

Temperature unit: "C", "F" (default "C")

tzstring

Time zone in response (IANA time zone database names)

historystring

History: whether to include past 24 hours (1 or 0, default 0)

Response

Success

Example response

{
  "forecast": [
    {
      "peak1DSpectraPeriod": 9.8,
      "seaTemp": 27,
      "sigSwellHeight": 1.13,
      "sigWaveHeight": 1.19,
      "swellDir": 178,
      "swellPeriod": 8.1,
      "swimTemp": 27,
      "time": "2025-11-04T17:00Z",
      "waveDir": 177,
      "wavePeriod": 7.5,
      "windWaveDir": 168,
      "windWavePeriod": 2.9,
      "windWaveSigHeight": 0.39
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.