← Geo & Wetter

Wettervorhersage

GET /weather/forecast

Rufen Sie eine mehrtägige Wettervorhersage für bis zu 16 Tage ab, mit täglichen Höchst-/Tiefsttemperaturen, Niederschlagswahrscheinlichkeit, Windgeschwindigkeit und Wettercodes. Unterstützt die Abfrage über Koordinaten oder Stadtnamen. Nützlich für Reiseplanungs-Apps, Event-Terminplanungstools, Landwirtschafts-Dashboards und jede Funktion, die Nutzern hilft, sich auf zukünftige Wetterbedingungen einzustellen. Daten aus Open-Meteo-Vorhersagemodellen.

Parameter

lat optional

Latitude

lon optional

Longitude

city optional

City name

days optional Standard: 7

Forecast days

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/weather/forecast?city=tokyo&days=7"
7-day forecast for Tokyo
curl "https://nordapi.ee/api/v1/weather/forecast?city=tokyo&days=7"
3-day forecast for London
curl "https://nordapi.ee/api/v1/weather/forecast?city=london&days=3"
16-day forecast by coordinates (Sydney)
curl "https://nordapi.ee/api/v1/weather/forecast?lat=-33.87&lon=151.21&days=16"
Default forecast for Oslo
curl "https://nordapi.ee/api/v1/weather/forecast?city=oslo"

Live-Antwort

{
  "city": "tokyo",
  "data": {
    "daily": {
      "precipitation_sum": [
        21.6,
        0.0,
        0.0,
        0.0,
        0.0,
        0.3,
        7.8
      ],
      "temperature_2m_max": [
        15.0,
        18.8,
        21.3,
        25.4,
        26.0,
        25.6,
        24.0
      ],
      "temperature_2m_min": [
        12.8,
        11.9,
        13.8,
        15.7,
        17.2,
        19.0,
        19.0
      ],
      "time": [
        "2026-05-22",
        "2026-05-23",
        "2026-05-24",
        "2026-05-25",
        "2026-05-26",
        "2026-05-27",
        "2026-05-28"
      ],
      "weather_code": [
        63,
        3,
        3,
        3,
        3,
        51,
        53
      ],
      "wind_speed_10m_max": [
        7.6,
        6.3,
        5.5,
        9.4,
        11.2,
        9.6,
        14.4
      ]
    },
    "daily_units": {
      "precipitation_sum": "mm",
      "temperature_2m_max": "°C",
      "temperature_2m_min": "°C",
      "time": "iso8601",
      "weather_code": "wmo code",
      "wind_speed_10m_max": "km/h"
    },
    "elevation": 37.0,
    "generationtime_ms": 0.2371072769165039,
    "latitude": 35.7,
    "longitude": 139.625,
    "timezone": "Asia/Tokyo",
    "timezone_abbreviation": "GMT+9",
    "utc_offset_seconds": 32400
  },
  "success": true
}