← Luureandmete kombinatsioonid

Asukoha luureandmed

GET /mashup/location

Põhjalik asukohaprofiil: kombineerib ilma, õhukvaliteedi, kõrguse, valgusreostuse, lähedalasuvad maavärinad ja ajavööndi ühte asukoharaportisse.

Vaata seda visuaalselt

Parameetrid

lat kohustuslik

Latitude

lon kohustuslik

Longitude

Näidispäringud

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

Reaalajas vastus

{
  "air_quality": {
    "european_aqi": 22,
    "pm10": 3.6,
    "pm2_5": 2.0,
    "us_aqi": 28
  },
  "light_pollution": {
    "aurora_suitability": "fair",
    "bortle_class": 6
  },
  "location": {
    "latitude": 59.4,
    "longitude": 24.7
  },
  "marine": {
    "current": {
      "interval": 900,
      "swell_wave_direction": 275,
      "swell_wave_height": 0.4,
      "swell_wave_period": 4.7,
      "time": "2026-08-12T09:45",
      "wave_direction": 299,
      "wave_height": 1.02,
      "wave_period": 4.35,
      "wind_wave_height": 0.58
    },
    "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.26404857635498047,
    "latitude": 59.5,
    "longitude": 24.75,
    "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": 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-08-12T01:40:24+00:00",
    "civil_twilight_end": "2026-08-12T19:12:07+00:00",
    "day_length": 57239,
    "nautical_twilight_begin": "2026-08-12T00:23:21+00:00",
    "nautical_twilight_end": "2026-08-12T20:29:10+00:00",
    "solar_noon": "2026-08-12T10:26:16+00:00",
    "sunrise": "2026-08-12T02:29:16+00:00",
    "sunset": "2026-08-12T18:23:15+00:00"
  },
  "timezone": {
    "date": "08/12/2026",
    "datetime": "2026-08-12T09:25:36.6599004",
    "day_of_week": "Wednesday",
    "time": "09:25",
    "timezone": "Europe/Tallinn",
    "utc_offset": null
  },
  "weather": {
    "current": {
      "cloud_cover": 82,
      "humidity": 59,
      "temperature_c": 15.2,
      "wind_speed_kmh": 22.7
    },
    "forecast_3day": {
      "daily": {
        "precipitation_sum": [
          0.0,
          0.0,
          0.05
        ],
        "temperature_2m_max": [
          18.3,
          20.4,
          23.0
        ],
        "temperature_2m_min": [
          13.6,
          13.0,
          14.3
        ],
        "time": [
          "2026-08-12",
          "2026-08-13",
          "2026-08-14"
        ],
        "weather_code": [
          3,
          3,
          3
        ],
        "wind_speed_10m_max": [
          24.5,
          19.8,
          13.3
        ]
      },
      "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.32007694244384766,
      "latitude": 59.399193,
      "longitude": 24.691467,
      "timezone": "Europe/Tallinn",
      "timezone_abbreviation": "GMT+3",
      "utc_offset_seconds": 10800
    }
  }
}