航空天气 地震与太空 API

API ID 15512

获取全球实时 METAR 和 TAF 航空天气、机场跑道、SIGMET 危险天气、USGS 地震、NASA EONET 野火和 NOAA 太空天气警报

API 文档

端点

请求
在一次低延迟边缘请求中整合机场元数据和跑道、实时解码的 METAR 天气观测(飞行类别 VFR/MVFR/IFR/LIFR、风/阵风、温度、高度表设置)、有效的 TAF 终端预报以及附近的飞行员报告(PIREPs)
Endpoint ID: 41695
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41695/all-in-one+airport+aviation+weather+briefing
输入参数

一体化机场航空天气简报 — 端点功能

对象 描述
icao 必需 4-letter ICAO airport identifier (e.g. KJFK, KLAX, EGLL, VVNB, WSSS).
radiusNm 可选 Search radius in nautical miles for nearby pilot reports (10-500, default 150).

剩余免费测试请求:3 / 3。


输入参数

icao
radiusNm
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:17.096Z",
        "latencyMs": 1077,
        "cached": false,
        "icaoId": "KJFK",
        "source": "noaa-aviation-weather-center"
    },
    "data": {
        "icaoId": "KJFK",
        "airport": {
            "icaoId": "KJFK",
            "iataId": "JFK",
            "faaId": "JFK",
            "name": "NEW YORK/JOHN F KENNEDY INTL",
            "state": "NY",
            "country": "US",
            "lat": 40.6399,
            "lon": -73.7787,
            "elevationM": 4,
            "magneticDeclination": "13W",
            "hasTower": true,
            "runwayCount": 4,
            "frequencies": [
                "D-ATIS,115.4",
                "D-ATIS,117.7"
            ],
            "runways": [
                {
                    "id": "04L/22R",
                    "dimensionFt": "12079x200",
                    "surface": "C",
                    "alignmentDeg": 31
                },
                {
                    "id": "04R/22L",
                    "dimensionFt": "8400x200",
                    "surface": "A",
                    "alignmentDeg": 31
                }
            ]
        },
        "metar": {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl, NY, US",
            "reportTime": "2026-11-24T08:00:00.000Z",
            "flightCategory": "VFR",
            "tempC": 8.9,
            "dewpointC": -1.1,
            "windDirDeg": 320,
            "windSpeedKt": 16,
            "windGustKt": null,
            "visibilityStatuteMi": "10+",
            "altimeterHpa": 1020.7,
            "skyCover": "SCT",
            "clouds": [
                {
                    "cover": "FEW",
                    "baseFtAgl": 10000
                },
                {
                    "cover": "SCT",
                    "baseFtAgl": 12000
                }
            ],
            "weatherPhenomena": null,
            "lat": 40.6392,
            "lon": -73.7639,
            "elevationM": 3,
            "rawMetar": "METAR KJFK 240751Z 32016KT 10SM FEW100 SCT120 09/M01 A3014 RMK SLP206 T00891011"
        },
        "taf": {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl",
            "issueTime": "2026-11-24T05:31:00.000Z",
            "validFromUtc": "2026-11-24T06:00:00.000Z",
            "validToUtc": "2026-11-25T12:00:00.000Z",
            "lat": 40.63916,
            "lon": -73.76394,
            "elevationM": 3,
            "rawTaf": "TAF KJFK 240531Z 2406/2512 34012G20KT P6SM BKN100 FM241300 34017G25KT P6SM SKC FM242200 34012KT P6SM SKC FM250400 36009KT P6SM SKC",
            "forecastPeriods": [
                {
                    "fromUtc": "2026-11-24T06:00:00.000Z",
                    "toUtc": "2026-11-24T13:00:00.000Z",
                    "changeIndicator": null,
                    "probabilityPct": null,
                    "windDirDeg": 340,
                    "windSpeedKt": 12,
                    "windGustKt": 20,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "BKN",
                            "baseFtAgl": 10000
                        }
                    ]
                },
                {
                    "fromUtc": "2026-11-24T13:00:00.000Z",
                    "toUtc": "2026-11-24T22:00:00.000Z",
                    "changeIndicator": "FM",
                    "probabilityPct": null,
                    "windDirDeg": 340,
                    "windSpeedKt": 17,
                    "windGustKt": 25,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "SKC",
                            "baseFtAgl": null
                        }
                    ]
                }
            ]
        },
        "nearbyPirepsCount": 0,
        "nearbyPireps": [],
        "unavailableSources": [],
        "flightSummary": {
            "flightCategory": "VFR",
            "isHazardousWeather": false,
            "flags": []
        }
    }
}
一体化机场航空天气简报 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41695/all-in-one+airport+aviation+weather+briefing?icao=KJFK&radiusNm=150' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
获取全球最多 20 个 ICAO 机场的实时解码 METAR 地面航空天气观测数据(温度、露点、风、能见度、高度表、云层、飞行等级和原始 METAR 文本)
Endpoint ID: 41696
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41696/live+decoded+global+metar+observations
输入参数

实时解码的全球METAR观测数据 — 端点功能

对象 描述
ids 必需 Comma-separated ICAO airport identifiers (1-20 codes, e.g. KJFK,EGLL,VVNB).

剩余免费测试请求:3 / 3。


输入参数

ids
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:17.476Z",
        "latencyMs": 280,
        "cached": false,
        "count": 2,
        "source": "noaa-aviation-weather-center"
    },
    "data": [
        {
            "icaoId": "EGLL",
            "stationName": "London/Heathrow Intl, EN, GB",
            "reportTime": "2026-11-24T08:20:00.000Z",
            "flightCategory": "VFR",
            "tempC": 3,
            "dewpointC": 2,
            "windDirDeg": 90,
            "windSpeedKt": 6,
            "windGustKt": null,
            "visibilityStatuteMi": "6+",
            "altimeterHpa": 1019,
            "skyCover": "FEW",
            "clouds": [
                {
                    "cover": "FEW",
                    "baseFtAgl": 1700
                }
            ],
            "weatherPhenomena": null,
            "lat": 51.477,
            "lon": -0.461,
            "elevationM": 26,
            "rawMetar": "METAR EGLL 240820Z COR AUTO 09006KT 9999 FEW017 03/02 Q1019 NOSIG"
        },
        {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl, NY, US",
            "reportTime": "2026-11-24T08:00:00.000Z",
            "flightCategory": "VFR",
            "tempC": 8.9,
            "dewpointC": -1.1,
            "windDirDeg": 320,
            "windSpeedKt": 16,
            "windGustKt": null,
            "visibilityStatuteMi": "10+",
            "altimeterHpa": 1020.7,
            "skyCover": "SCT",
            "clouds": [
                {
                    "cover": "FEW",
                    "baseFtAgl": 10000
                },
                {
                    "cover": "SCT",
                    "baseFtAgl": 12000
                }
            ],
            "weatherPhenomena": null,
            "lat": 40.6392,
            "lon": -73.7639,
            "elevationM": 3,
            "rawMetar": "METAR KJFK 240751Z 32016KT 10SM FEW100 SCT120 09/M01 A3014 RMK SLP206 T00891011"
        }
    ]
}
实时解码的全球METAR观测数据 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41696/live+decoded+global+metar+observations?ids=KJFK,EGLL' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
检索最多 10 个 ICAO 机场的已解码全球终端机场天气预报(TAF),包含结构化有效时段、风力预报、能见度、天气现象和云层高度】【。
Endpoint ID: 41697
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41697/live+terminal+aerodrome+forecasts
输入参数

实时终端机场预报 — 端点功能

对象 描述
ids 必需 Comma-separated ICAO airport identifiers (1-10 codes, e.g. KJFK,EGLL).

剩余免费测试请求:3 / 3。


输入参数

ids
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:20.129Z",
        "latencyMs": 2578,
        "cached": false,
        "count": 2,
        "source": "noaa-aviation-weather-center"
    },
    "data": [
        {
            "icaoId": "EGLL",
            "stationName": "London/Heathrow Intl",
            "issueTime": "2026-11-24T04:56:00.000Z",
            "validFromUtc": "2026-11-24T06:00:00.000Z",
            "validToUtc": "2026-11-25T12:00:00.000Z",
            "lat": 51.477,
            "lon": -0.461,
            "elevationM": 26,
            "rawTaf": "TAF EGLL 240456Z 2406/2512 10008KT 9999 SCT020 TEMPO 2406/2420 BKN012 PROB30 TEMPO 2406/2414 8000 -RADZ BKN008 PROB30 TEMPO 2420/2502 BKN014 BECMG 2506/2509 04010KT",
            "forecastPeriods": [
                {
                    "fromUtc": "2026-11-24T06:00:00.000Z",
                    "toUtc": "2026-11-25T06:00:00.000Z",
                    "changeIndicator": null,
                    "probabilityPct": null,
                    "windDirDeg": 100,
                    "windSpeedKt": 8,
                    "windGustKt": null,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "SCT",
                            "baseFtAgl": 2000
                        }
                    ]
                },
                {
                    "fromUtc": "2026-11-24T06:00:00.000Z",
                    "toUtc": "2026-11-24T20:00:00.000Z",
                    "changeIndicator": "TEMPO",
                    "probabilityPct": null,
                    "windDirDeg": null,
                    "windSpeedKt": null,
                    "windGustKt": null,
                    "visibilityStatuteMi": null,
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "BKN",
                            "baseFtAgl": 1200
                        }
                    ]
                }
            ]
        },
        {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl",
            "issueTime": "2026-11-24T05:31:00.000Z",
            "validFromUtc": "2026-11-24T06:00:00.000Z",
            "validToUtc": "2026-11-25T12:00:00.000Z",
            "lat": 40.63916,
            "lon": -73.76394,
            "elevationM": 3,
            "rawTaf": "TAF KJFK 240531Z 2406/2512 34012G20KT P6SM BKN100 FM241300 34017G25KT P6SM SKC FM242200 34012KT P6SM SKC FM250400 36009KT P6SM SKC",
            "forecastPeriods": [
                {
                    "fromUtc": "2026-11-24T06:00:00.000Z",
                    "toUtc": "2026-11-24T13:00:00.000Z",
                    "changeIndicator": null,
                    "probabilityPct": null,
                    "windDirDeg": 340,
                    "windSpeedKt": 12,
                    "windGustKt": 20,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "BKN",
                            "baseFtAgl": 10000
                        }
                    ]
                },
                {
                    "fromUtc": "2026-11-24T13:00:00.000Z",
                    "toUtc": "2026-11-24T22:00:00.000Z",
                    "changeIndicator": "FM",
                    "probabilityPct": null,
                    "windDirDeg": 340,
                    "windSpeedKt": 17,
                    "windGustKt": 25,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "SKC",
                            "baseFtAgl": null
                        }
                    ]
                }
            ]
        }
    ]
}
实时终端机场预报 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41697/live+terminal+aerodrome+forecasts?ids=KJFK,EGLL' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回最多 20 个机场的结构化元数据,包括 ICAO/IATA/FAA 代码、坐标、海拔、是否设有控制塔、无线电频率以及跑道尺寸和方向
Endpoint ID: 41698
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41698/global+airport+directory+runways+and+frequencies
输入参数

全球机场目录 跑道和频率 — 端点功能

对象 描述
ids 必需 Comma-separated ICAO airport codes (1-20 codes, e.g. KJFK,VVNB,WSSS).

剩余免费测试请求:3 / 3。


输入参数

ids
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:20.283Z",
        "latencyMs": 49,
        "cached": false,
        "count": 2,
        "source": "noaa-aviation-weather-center"
    },
    "data": [
        {
            "icaoId": "EGLL",
            "iataId": "LHR",
            "faaId": null,
            "name": "LONDON/HEATHROW AIRPORT",
            "state": "EN",
            "country": "GB",
            "lat": 51.4719,
            "lon": -0.4638,
            "elevationM": 26,
            "magneticDeclination": "0",
            "hasTower": true,
            "runwayCount": 2,
            "frequencies": [
                "ATIS,128.07",
                "TWR,118.5"
            ],
            "runways": [
                {
                    "id": "09L/27R",
                    "dimensionFt": "12802x164",
                    "surface": "H",
                    "alignmentDeg": 89
                },
                {
                    "id": "09R/27L",
                    "dimensionFt": "12008x164",
                    "surface": "H",
                    "alignmentDeg": 89
                }
            ]
        },
        {
            "icaoId": "KJFK",
            "iataId": "JFK",
            "faaId": "JFK",
            "name": "NEW YORK/JOHN F KENNEDY INTL",
            "state": "NY",
            "country": "US",
            "lat": 40.6399,
            "lon": -73.7787,
            "elevationM": 4,
            "magneticDeclination": "13W",
            "hasTower": true,
            "runwayCount": 4,
            "frequencies": [
                "D-ATIS,115.4",
                "D-ATIS,117.7"
            ],
            "runways": [
                {
                    "id": "04L/22R",
                    "dimensionFt": "12079x200",
                    "surface": "C",
                    "alignmentDeg": 31
                },
                {
                    "id": "04R/22L",
                    "dimensionFt": "8400x200",
                    "surface": "A",
                    "alignmentDeg": 31
                }
            ]
        }
    ]
}
全球机场目录 跑道和频率 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41698/global+airport+directory+runways+and+frequencies?ids=KJFK,EGLL' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回全球范围内有效的国际 SIGMET 航空咨询信息 涵盖火山灰(VA) 强颠簸(TURB) 结冰(ICE) 雷暴(TS)和热带气旋(TC) 并包含边界多边形坐标和高度限制
Endpoint ID: 41699
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41699/global+international+sigmet+airspace+hazards
输入参数

全球国际SIGMET空域危险情报 — 端点功能

对象 描述
hazard 可选 Optional hazard type filter (e.g. VA, TURB, ICE, TS, TC).
fir 可选 Optional Flight Information Region (FIR) or ICAO prefix filter.
limit 可选 Maximum advisories to return (1-150, default 40).

剩余免费测试请求:3 / 3。


输入参数

hazard
fir
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:20.372Z",
        "latencyMs": 17,
        "cached": false,
        "count": 2,
        "totalActive": 126,
        "byHazard": {
            "VA": 9,
            "TS": 60,
            "MTW": 2,
            "TURB": 31,
            "ICE": 24
        },
        "source": "noaa-aviation-weather-center"
    },
    "data": [
        {
            "icaoId": "SEGU",
            "firId": "SEFG",
            "firName": "SEFG GUAYAQUIL",
            "seriesId": "1",
            "hazard": "VA",
            "qualifier": "ERUPTION MT SANGAY",
            "validFromUtc": "2026-11-24T02:58:00.000Z",
            "validToUtc": "2026-11-24T08:58:00.000Z",
            "baseFt": 0,
            "topFt": 22000,
            "direction": "E",
            "speedKt": 5,
            "intensityChange": null,
            "geometryType": "AREA",
            "coordinates": [
                {
                    "lat": -1.95,
                    "lon": -78.167
                },
                {
                    "lat": -2.067,
                    "lon": -78.183
                }
            ],
            "rawSigmet": "WVEQ31 SEGU 240258 SEFG SIGMET 1 VALID 240258/240858 SEGU- SEFG GUAYAQUIL FIR VA ERUPTION MT SANGAY PSN S0200 W07820 VA CLD OBS AT 0210Z WI S0157 W07810 - S0204 W07811 - S0201 W07821 - S0159 W07820 - S0157 W07810 SFC/FL220 MOV E 5KT FCST AT 0730Z WI S0149 W07820 - S0154 W07813 - S0201 W07820 - S0..."
        },
        {
            "icaoId": "SEGU",
            "firId": "SEFG",
            "firName": "SEFG GUAYAQUIL",
            "seriesId": "1F",
            "hazard": "VA",
            "qualifier": "ERUPTION MT SANGAY",
            "validFromUtc": "2026-11-24T02:58:00.000Z",
            "validToUtc": "2026-11-24T08:58:00.000Z",
            "baseFt": 0,
            "topFt": 22000,
            "direction": "E",
            "speedKt": 5,
            "intensityChange": null,
            "geometryType": "AREA",
            "coordinates": [
                {
                    "lat": -1.817,
                    "lon": -78.333
                },
                {
                    "lat": -1.9,
                    "lon": -78.217
                }
            ],
            "rawSigmet": "WVEQ31 SEGU 240258 SEFG SIGMET 1 VALID 240258/240858 SEGU- SEFG GUAYAQUIL FIR VA ERUPTION MT SANGAY PSN S0200 W07820 VA CLD OBS AT 0210Z WI S0157 W07810 - S0204 W07811 - S0201 W07821 - S0159 W07820 - S0157 W07810 SFC/FL220 MOV E 5KT FCST AT 0730Z WI S0149 W07820 - S0154 W07813 - S0201 W07820 - S0..."
        }
    ]
}
全球国际SIGMET空域危险情报 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41699/global+international+sigmet+airspace+hazards?hazard=sample&fir=sample&limit=40' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
查询美国地质调查局地震灾害计划官方数据源,获取近期全球地震事件的震级、深度(公里)、坐标、海啸警报标记、PAGER影响警报、震感人数以及可选的地理半径筛选
Endpoint ID: 41700
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41700/usgs+real-time+global+earthquakes+and+tsunami+alerts
输入参数

美国地质调查局全球实时地震和海啸预警 — 端点功能

对象 描述
minMagnitude 可选 Minimum earthquake magnitude (0-10, default 4.0).
days 可选 Lookback window in days (1-90, default 7).
lat 可选 Optional center latitude (-90 to 90) for radius search (requires lon).
lon 可选 Optional center longitude (-180 to 180) for radius search (requires lat).
radiusKm 可选 Search radius in kilometers; requires lat and lon (10-20000, default 500).
tsunamiOnly 可选 Return only events with tsunami alerts flagged when true.
orderBy 可选 Sort order ("time" or "magnitude", default "time").
limit 可选 Maximum earthquakes to return (1-150, default 30).

剩余免费测试请求:3 / 3。


输入参数

minMagnitude
days
lat
lon
radiusKm
tsunamiOnly
orderBy
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:21.227Z",
        "latencyMs": 751,
        "cached": false,
        "count": 2,
        "summary": {
            "totalReturned": 2,
            "maxMagnitude": 4.4,
            "tsunamiAlertsCount": 0,
            "startTimeUtc": "2026-11-17T08:00:00.000Z"
        },
        "source": "usgs-earthquake-hazards"
    },
    "data": [
        {
            "id": "us6000ud41",
            "title": "M 4.4 - 153 km N of Likisá, Timor Leste",
            "magnitude": 4.4,
            "magnitudeType": "mb",
            "place": "153 km N of Likisá, Timor Leste",
            "timeUtc": "2026-11-24T03:12:24.992Z",
            "updatedUtc": "2026-11-24T03:25:02.040Z",
            "lon": 125.1897,
            "lat": -7.21,
            "depthKm": 514.28,
            "tsunamiAlert": false,
            "pagerAlert": null,
            "feltReports": null,
            "significance": 298,
            "status": "reviewed"
        },
        {
            "id": "us6000ud3q",
            "title": "M 4.3 - 27 km S of Surab, Pakistan",
            "magnitude": 4.3,
            "magnitudeType": "mb",
            "place": "27 km S of Surab, Pakistan",
            "timeUtc": "2026-11-24T02:16:25.675Z",
            "updatedUtc": "2026-11-24T03:49:23.040Z",
            "lon": 66.2542,
            "lat": 28.2447,
            "depthKm": 10,
            "tsunamiAlert": false,
            "pagerAlert": null,
            "feltReports": null,
            "significance": 284,
            "status": "reviewed"
        }
    ]
}
美国地质调查局全球实时地震和海啸预警 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41700/usgs+real-time+global+earthquakes+and+tsunami+alerts?minMagnitude=4&days=7&lat=sample&lon=sample&radiusKm=500&tsunamiOnly=false&orderBy=time&limit=30' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
检索特定 USGS 地震事件标识符的完整详情(例如 us6000ud3m)
Endpoint ID: 41701
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41701/single+usgs+earthquake+event+detail
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:21.838Z",
        "latencyMs": 538,
        "cached": false,
        "source": "usgs-earthquake-hazards"
    },
    "data": {
        "id": "us6000ud41",
        "title": "M 4.4 - 153 km N of Likisá, Timor Leste",
        "magnitude": 4.4,
        "magnitudeType": "mb",
        "place": "153 km N of Likisá, Timor Leste",
        "timeUtc": "2026-11-24T03:12:24.992Z",
        "updatedUtc": "2026-11-24T03:25:02.040Z",
        "lon": 125.1897,
        "lat": -7.21,
        "depthKm": 514.28,
        "tsunamiAlert": false,
        "pagerAlert": null,
        "feltReports": null,
        "significance": 298,
        "status": "reviewed"
    }
}
单个USGS地震事件详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41701/single+usgs+earthquake+event+detail&eventId=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
通过 NASA 地球观测站(EONET v3)追踪正在发生或历史上的全球自然事件,包括野火、火山、强风暴、洪水、干旱以及海冰和湖冰,并提供坐标和强度测量值
Endpoint ID: 41702
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41702/nasa+eonet+active+global+natural+hazards
输入参数

NASA EONET 全球活跃自然灾害列表 — 端点功能

对象 描述
category 可选 Optional EONET category ID, or several comma-separated. Valid: drought, dustHaze, earthquakes, floods, landslides, manmade, seaLakeIce, severeStorms, snow, tempExtremes, volcanoes, waterColor, wildfir
status 可选 Event status ("open", "closed", or "all", default "open").
days 可选 Lookback window in days (1-365, default 30).
limit 可选 Maximum natural events to return (1-150, default 30).

剩余免费测试请求:3 / 3。


输入参数

category
status
days
limit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:24.857Z",
        "latencyMs": 2948,
        "cached": false,
        "count": 2,
        "byCategory": {
            "wildfires": 2
        },
        "source": "nasa-eonet-v3"
    },
    "data": [
        {
            "id": "EONET_26661",
            "title": "Wildfire Little Ridge, Highland, Virginia",
            "status": "open",
            "categories": [
                {
                    "id": "wildfires",
                    "title": "Wildfires"
                }
            ],
            "latestDateUtc": "2026-11-21T23:15:00Z",
            "lat": 38.3136,
            "lon": -79.7914,
            "magnitudeValue": 900,
            "magnitudeUnit": "acres",
            "sources": [
                {
                    "id": "IRWIN"
                }
            ],
            "observationsCount": 1
        },
        {
            "id": "EONET_26662",
            "title": "Wildfire White Oak Flat, Alleghany, Virginia",
            "status": "open",
            "categories": [
                {
                    "id": "wildfires",
                    "title": "Wildfires"
                }
            ],
            "latestDateUtc": "2026-11-20T13:16:00Z",
            "lat": 37.8422,
            "lon": -79.8621,
            "magnitudeValue": 2237,
            "magnitudeUnit": "acres",
            "sources": [
                {
                    "id": "IRWIN"
                }
            ],
            "observationsCount": 1
        }
    ]
}
NASA EONET 全球活跃自然灾害列表 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41702/nasa+eonet+active+global+natural+hazards?category=sample&status=open&days=30&limit=30' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 NASA EONET v3 自然灾害事件类别及其描述的官方分类体系
Endpoint ID: 41703
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41703/list+nasa+eonet+natural+hazard+categories
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:24.938Z",
        "latencyMs": 10,
        "cached": true,
        "count": 13,
        "source": "nasa-eonet-v3"
    },
    "data": [
        {
            "id": "drought",
            "title": "Drought",
            "description": "Long lasting absence of precipitation affecting agriculture and livestock, and the overall availability of food and water."
        },
        {
            "id": "dustHaze",
            "title": "Dust and Haze",
            "description": "Related to dust storms, air pollution and other non-volcanic aerosols. Volcano-related plumes shall be included with the originating eruption event."
        }
    ]
}
列出 NASA EONET 自然灾害类别 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41703/list+nasa+eonet+natural+hazard+categories' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
整合美国国家海洋和大气管理局空间天气预报中心官方数据源:当前及未来3天的R级(无线电中断)S级(太阳辐射)和G级(地磁风暴)等级、带有极光可见性指南的行星Kp地磁指数、实时太阳风速(公里/秒)以及近期空间天气预报中心空间天气警报
Endpoint ID: 41704
GET https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41704/noaa+swpc+space+weather+kp+index+and+solar+wind
输入参数

NOAA SWPC 空间天气 Kp 指数和太阳风 — 端点功能

对象 描述
alertsLimit 可选 Maximum recent NOAA SWPC space weather alerts to include (1-30, default 15).

剩余免费测试请求:3 / 3。


输入参数

alertsLimit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "service": "aviation-earth-hazards-api",
        "version": "1.0.0",
        "timestamp": "2026-11-24T08:27:25.582Z",
        "latencyMs": 574,
        "cached": false,
        "alertsCount": 15,
        "source": "noaa-swpc"
    },
    "data": {
        "observedUtc": "2026-11-24T08:24:00Z",
        "scales": {
            "radioBlackout": {
                "scale": 0,
                "text": "none"
            },
            "solarRadiation": {
                "scale": 0,
                "text": "none"
            },
            "geomagneticStorm": {
                "scale": 0,
                "text": "none"
            }
        },
        "forecast3Day": [
            {
                "date": "2026-11-24",
                "radioMinorProbPct": 1,
                "radioMajorProbPct": 1,
                "solarRadiationProbPct": 1,
                "geomagneticScale": 0,
                "geomagneticText": "none"
            },
            {
                "date": "2026-11-25",
                "radioMinorProbPct": 1,
                "radioMajorProbPct": 1,
                "solarRadiationProbPct": 1,
                "geomagneticScale": 0,
                "geomagneticText": "none"
            }
        ],
        "geomagneticKp": {
            "latestKp": 0.33,
            "latestTimeUtc": "2026-11-24T03:00:00.000Z",
            "max24hKp": 1.67,
            "stormLevel": "Quiet",
            "auroraLatitudeHint": "Polar ovals only (~66°+ geomagnetic)",
            "recentSeries": [
                {
                    "timeUtc": "2026-11-24T03:00:00.000Z",
                    "kp": 0.33,
                    "aRunning": 2
                },
                {
                    "timeUtc": "2026-11-24T00:00:00.000Z",
                    "kp": 1,
                    "aRunning": 4
                }
            ]
        },
        "solarWind": {
            "speedKmPerSec": 301,
            "observedUtc": "2026-11-24T08:22:00.000Z",
            "regime": "slow"
        },
        "recentAlerts": [
            {
                "productId": "K04W",
                "issuedAtUtc": "2026-11-19T01:18:16.670Z",
                "headline": "EXTENDED WARNING: Geomagnetic K-index of 4 expected",
                "summary": "Space Weather Message Code: WARK04 | Serial Number: 5457 | Issue Time: 2026 Nov 19 0118 UTC | EXTENDED WARNING: Geomagnetic K-index of 4 expected | Extension to Serial Number: 5456 | Valid From: 2026 Nov 19 0040 UTC"
            },
            {
                "productId": "K05A",
                "issuedAtUtc": "2026-11-19T01:08:54.450Z",
                "headline": "ALERT: Geomagnetic K-index of 5",
                "summary": "Space Weather Message Code: ALTK05 | Serial Number: 2063 | Issue Time: 2026 Nov 19 0108 UTC | ALERT: Geomagnetic K-index of 5 | Threshold Reached: 2026 Nov 19 0105 UTC | Synoptic Period: 0000-0300"
            }
        ],
        "unavailableSources": []
    }
}
NOAA SWPC 空间天气 Kp 指数和太阳风 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/aviation+weather+earthquakes+and+space+api/41704/noaa+swpc+space+weather+kp+index+and+solar+wind?alertsLimit=15' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 航空天气 地震与太空 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

获取实时全球 METAR 和 TAF 航空天气、机场跑道、SIGMET 危险警报、USGS 地震、NASA EONET 野火和 NOAA 太空天气警报

航空天气 地震与太空 API FAQs

它汇总了 NOAA 航空天气中心的 METAR、TAF、机场和 SIGMET 数据源,以及 USGS 地震、NASA EONET 自然事件和 NOAA 太空天气等级。

是的。传入任何全球 ICAO 机场代码,例如 KJFK、EGLL、VVNB 或 WSSS,即可获取解码后的 METAR、TAF、跑道和附近的飞行员报告。

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API