← 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": 15,
    "pm10": 2.6,
    "pm2_5": 2.1,
    "us_aqi": 24
  },
  "light_pollution": {
    "aurora_suitability": "fair",
    "bortle_class": 6
  },
  "location": {
    "latitude": 59.4,
    "longitude": 24.7
  },
  "marine": {
    "current": {
      "interval": 900,
      "swell_wave_direction": 282,
      "swell_wave_height": 0.22,
      "swell_wave_period": 2.8,
      "time": "2026-07-06T03:00",
      "wave_direction": 297,
      "wave_height": 0.32,
      "wave_period": 3.1,
      "wind_wave_height": 0.08
    },
    "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.2046823501586914,
    "latitude": 59.541664,
    "longitude": 24.708344,
    "timezone": "Europe/Tallinn",
    "timezone_abbreviation": "GMT+3",
    "utc_offset_seconds": 10800
  },
  "scores": {
    "air_quality": 10.0,
    "dark_sky": 5.0,
    "seismic_safety": 10.0,
    "weather_comfort": 8.0
  },
  "seismic": {
    "earthquakes_within_300km": 0,
    "recent": []
  },
  "success": true,
  "sun": {
    "astronomical_twilight_begin": "1970-01-01T00:00:01+00:00",
    "astronomical_twilight_end": "1970-01-01T00:00:01+00:00",
    "civil_twilight_begin": "2026-07-05T23:53:14+00:00",
    "civil_twilight_end": "2026-07-06T20:58:45+00:00",
    "day_length": 66383,
    "nautical_twilight_begin": "1970-01-01T00:00:01+00:00",
    "nautical_twilight_end": "1970-01-01T00:00:01+00:00",
    "solar_noon": "2026-07-06T10:25:59+00:00",
    "sunrise": "2026-07-06T01:12:48+00:00",
    "sunset": "2026-07-06T19:39:11+00:00"
  },
  "timezone": {
    "date": "07/06/2026",
    "datetime": "2026-07-06T03:01:41.4543863",
    "day_of_week": "Monday",
    "time": "03:01",
    "timezone": "Europe/Tallinn",
    "utc_offset": null
  },
  "weather": {
    "current": {
      "cloud_cover": 97,
      "humidity": 92,
      "temperature_c": 15.2,
      "wind_speed_kmh": 8.3
    },
    "forecast_3day": {
      "daily": {
        "precipitation_sum": [
          2.0,
          12.7,
          8.38
        ],
        "temperature_2m_max": [
          16.3,
          19.1,
          15.8
        ],
        "temperature_2m_min": [
          12.9,
          10.3,
          13.6
        ],
        "time": [
          "2026-07-06",
          "2026-07-07",
          "2026-07-08"
        ],
        "weather_code": [
          61,
          63,
          61
        ],
        "wind_speed_10m_max": [
          25.9,
          36.0,
          17.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.5354881286621094,
      "latitude": 59.25,
      "longitude": 24.75,
      "timezone": "Europe/Tallinn",
      "timezone_abbreviation": "GMT+3",
      "utc_offset_seconds": 10800
    }
  }
}