← 智能数据整合

位置情报

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": 31,
    "pm10": 5.1,
    "pm2_5": 3.8,
    "us_aqi": 31
  },
  "light_pollution": {
    "aurora_suitability": "fair",
    "bortle_class": 6
  },
  "location": {
    "latitude": 59.4,
    "longitude": 24.7
  },
  "marine": {
    "current": {
      "interval": 900,
      "swell_wave_direction": 331,
      "swell_wave_height": 0.08,
      "swell_wave_period": 1.9,
      "time": "2026-05-22T14:15",
      "wave_direction": 291,
      "wave_height": 0.22,
      "wave_period": 2.15,
      "wind_wave_height": 0.2
    },
    "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.1583099365234375,
    "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": "1970-01-01T00:00:01+00:00",
    "astronomical_twilight_end": "1970-01-01T00:00:01+00:00",
    "civil_twilight_begin": "2026-05-22T00:25:28+00:00",
    "civil_twilight_end": "2026-05-22T20:10:17+00:00",
    "day_length": 63391,
    "nautical_twilight_begin": "1970-01-01T00:00:01+00:00",
    "nautical_twilight_end": "1970-01-01T00:00:01+00:00",
    "solar_noon": "2026-05-22T10:17:53+00:00",
    "sunrise": "2026-05-22T01:29:37+00:00",
    "sunset": "2026-05-22T19:06:08+00:00"
  },
  "timezone": {
    "date": "05/22/2026",
    "datetime": "2026-05-22T14:24:01.6350806",
    "day_of_week": "Friday",
    "time": "14:24",
    "timezone": "Europe/Tallinn",
    "utc_offset": null
  },
  "weather": {
    "current": {
      "cloud_cover": 100,
      "humidity": 87,
      "temperature_c": 12.3,
      "wind_speed_kmh": 13.3
    },
    "forecast_3day": {
      "daily": {
        "precipitation_sum": [
          0.7,
          0.0,
          0.1
        ],
        "temperature_2m_max": [
          14.5,
          22.1,
          16.7
        ],
        "temperature_2m_min": [
          10.3,
          9.2,
          11.8
        ],
        "time": [
          "2026-05-22",
          "2026-05-23",
          "2026-05-24"
        ],
        "weather_code": [
          51,
          3,
          51
        ],
        "wind_speed_10m_max": [
          17.3,
          19.4,
          27.7
        ]
      },
      "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": 1.1737346649169922,
      "latitude": 59.399193,
      "longitude": 24.691467,
      "timezone": "Europe/Tallinn",
      "timezone_abbreviation": "GMT+3",
      "utc_offset_seconds": 10800
    }
  }
}