← 智能数据整合

位置情报

GET /mashup/location

综合位置概况:将天气、空气质量、海拔、光污染、附近地震和时区合并为单一位置报告。

查看可视化效果

参数

lat 必填

Latitude

lon 必填

Longitude

请求示例

基本用法
curl "https://nordapi.ee/api/v1/mashup/location?lat=59.4&lon=24.7"

实时响应

{
  "air_quality": {
    "european_aqi": 22,
    "pm10": 9.3,
    "pm2_5": 5.9,
    "us_aqi": 50
  },
  "light_pollution": {
    "aurora_suitability": "fair",
    "bortle_class": 6
  },
  "location": {
    "latitude": 59.4,
    "longitude": 24.7
  },
  "marine": {
    "current": {
      "interval": 900,
      "swell_wave_direction": 273,
      "swell_wave_height": 0.34,
      "swell_wave_period": 2.9,
      "time": "2026-10-04T01:30",
      "wave_direction": 269,
      "wave_height": 0.38,
      "wave_period": 3.2,
      "wind_wave_height": 0.18
    },
    "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.27120113372802734,
    "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": 6.0
  },
  "seismic": {
    "earthquakes_within_300km": 0,
    "recent": []
  },
  "success": true,
  "sun": {
    "astronomical_twilight_begin": "2026-10-03T02:13:11+00:00",
    "astronomical_twilight_end": "2026-10-03T18:07:17+00:00",
    "civil_twilight_begin": "2026-10-03T03:50:28+00:00",
    "civil_twilight_end": "2026-10-03T16:29:59+00:00",
    "day_length": 40943,
    "nautical_twilight_begin": "2026-10-03T03:02:52+00:00",
    "nautical_twilight_end": "2026-10-03T17:17:35+00:00",
    "solar_noon": "2026-10-03T10:10:14+00:00",
    "sunrise": "2026-10-03T04:29:02+00:00",
    "sunset": "2026-10-03T15:51:25+00:00"
  },
  "timezone": {
    "date": "10/04/2026",
    "datetime": "2026-10-04T01:36:51.5378368",
    "day_of_week": "Sunday",
    "time": "01:36",
    "timezone": "Europe/Tallinn",
    "utc_offset": null
  },
  "weather": {
    "current": {
      "cloud_cover": 96,
      "humidity": 92,
      "temperature_c": 11.8,
      "wind_speed_kmh": 10.8
    },
    "forecast_3day": {
      "daily": {
        "precipitation_sum": [
          3.9,
          1.0,
          0.48
        ],
        "temperature_2m_max": [
          15.4,
          13.5,
          15.0
        ],
        "temperature_2m_min": [
          11.3,
          10.3,
          12.0
        ],
        "time": [
          "2026-10-04",
          "2026-10-05",
          "2026-10-06"
        ],
        "weather_code": [
          63,
          51,
          51
        ],
        "wind_speed_10m_max": [
          21.2,
          23.4,
          28.8
        ]
      },
      "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.2760887145996094,
      "latitude": 59.399193,
      "longitude": 24.691467,
      "timezone": "Europe/Tallinn",
      "timezone_abbreviation": "GMT+3",
      "utc_offset_seconds": 10800
    }
  }
}