← Intelligenssammenstillinger

Stedsintelligens

GET /mashup/location

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

Se det visualisert

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": 21,
    "pm10": 4.7,
    "pm2_5": 4.4,
    "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": 247,
      "swell_wave_height": 0.14,
      "swell_wave_period": 7.85,
      "time": "2026-10-26T02:15",
      "wave_direction": 184,
      "wave_height": 0.48,
      "wave_period": 3.5,
      "wind_wave_height": 0.44
    },
    "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.20635128021240234,
    "latitude": 59.541664,
    "longitude": 24.708344,
    "timezone": "Europe/Tallinn",
    "timezone_abbreviation": "GMT+2",
    "utc_offset_seconds": 7200
  },
  "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-10-26T03:08:05+00:00",
    "astronomical_twilight_end": "2026-10-26T17:02:14+00:00",
    "civil_twilight_begin": "2026-10-26T04:43:10+00:00",
    "civil_twilight_end": "2026-10-26T15:27:10+00:00",
    "day_length": 33499,
    "nautical_twilight_begin": "2026-10-26T03:55:18+00:00",
    "nautical_twilight_end": "2026-10-26T16:15:01+00:00",
    "solar_noon": "2026-10-26T10:05:10+00:00",
    "sunrise": "2026-10-26T05:26:00+00:00",
    "sunset": "2026-10-26T14:44:19+00:00"
  },
  "timezone": {
    "date": "10/26/2026",
    "datetime": "2026-10-26T02:29:28.6653415",
    "day_of_week": "Monday",
    "time": "02:29",
    "timezone": "Europe/Tallinn",
    "utc_offset": null
  },
  "weather": {
    "current": {
      "cloud_cover": 100,
      "humidity": 77,
      "temperature_c": 11.1,
      "wind_speed_kmh": 26.6
    },
    "forecast_3day": {
      "daily": {
        "precipitation_sum": [
          0.9,
          0.4,
          1.8
        ],
        "temperature_2m_max": [
          11.4,
          12.0,
          9.6
        ],
        "temperature_2m_min": [
          9.3,
          9.6,
          7.7
        ],
        "time": [
          "2026-10-26",
          "2026-10-27",
          "2026-10-28"
        ],
        "weather_code": [
          51,
          51,
          53
        ],
        "wind_speed_10m_max": [
          30.2,
          23.4,
          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.2237558364868164,
      "latitude": 59.399193,
      "longitude": 24.691467,
      "timezone": "Europe/Tallinn",
      "timezone_abbreviation": "GMT+2",
      "utc_offset_seconds": 7200
    }
  }
}