← Geo & väder

Aktuellt väder

GET /weather/current

Get aktuell väderförhållanden för valfri location, inklusive temperatur, humidity, feels-like temperatur, precipitation, vindhastighet and direction, and weather beskrivning code. Stöder lookup by latitude/longitude koordinater or by stad namn (30 stora cities supported). Data updated varje 15 minuter från Open-Meteo, drivs av national weather tjänster. Idealiskt för weather widgetar, outdoor aktivitet planners, and location-baserad appar.

Parametrar

lat valfri

Latitude

lon valfri

Longitude

city valfri

City name

Exempelförfrågningar

Grundläggande användning
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"

Livesvar

{
  "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.07748603820800781,
    "latitude": 59.915844,
    "longitude": 10.760788,
    "timezone": "Europe/Oslo",
    "timezone_abbreviation": "GMT+2",
    "utc_offset_seconds": 7200
  },
  "success": true
}