← Intelligenssammenstillinger

Stedsintelligens

GET /mashup/location

Omfattende stedsprofil: kombinerer vær, luftkvalitet, høyde, lysforurensning, jordskjelv i nærheten og tidssone i én stedsrapport.

Parametere

lat påkrevd

Latitude

lon påkrevd

Longitude

Eksempelforespørsler

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

Livesvar

{
  "air_quality": {
    "european_aqi": 32,
    "pm10": 7.2,
    "pm2_5": 5.4,
    "us_aqi": 38
  },
  "light_pollution": {
    "aurora_suitability": "fair",
    "bortle_class": 6
  },
  "location": {
    "latitude": 59.4,
    "longitude": 24.7
  },
  "marine": {
    "current": {
      "interval": 900,
      "swell_wave_direction": 263,
      "swell_wave_height": 0.26,
      "swell_wave_period": 4.4,
      "time": "2026-04-05T23:30",
      "wave_direction": 222,
      "wave_height": 0.48,
      "wave_period": 3.45,
      "wind_wave_height": 0.4
    },
    "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.24890899658203125,
    "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-04-05T00:54:00+00:00",
    "astronomical_twilight_end": "2026-04-05T19:53:49+00:00",
    "civil_twilight_begin": "2026-04-05T02:52:19+00:00",
    "civil_twilight_end": "2026-04-05T17:55:29+00:00",
    "day_length": 49313,
    "nautical_twilight_begin": "2026-04-05T01:58:20+00:00",
    "nautical_twilight_end": "2026-04-05T18:49:29+00:00",
    "solar_noon": "2026-04-05T10:23:54+00:00",
    "sunrise": "2026-04-05T03:32:58+00:00",
    "sunset": "2026-04-05T17:14:51+00:00"
  },
  "timezone": null,
  "weather": {
    "current": {
      "cloud_cover": 100,
      "humidity": 93,
      "temperature_c": 5.5,
      "wind_speed_kmh": 22.7
    },
    "forecast_3day": {
      "daily": {
        "precipitation_sum": [
          3.4,
          6.1,
          4.5
        ],
        "temperature_2m_max": [
          8.8,
          5.6,
          5.2
        ],
        "temperature_2m_min": [
          2.7,
          1.9,
          2.1
        ],
        "time": [
          "2026-04-05",
          "2026-04-06",
          "2026-04-07"
        ],
        "weather_code": [
          61,
          53,
          53
        ],
        "wind_speed_10m_max": [
          30.6,
          25.2,
          24.1
        ]
      },
      "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.10764598846435547,
      "latitude": 59.399193,
      "longitude": 24.691467,
      "timezone": "Europe/Tallinn",
      "timezone_abbreviation": "GMT+3",
      "utc_offset_seconds": 10800
    }
  }
}