← Landfræði og veður

Sjávarfallaspár

GET /tides/predictions/:station

Fáðu predicted high and low tide times and heights for a specific NOAA tide station. Skilar upcoming tide events with timestamps and water levels. Nauðsynlegt fyrir strandaactivity planning, sjósiglingu, fishing forrit, and beach-going schedulers. Gefðu upp a valid NOAA station ID (use the stations endapunktur to finndu IDs).

Breytur

station nauðsynlegt

NOAA station ID

Dæmi um fyrirspurnir

Grunnnotkun
curl https://nordapi.ee/api/v1/tides/predictions/9414290
Tide predictions for San Francisco
curl https://nordapi.ee/api/v1/tides/predictions/9414290
Tide predictions for New York (The Battery)
curl https://nordapi.ee/api/v1/tides/predictions/8518750
Tide predictions for Miami
curl https://nordapi.ee/api/v1/tides/predictions/8723214

Lifandi svar

{
  "count": 8,
  "data": [
    {
      "height_m": 1.7,
      "time": "2026-04-05 01:33",
      "type": "high"
    },
    {
      "height_m": -0.03,
      "time": "2026-04-05 08:17",
      "type": "low"
    },
    {
      "height_m": 1.255,
      "time": "2026-04-05 15:24",
      "type": "high"
    },
    {
      "height_m": 0.832,
      "time": "2026-04-05 19:55",
      "type": "low"
    },
    {
      "height_m": 1.658,
      "time": "2026-04-06 02:03",
      "type": "high"
    },
    {
      "height_m": 0.004,
      "time": "2026-04-06 08:59",
      "type": "low"
    },
    {
      "height_m": 1.195,
      "time": "2026-04-06 16:25",
      "type": "high"
    },
    {
      "height_m": 0.938,
      "time": "2026-04-06 20:33",
      "type": "low"
    }
  ],
  "station": "9414290",
  "success": true
}