← 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": 22,
    "pm10": 7.1,
    "pm2_5": 5.9,
    "us_aqi": 37
  },
  "light_pollution": {
    "aurora_suitability": "fair",
    "bortle_class": 6
  },
  "location": {
    "latitude": 59.4,
    "longitude": 24.7
  },
  "marine": {
    "current": {
      "interval": 900,
      "swell_wave_direction": 214,
      "swell_wave_height": 0.06,
      "swell_wave_period": 2.35,
      "time": "2026-10-25T02:45",
      "wave_direction": 171,
      "wave_height": 0.24,
      "wave_period": 2.35,
      "wind_wave_height": 0.22
    },
    "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.1138448715209961,
    "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": 4.0
  },
  "seismic": {
    "earthquakes_within_300km": 0,
    "recent": []
  },
  "success": true,
  "sun": {
    "astronomical_twilight_begin": "2026-10-24T03:03:40+00:00",
    "astronomical_twilight_end": "2026-10-24T17:07:07+00:00",
    "civil_twilight_begin": "2026-10-24T04:38:35+00:00",
    "civil_twilight_end": "2026-10-24T15:32:12+00:00",
    "day_length": 34116,
    "nautical_twilight_begin": "2026-10-24T03:50:55+00:00",
    "nautical_twilight_end": "2026-10-24T16:19:52+00:00",
    "solar_noon": "2026-10-24T10:05:23+00:00",
    "sunrise": "2026-10-24T05:21:05+00:00",
    "sunset": "2026-10-24T14:49:41+00:00"
  },
  "timezone": {
    "date": "10/25/2026",
    "datetime": "2026-10-25T02:46:52.9607875",
    "day_of_week": "Sunday",
    "time": "02:46",
    "timezone": "Europe/Tallinn",
    "utc_offset": null
  },
  "weather": {
    "current": {
      "cloud_cover": 100,
      "humidity": 90,
      "temperature_c": 7.3,
      "wind_speed_kmh": 18.0
    },
    "forecast_3day": {
      "daily": {
        "precipitation_sum": [
          0.0,
          1.9,
          1.1
        ],
        "temperature_2m_max": [
          10.6,
          10.9,
          12.1
        ],
        "temperature_2m_min": [
          6.7,
          9.3,
          9.3
        ],
        "time": [
          "2026-10-25",
          "2026-10-26",
          "2026-10-27"
        ],
        "weather_code": [
          3,
          53,
          51
        ],
        "wind_speed_10m_max": [
          27.7,
          28.1,
          23.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": 30.0,
      "generationtime_ms": 0.24056434631347656,
      "latitude": 59.399193,
      "longitude": 24.691467,
      "timezone": "Europe/Tallinn",
      "timezone_abbreviation": "GMT+3",
      "utc_offset_seconds": 10800
    }
  }
}