← Geo & Wetter

Aktuelles Wetter

GET /weather/current

Erhalten Sie current Wetterbedingungen for any location, einschließlich temperature, humidity, feels-like temperature, precipitation, wind speed und direction, und weather description code. Unterstützt lookup by latitude/longitude coordinates oder by city name (30 major cities supported). Data updated every 15 minutes from Open-Meteo, powered by national weather services. Ideal für weather widgets, outdoor activity planners, und location-based apps.

Parameter

lat optional

Latitude

lon optional

Longitude

city optional

City name

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/weather/current?city=oslo"
Weather in Oslo by city name
curl "https://nordapi.ee/api/v1/weather/current?city=oslo"
Weather in Tokyo by city name
curl "https://nordapi.ee/api/v1/weather/current?city=tokyo"
Weather by coordinates (New York)
curl "https://nordapi.ee/api/v1/weather/current?lat=40.71&lon=-74.01"

Live-Antwort

{
  "city": "oslo",
  "data": {
    "current": {
      "apparent_temperature": 5.3,
      "cloud_cover": 74,
      "interval": 900,
      "precipitation": 0.0,
      "relative_humidity_2m": 78,
      "temperature_2m": 7.8,
      "time": "2026-04-05T19:15",
      "weather_code": 2,
      "wind_direction_10m": 259,
      "wind_speed_10m": 8.3
    },
    "current_units": {
      "apparent_temperature": "°C",
      "cloud_cover": "%",
      "interval": "seconds",
      "precipitation": "mm",
      "relative_humidity_2m": "%",
      "temperature_2m": "°C",
      "time": "iso8601",
      "weather_code": "wmo code",
      "wind_direction_10m": "°",
      "wind_speed_10m": "km/h"
    },
    "elevation": 21.0,
    "generationtime_ms": 0.08440017700195312,
    "latitude": 59.915844,
    "longitude": 10.760788,
    "timezone": "Europe/Oslo",
    "timezone_abbreviation": "GMT+2",
    "utc_offset_seconds": 7200
  },
  "success": true
}