← Greindasamsetningar

Staðsetningargreind

GET /mashup/location

Heildstæð staðsetningarsnið: sameinar veður, loftgæði, hæð yfir sjávarmáli, ljósmengun, nálæga jarðskjálfta og tímabelti í eina staðsetningarskýrslu.

Sjáðu það myndrænt

Breytur

lat nauðsynlegt

Latitude

lon nauðsynlegt

Longitude

Dæmi um fyrirspurnir

Grunnnotkun
curl "https://nordapi.ee/api/v1/mashup/location?lat=59.4&lon=24.7"

Lifandi svar

{
  "air_quality": {
    "european_aqi": 24,
    "pm10": 6.0,
    "pm2_5": 3.1,
    "us_aqi": 34
  },
  "light_pollution": {
    "aurora_suitability": "fair",
    "bortle_class": 6
  },
  "location": {
    "latitude": 59.4,
    "longitude": 24.7
  },
  "marine": {
    "current": {
      "interval": 900,
      "swell_wave_direction": 264,
      "swell_wave_height": 0.34,
      "swell_wave_period": 3.1,
      "time": "2026-09-03T03:15",
      "wave_direction": 261,
      "wave_height": 0.38,
      "wave_period": 3.5,
      "wind_wave_height": 0.14
    },
    "current_units": {
      "interval": "seconds",
      "swell_wave_direction": "°",
      "swell_wave_height": "m",
      "swell_wave_period": "s",
      "time": "iso8601",
      "wave_direction": "°",
      "wave_height": "m",
      "wave_period": "s",
      "wind_wave_height": "m"
    },
    "elevation": 30.0,
    "generationtime_ms": 0.14841556549072266,
    "latitude": 59.541664,
    "longitude": 24.708344,
    "timezone": "Europe/Tallinn",
    "timezone_abbreviation": "GMT+3",
    "utc_offset_seconds": 10800
  },
  "scores": {
    "air_quality": 9.0,
    "dark_sky": 5.0,
    "seismic_safety": 10.0,
    "weather_comfort": 6.0
  },
  "seismic": {
    "earthquakes_within_300km": 0,
    "recent": []
  },
  "success": true,
  "sun": {
    "astronomical_twilight_begin": "2026-09-03T00:34:41+00:00",
    "astronomical_twilight_end": "2026-09-03T20:06:28+00:00",
    "civil_twilight_begin": "2026-09-03T02:39:05+00:00",
    "civil_twilight_end": "2026-09-03T18:02:03+00:00",
    "day_length": 50415,
    "nautical_twilight_begin": "2026-09-03T01:43:24+00:00",
    "nautical_twilight_end": "2026-09-03T18:57:45+00:00",
    "solar_noon": "2026-09-03T10:20:34+00:00",
    "sunrise": "2026-09-03T03:20:27+00:00",
    "sunset": "2026-09-03T17:20:42+00:00"
  },
  "timezone": null,
  "weather": {
    "current": {
      "cloud_cover": 20,
      "humidity": 95,
      "temperature_c": 13.8,
      "wind_speed_kmh": 14.4
    },
    "forecast_3day": {
      "daily": {
        "precipitation_sum": [
          0.7,
          13.7,
          12.48
        ],
        "temperature_2m_max": [
          18.7,
          16.5,
          16.4
        ],
        "temperature_2m_min": [
          13.0,
          11.9,
          11.3
        ],
        "time": [
          "2026-09-03",
          "2026-09-04",
          "2026-09-05"
        ],
        "weather_code": [
          51,
          63,
          65
        ],
        "wind_speed_10m_max": [
          17.3,
          14.0,
          15.5
        ]
      },
      "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": 30.0,
      "generationtime_ms": 0.46956539154052734,
      "latitude": 59.399193,
      "longitude": 24.691467,
      "timezone": "Europe/Tallinn",
      "timezone_abbreviation": "GMT+3",
      "utc_offset_seconds": 10800
    }
  }
}