全球灾害与航空天气 API

API ID 15512

一个 API 实时监测危险:航空天气危险(METAR、TAF、SIGMET)、带有海啸预警的地震、自然灾害事件和空间天气预警

100% 正常运行时间 1,108 ms 平均响应

API 文档

端点

请求
在一次低延迟边缘请求中整合机场元数据和跑道、实时解码的 METAR 天气观测(飞行类别 VFR/MVFR/IFR/LIFR、风/阵风、温度、高度表设置)、有效的 TAF 终端预报以及附近的飞行员报告(PIREPs)
Endpoint ID: 41695
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+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": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:07.587Z",
        "latencyMs": 6,
        "cached": true,
        "icaoId": "KJFK"
    },
    "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-25T01:00:00.000Z",
            "flightCategory": "VFR",
            "tempC": 6.1,
            "dewpointC": -6.7,
            "windDirDeg": 10,
            "windSpeedKt": 8,
            "windGustKt": null,
            "visibilityStatuteMi": "10+",
            "altimeterHpa": 1033.9,
            "skyCover": "FEW",
            "clouds": [
                {
                    "cover": "FEW",
                    "baseFtAgl": 25000
                }
            ],
            "weatherPhenomena": null,
            "lat": 40.6392,
            "lon": -73.7639,
            "elevationM": 3,
            "rawMetar": "METAR KJFK 250051Z 01008KT 10SM FEW250 06/M07 A3053 RMK SLP339 T00611067 $"
        },
        "taf": {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl",
            "issueTime": "2026-11-24T23:20:00.000Z",
            "validFromUtc": "2026-11-25T00:00:00.000Z",
            "validToUtc": "2026-11-26T06:00:00.000Z",
            "lat": 40.63916,
            "lon": -73.76394,
            "elevationM": 3,
            "rawTaf": "TAF KJFK 242320Z 2500/2606 35010KT P6SM SKC FM250400 36009KT P6SM SKC FM250900 04008KT P6SM SKC FM252100 06011KT P6SM SCT150 BKN200 FM260400 07014KT P6SM BKN045 OVC080",
            "forecastPeriods": [
                {
                    "fromUtc": "2026-11-25T00:00:00.000Z",
                    "toUtc": "2026-11-25T04:00:00.000Z",
                    "changeIndicator": null,
                    "probabilityPct": null,
                    "windDirDeg": 350,
                    "windSpeedKt": 10,
                    "windGustKt": null,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "SKC",
                            "baseFtAgl": null
                        }
                    ]
                },
                {
                    "fromUtc": "2026-11-25T04:00:00.000Z",
                    "toUtc": "2026-11-25T09:00:00.000Z",
                    "changeIndicator": "FM",
                    "probabilityPct": null,
                    "windDirDeg": 360,
                    "windSpeedKt": 9,
                    "windGustKt": null,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "SKC",
                            "baseFtAgl": null
                        }
                    ]
                }
            ]
        },
        "nearbyPirepsCount": 2,
        "nearbyPireps": [
            {
                "reportType": "PIREP",
                "observedAtUtc": "2026-11-25T00:41:00.000Z",
                "aircraftType": "B38M",
                "lat": 41.5111,
                "lon": -70.9346,
                "flightLevelHundredsFt": 360,
                "turbulenceIntensity": "MOD",
                "turbulenceType": "CHOP",
                "icingIntensity": null,
                "icingType": null,
                "tempC": null,
                "rawPirep": "000 UBMA90 KWBC 250050 MA 250050 EWB UA /OV EWB190010/TM 0041/FL360/TP B38M/TB MOD CHOP"
            },
            {
                "reportType": "Urgent PIREP",
                "observedAtUtc": "2026-11-24T23:53:00.000Z",
                "aircraftType": "E145",
                "lat": 42.4914,
                "lon": -76.4587,
                "flightLevelHundredsFt": 13,
                "turbulenceIntensity": null,
                "turbulenceType": "LLWS",
                "icingIntensity": null,
                "icingType": null,
                "tempC": null,
                "rawPirep": "000 UBNY90 KWBC 240000 NY 240000 ITH UUA /OV ITH/TM 2353/FL013/TP E145/RM LLWS +/-10/15 KT SFC-002 ON FINAL RY32 KITH"
            }
        ],
        "unavailableSources": [],
        "flightSummary": {
            "flightCategory": "VFR",
            "isHazardousWeather": true,
            "flags": [
                "NEARBY_TURBULENCE_PIREPS"
            ]
        }
    }
}
一体化机场航空天气简报 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+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/global+hazards+and+aviation+weather+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": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:07.660Z",
        "latencyMs": 5,
        "cached": true,
        "count": 2,
        "missing": []
    },
    "data": [
        {
            "icaoId": "EGLL",
            "stationName": "London/Heathrow Intl, EN, GB",
            "reportTime": "2026-11-25T01:00:00.000Z",
            "flightCategory": "MVFR",
            "tempC": 4,
            "dewpointC": 1,
            "windDirDeg": 80,
            "windSpeedKt": 10,
            "windGustKt": null,
            "visibilityStatuteMi": "6+",
            "altimeterHpa": 1013,
            "skyCover": "OVC",
            "clouds": [
                {
                    "cover": "OVC",
                    "baseFtAgl": 1900
                }
            ],
            "weatherPhenomena": null,
            "lat": 51.477,
            "lon": -0.461,
            "elevationM": 26,
            "rawMetar": "METAR EGLL 250050Z COR AUTO 08010KT 9999 OVC019 04/01 Q1013 NOSIG"
        },
        {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl, NY, US",
            "reportTime": "2026-11-25T01:00:00.000Z",
            "flightCategory": "VFR",
            "tempC": 6.1,
            "dewpointC": -6.7,
            "windDirDeg": 10,
            "windSpeedKt": 8,
            "windGustKt": null,
            "visibilityStatuteMi": "10+",
            "altimeterHpa": 1033.9,
            "skyCover": "FEW",
            "clouds": [
                {
                    "cover": "FEW",
                    "baseFtAgl": 25000
                }
            ],
            "weatherPhenomena": null,
            "lat": 40.6392,
            "lon": -73.7639,
            "elevationM": 3,
            "rawMetar": "METAR KJFK 250051Z 01008KT 10SM FEW250 06/M07 A3053 RMK SLP339 T00611067 $"
        }
    ]
}
实时解码的全球METAR观测数据 — 代码片段

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


    
请求
检索最多 10 个 ICAO 机场的已解码全球终端机场天气预报(TAF),包含结构化有效时段、风力预报、能见度、天气现象和云层高度】【。
Endpoint ID: 41697
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+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": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:07.755Z",
        "latencyMs": 5,
        "cached": true,
        "count": 2,
        "missing": []
    },
    "data": [
        {
            "icaoId": "EGLL",
            "stationName": "London/Heathrow Intl",
            "issueTime": "2026-11-24T22:59:00.000Z",
            "validFromUtc": "2026-11-25T00:00:00.000Z",
            "validToUtc": "2026-11-26T06:00:00.000Z",
            "lat": 51.477,
            "lon": -0.461,
            "elevationM": 26,
            "rawTaf": "TAF EGLL 242259Z 2500/2606 10008KT 9999 BKN018 PROB40 TEMPO 2500/2508 BKN014 BECMG 2505/2508 04010KT",
            "forecastPeriods": [
                {
                    "fromUtc": "2026-11-25T00:00:00.000Z",
                    "toUtc": "2026-11-25T05:00:00.000Z",
                    "changeIndicator": null,
                    "probabilityPct": null,
                    "windDirDeg": 100,
                    "windSpeedKt": 8,
                    "windGustKt": null,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "BKN",
                            "baseFtAgl": 1800
                        }
                    ]
                },
                {
                    "fromUtc": "2026-11-25T00:00:00.000Z",
                    "toUtc": "2026-11-25T08:00:00.000Z",
                    "changeIndicator": "TEMPO",
                    "probabilityPct": 40,
                    "windDirDeg": null,
                    "windSpeedKt": null,
                    "windGustKt": null,
                    "visibilityStatuteMi": null,
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "BKN",
                            "baseFtAgl": 1400
                        }
                    ]
                }
            ]
        },
        {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl",
            "issueTime": "2026-11-24T23:20:00.000Z",
            "validFromUtc": "2026-11-25T00:00:00.000Z",
            "validToUtc": "2026-11-26T06:00:00.000Z",
            "lat": 40.63916,
            "lon": -73.76394,
            "elevationM": 3,
            "rawTaf": "TAF KJFK 242320Z 2500/2606 35010KT P6SM SKC FM250400 36009KT P6SM SKC FM250900 04008KT P6SM SKC FM252100 06011KT P6SM SCT150 BKN200 FM260400 07014KT P6SM BKN045 OVC080",
            "forecastPeriods": [
                {
                    "fromUtc": "2026-11-25T00:00:00.000Z",
                    "toUtc": "2026-11-25T04:00:00.000Z",
                    "changeIndicator": null,
                    "probabilityPct": null,
                    "windDirDeg": 350,
                    "windSpeedKt": 10,
                    "windGustKt": null,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "SKC",
                            "baseFtAgl": null
                        }
                    ]
                },
                {
                    "fromUtc": "2026-11-25T04:00:00.000Z",
                    "toUtc": "2026-11-25T09:00:00.000Z",
                    "changeIndicator": "FM",
                    "probabilityPct": null,
                    "windDirDeg": 360,
                    "windSpeedKt": 9,
                    "windGustKt": null,
                    "visibilityStatuteMi": "6+",
                    "weatherPhenomena": null,
                    "clouds": [
                        {
                            "cover": "SKC",
                            "baseFtAgl": null
                        }
                    ]
                }
            ]
        }
    ]
}
实时终端机场预报 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+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/global+hazards+and+aviation+weather+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": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:07.849Z",
        "latencyMs": 5,
        "cached": true,
        "count": 2,
        "missing": []
    },
    "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/global+hazards+and+aviation+weather+api/41698/global+airport+directory+runways+and+frequencies?ids=KJFK,VVNB,WSSS' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回全球范围内有效的国际 SIGMET 航空咨询信息 涵盖火山灰(VA) 强颠簸(TURB) 结冰(ICE) 雷暴(TS)和热带气旋(TC) 并包含边界多边形坐标和高度限制
Endpoint ID: 41699
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+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": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:07.931Z",
        "latencyMs": 5,
        "cached": true,
        "count": 2,
        "totalActive": 145,
        "byHazard": {
            "VA": 9,
            "TURB": 39,
            "MTW": 7,
            "ICE": 15,
            "TS": 75
        }
    },
    "data": [
        {
            "icaoId": "SEGU",
            "firId": "SEFG",
            "firName": "SEFG GUAYAQUIL",
            "seriesId": "4",
            "hazard": "VA",
            "qualifier": "ERUPTION MT SANGAY",
            "validFromUtc": "2026-11-24T19:30:00.000Z",
            "validToUtc": "2026-11-25T01:30:00.000Z",
            "baseFt": 0,
            "topFt": 20000,
            "direction": "N",
            "speedKt": 5,
            "intensityChange": null,
            "geometryType": "AREA",
            "coordinates": [
                {
                    "lat": -1.833,
                    "lon": -78.267
                },
                {
                    "lat": -2,
                    "lon": -78.333
                }
            ],
            "rawSigmet": "WVEQ31 SEGU 241930 SEFG SIGMET 4 VALID 241930/250130 SEGU- SEFG GUAYAQUIL FIR VA ERUPTION MT SANGAY PSN S0200 W07820 VA CLD OBS AT 1900Z WI S0150 W07816 - S0200 W07820 - S0201 W07820 - S0150 W07824 - S0150 W07816 SFC/FL200 MOV N 5KT FCST AT 0100Z WI S0149 W07815 - S0200 W07819 - S0200 W07821 - S0..."
        },
        {
            "icaoId": "SEGU",
            "firId": "SEFG",
            "firName": "SEFG GUAYAQUIL",
            "seriesId": "4F",
            "hazard": "VA",
            "qualifier": "ERUPTION MT SANGAY",
            "validFromUtc": "2026-11-24T19:30:00.000Z",
            "validToUtc": "2026-11-25T01:30:00.000Z",
            "baseFt": 0,
            "topFt": 20000,
            "direction": "N",
            "speedKt": 5,
            "intensityChange": null,
            "geometryType": "AREA",
            "coordinates": [
                {
                    "lat": -1.817,
                    "lon": -78.25
                },
                {
                    "lat": -2,
                    "lon": -78.317
                }
            ],
            "rawSigmet": "WVEQ31 SEGU 241930 SEFG SIGMET 4 VALID 241930/250130 SEGU- SEFG GUAYAQUIL FIR VA ERUPTION MT SANGAY PSN S0200 W07820 VA CLD OBS AT 1900Z WI S0150 W07816 - S0200 W07820 - S0201 W07820 - S0150 W07824 - S0150 W07816 SFC/FL200 MOV N 5KT FCST AT 0100Z WI S0149 W07815 - S0200 W07819 - S0200 W07821 - S0..."
        }
    ]
}
全球国际SIGMET空域危险情报 — 代码片段

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


    
请求
查询美国地质调查局地震灾害计划官方数据源,获取近期全球地震事件的震级、深度(公里)、坐标、海啸警报标记、PAGER影响警报、震感人数以及可选的地理半径筛选
Endpoint ID: 41700
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/41700/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": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:08.019Z",
        "latencyMs": 5,
        "cached": true,
        "count": 2,
        "summary": {
            "totalReturned": 2,
            "maxMagnitude": 5,
            "tsunamiAlertsCount": 0,
            "startTimeUtc": "2026-11-18T01:00:00.000Z"
        }
    },
    "data": [
        {
            "id": "us6000udck",
            "title": "M 4.7 - 2 km NNW of Cabatuan, Philippines",
            "magnitude": 4.7,
            "magnitudeType": "mb",
            "eventType": "earthquake",
            "place": "2 km NNW of Cabatuan, Philippines",
            "timeUtc": "2026-11-24T23:29:55.097Z",
            "updatedUtc": "2026-11-25T00:47:35.192Z",
            "lon": 122.4796,
            "lat": 10.9039,
            "depthKm": 35.85,
            "tsunamiAlert": false,
            "pagerAlert": null,
            "feltReports": 4,
            "significance": 341,
            "status": "reviewed"
        },
        {
            "id": "us6000udbn",
            "title": "M 5.0 - 209 km SE of Kokopo, Papua New Guinea",
            "magnitude": 5,
            "magnitudeType": "mb",
            "eventType": "earthquake",
            "place": "209 km SE of Kokopo, Papua New Guinea",
            "timeUtc": "2026-11-24T21:11:41.618Z",
            "updatedUtc": "2026-11-24T21:29:53.040Z",
            "lon": 153.6843,
            "lat": -5.6002,
            "depthKm": 10,
            "tsunamiAlert": false,
            "pagerAlert": null,
            "feltReports": null,
            "significance": 385,
            "status": "reviewed"
        }
    ]
}
美国地质调查局全球实时地震和海啸预警 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/41700/real-time+global+earthquakes+and+tsunami+alerts?minMagnitude=4.5&days=7&tsunamiOnly=false&orderBy=time&limit=20' --header 'Authorization: Bearer YOUR_API_KEY' 


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

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

API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:08.112Z",
        "latencyMs": 8,
        "cached": true
    },
    "data": {
        "id": "us6000udck",
        "title": "M 4.7 - 2 km NNW of Cabatuan, Philippines",
        "magnitude": 4.7,
        "magnitudeType": "mb",
        "eventType": "earthquake",
        "place": "2 km NNW of Cabatuan, Philippines",
        "timeUtc": "2026-11-24T23:29:55.097Z",
        "updatedUtc": "2026-11-25T00:47:35.192Z",
        "lon": 122.4796,
        "lat": 10.9039,
        "depthKm": 35.85,
        "tsunamiAlert": false,
        "pagerAlert": null,
        "feltReports": 4,
        "significance": 341,
        "status": "reviewed"
    }
}
单个USGS地震事件详情 — 代码片段

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


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

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

对象 描述
category 可选 Optional category ID, or several comma-separated. Valid: drought, dustHaze, earthquakes, floods, landslides, manmade, seaLakeIce, severeStorms, snow, tempExtremes, volcanoes, waterColor, wildfires (ca
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": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:08.183Z",
        "latencyMs": 5,
        "cached": true,
        "count": 2,
        "byCategory": {
            "wildfires": 2
        }
    },
    "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",
            "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",
            "observationsCount": 1
        }
    ]
}
NASA EONET 全球活跃自然灾害列表 — 代码片段

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


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

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

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

API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:08.253Z",
        "latencyMs": 4,
        "cached": true,
        "count": 13
    },
    "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/global+hazards+and+aviation+weather+api/41703/list+natural+hazard+categories' --header 'Authorization: Bearer YOUR_API_KEY' 


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

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

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

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


输入参数

alertsLimit
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:08.324Z",
        "latencyMs": 4,
        "cached": true,
        "alertsCount": 15
    },
    "data": {
        "observedUtc": "2026-11-25T01:05:00Z",
        "scales": {
            "radioBlackout": {
                "scale": 0,
                "text": "none"
            },
            "solarRadiation": {
                "scale": 0,
                "text": "none"
            },
            "geomagneticStorm": {
                "scale": 0,
                "text": "none"
            }
        },
        "forecast3Day": [
            {
                "date": "2026-11-25",
                "radioMinorProbPct": 1,
                "radioMajorProbPct": 1,
                "solarRadiationProbPct": 1,
                "geomagneticScale": 0,
                "geomagneticText": "none"
            },
            {
                "date": "2026-11-26",
                "radioMinorProbPct": 1,
                "radioMajorProbPct": 1,
                "solarRadiationProbPct": 1,
                "geomagneticScale": 0,
                "geomagneticText": "none"
            }
        ],
        "geomagneticKp": {
            "latestKp": 1.33,
            "latestTimeUtc": "2026-11-24T21:00:00.000Z",
            "max24hKp": 1.67,
            "stormLevel": "Quiet",
            "auroraLatitudeHint": "Polar ovals only (~66°+ geomagnetic)",
            "recentSeries": [
                {
                    "timeUtc": "2026-11-24T21:00:00.000Z",
                    "kp": 1.33,
                    "aRunning": 5
                },
                {
                    "timeUtc": "2026-11-24T18:00:00.000Z",
                    "kp": 1.33,
                    "aRunning": 5
                }
            ]
        },
        "solarWind": {
            "speedKmPerSec": 335,
            "observedUtc": "2026-11-25T01:02:00.000Z",
            "regime": "nominal"
        },
        "recentAlerts": [
            {
                "productId": "A20F",
                "issuedAtUtc": "2026-11-24T14:19:26.753Z",
                "headline": "WATCH: Geomagnetic Storm Category G1 Predicted",
                "summary": "Space Weather Message Code: WATA20 | Serial Number: 1139 | Issue Time: 2026 Nov 24 1419 UTC | WATCH: Geomagnetic Storm Category G1 Predicted | Highest Storm Level Predicted by Day: | Nov 25: None (Below G1) Nov 26: None (Below G1) Nov 27: G1 (Minor)"
            },
            {
                "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"
            }
        ],
        "unavailableSources": []
    }
}
NOAA SWPC 空间天气 Kp 指数和太阳风 — 代码片段

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


    
请求
过去 N 小时内来自官方航空天气服务的最多 5 个 ICAO 站点的所有 METAR 和 SPECI 报告,解码方式类似 /v1/aviation/metar(温度、风、能见度、高度表、云、飞行类别、原始文本)。站点逐一查询,因此一个繁忙站点不会挤占其他站点。时间范围内没有报告的 ID 会列在 meta.missing 中;只有当所有 ID 均无报告时才返回 404
Endpoint ID: 42242
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42242/metar+history
输入参数

METAR历史记录 — 端点功能

对象 描述
ids 必需 Comma-separated ICAO station ids (1-5), e.g. KJFK,EGLL.
hours 可选 Look-back window in hours (1-72).

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


输入参数

ids
hours
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:08.399Z",
        "latencyMs": 10,
        "cached": true,
        "count": 72,
        "hours": 24,
        "missing": []
    },
    "data": [
        {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl, NY, US",
            "reportTime": "2026-11-25T01:00:00.000Z",
            "flightCategory": "VFR",
            "tempC": 6.1,
            "dewpointC": -6.7,
            "windDirDeg": 10,
            "windSpeedKt": 8,
            "windGustKt": null,
            "visibilityStatuteMi": "10+",
            "altimeterHpa": 1033.9,
            "skyCover": "FEW",
            "clouds": [
                {
                    "cover": "FEW",
                    "baseFtAgl": 25000
                }
            ],
            "weatherPhenomena": null,
            "lat": 40.6392,
            "lon": -73.7639,
            "elevationM": 3,
            "rawMetar": "METAR KJFK 250051Z 01008KT 10SM FEW250 06/M07 A3053 RMK SLP339 T00611067 $"
        },
        {
            "icaoId": "KJFK",
            "stationName": "New York/JF Kennedy Intl, NY, US",
            "reportTime": "2026-11-25T00:00:00.000Z",
            "flightCategory": "VFR",
            "tempC": 6.7,
            "dewpointC": -7.2,
            "windDirDeg": 350,
            "windSpeedKt": 12,
            "windGustKt": null,
            "visibilityStatuteMi": "10+",
            "altimeterHpa": 1033.3,
            "skyCover": "FEW",
            "clouds": [
                {
                    "cover": "FEW",
                    "baseFtAgl": 25000
                }
            ],
            "weatherPhenomena": null,
            "lat": 40.6392,
            "lon": -73.7639,
            "elevationM": 3,
            "rawMetar": "METAR KJFK 242351Z 35012KT 10SM FEW250 07/M07 A3051 RMK SLP331 T00671072 10100 20061 53029 $"
        }
    ]
}
METAR历史记录 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42242/metar+history?ids=KJFK,EGLL&hours=24' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
官方航空站点目录中的 ICAO 编码站点(机场及其他发布 METAR/TAF 报告的站点),位于某个点(lat+lon)或机场(icao)的 radiusNm 半径范围内,按距离由近到远排列,并提供大圆距离(海里和公里)及相对于中心点的初始方位角。默认仅返回发布 METAR 或 TAF 报告的站点(reportsOnly=false 会额外包含既不发布 METAR 也不发布 TAF 的 ICAO 站点)。如果该区域的目录查询结果达到 400 行的页面上限,则 meta.upstreamCapped 为 true(此时结果可能不完整)
Endpoint ID: 42243
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42243/nearby+airports+and+weather+stations
输入参数

附近的机场和气象站 — 端点功能

对象 描述
icao 可选 Center on this airport (ICAO id). Use either icao or lat+lon.
lat 可选 Center latitude (-90..90), with lon.
lon 可选 Center longitude (-180..180), with lat.
radiusNm 可选 Search radius in nautical miles (1-150).
limit 可选 Maximum stations returned (1-100).
reportsOnly 可选 Only stations that issue METAR or TAF (default true).

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


输入参数

icao
lat
lon
radiusNm
limit
reportsOnly
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-24T15:24:18.532Z",
        "latencyMs": 47,
        "cached": true,
        "count": 2,
        "center": {
            "lat": 40.6399,
            "lon": -73.7787,
            "icaoId": "KJFK",
            "airportName": "NEW YORK/JOHN F KENNEDY INTL"
        },
        "radiusNm": 15,
        "upstreamCapped": false
    },
    "data": [
        {
            "icaoId": "KJFK",
            "iataId": "JFK",
            "faaId": "JFK",
            "name": "New York/JF Kennedy Intl",
            "state": "NY",
            "country": "US",
            "lat": 40.63916,
            "lon": -73.76394,
            "elevationM": 3,
            "reports": [
                "METAR",
                "TAF"
            ],
            "distanceNm": 0.7,
            "distanceKm": 1.2,
            "bearingDeg": 94
        },
        {
            "icaoId": "KLGA",
            "iataId": "LGA",
            "faaId": "LGA",
            "name": "New York/La Guardia Arpt",
            "state": "NY",
            "country": "US",
            "lat": 40.77945,
            "lon": -73.88027,
            "elevationM": 9,
            "reports": [
                "METAR",
                "TAF"
            ],
            "distanceNm": 9.6,
            "distanceKm": 17.7,
            "bearingDeg": 331
        }
    ]
}
附近的机场和气象站 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42243/nearby+airports+and+weather+stations?icao=KJFK&radiusNm=50&limit=20&reportsOnly=true' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
日出 日落 太阳正午以及民用(-6度)航海(-12度)和天文(-18度)晨昏蒙影时间(UTC)使用标准太阳位置方程计算 适用于机场(icao)或任意经纬度 对应当地正午附近的「date」太阳日(因此在远东经度地区 上午事件会落在前一个UTC日期)地平线按海平面计算并采用标准大气折射;在北纬72度至南纬72度之间精度约为一分钟 当天不会发生的事件为null;dayState为normal midnight_su
Endpoint ID: 42244
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42244/sunrise+sunset+and+twilight+for+an+airport
输入参数

机场的日出 日落和曙暮光 — 端点功能

对象 描述
icao 可选 Airport ICAO id (coordinates from the airport directory). Use either icao or lat+lon.
lat 可选 Latitude (-90..90), with lon.
lon 可选 Longitude (-180..180, east positive), with lat.
date 可选 Date YYYY-MM-DD (1900-2100). Default today (UTC).

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


输入参数

icao
lat
lon
date
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-24T15:24:18.630Z",
        "latencyMs": 7,
        "cached": false,
        "icaoId": "KJFK"
    },
    "data": {
        "icaoId": "KJFK",
        "airportName": "NEW YORK/JOHN F KENNEDY INTL",
        "date": "2026-11-24",
        "lat": 40.6399,
        "lon": -73.7787,
        "solarNoon": "2026-11-24T16:41:50Z",
        "sunrise": "2026-11-24T11:52:08Z",
        "sunset": "2026-11-24T21:31:13Z",
        "civilTwilightBegin": "2026-11-24T11:22:11Z",
        "civilTwilightEnd": "2026-11-24T22:01:10Z",
        "nauticalTwilightBegin": "2026-11-24T10:48:36Z",
        "nauticalTwilightEnd": "2026-11-24T22:34:45Z",
        "astronomicalTwilightBegin": "2026-11-24T10:15:54Z",
        "astronomicalTwilightEnd": "2026-11-24T23:07:26Z",
        "dayLengthSeconds": 34745,
        "dayState": "normal"
    }
}
机场的日出 日落和曙暮光 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42244/sunrise+sunset+and+twilight+for+an+airport?icao=KJFK&date=2026-11-24' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
搜索自 1900 年以来任意时间窗口内的官方全球地震目录,可指定震级范围、围绕某点的半径、事件类型、排序方式和偏移分页(每页最多 1000 个事件)。超过 366 天的时间窗口要求 minMagnitude >= 4.5,以确保查询速度。仅日期值表示 UTC 时间 00:00:00,因此 end=2011-04-01 包含 3 月 31 日全天。默认值:过去 30 天,minMagnitude 2.5,eventType earthquake。meta.hasMore / meta.nextOffset 用于指示是否可能存在下一页(nextOffset
Endpoint ID: 42245
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42245/earthquake+catalog+search+by+date+range
输入参数

按日期范围搜索地震目录 — 端点功能

对象 描述
start 可选 Window start, YYYY-MM-DD or ISO 8601 date-time (UTC if no offset). Default end minus 30 days.
end 可选 Window end (exclusive), YYYY-MM-DD or ISO 8601 date-time. Default now.
minMagnitude 可选 Minimum magnitude (-2..10).
maxMagnitude 可选 Maximum magnitude (-2..10, >= minMagnitude).
lat 可选 Center latitude for a radius search (with lon).
lon 可选 Center longitude for a radius search (with lat).
radiusKm 可选 Radius in km around lat/lon (1-20001).
eventType 可选 Seismic event type from GET /v1/earthquakes/types (e.g. earthquake, quarry blast, explosion), or "all" for every type. Default earthquake.
orderBy 可选 Specify the orderBy query parameter value.
limit 可选 Events per page (1-1000).
offset 可选 Number of matching events to skip (0-19000), for paging.

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


输入参数

start
end
minMagnitude
maxMagnitude
lat
lon
radiusKm
eventType
orderBy
limit
offset
API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:08.640Z",
        "latencyMs": 5,
        "cached": true,
        "count": 2,
        "offset": 0,
        "limit": 2,
        "hasMore": true,
        "nextOffset": 2,
        "startTimeUtc": "2026-10-26T01:08:00.000Z",
        "endTimeUtc": "2026-11-25T01:08:00.000Z",
        "eventType": "earthquake"
    },
    "data": [
        {
            "id": "hv75076132",
            "title": "M 2.8 - 47 km S of Hawaiian Ocean View, Hawaii",
            "magnitude": 2.78,
            "magnitudeType": "ml",
            "eventType": "earthquake",
            "place": "47 km S of Hawaiian Ocean View, Hawaii",
            "timeUtc": "2026-11-25T00:49:33.830Z",
            "updatedUtc": "2026-11-25T00:53:06.100Z",
            "lon": -155.6918,
            "lat": 18.6457,
            "depthKm": 6.85,
            "tsunamiAlert": false,
            "pagerAlert": null,
            "feltReports": null,
            "significance": 119,
            "status": "automatic"
        },
        {
            "id": "us6000udck",
            "title": "M 4.7 - 2 km NNW of Cabatuan, Philippines",
            "magnitude": 4.7,
            "magnitudeType": "mb",
            "eventType": "earthquake",
            "place": "2 km NNW of Cabatuan, Philippines",
            "timeUtc": "2026-11-24T23:29:55.097Z",
            "updatedUtc": "2026-11-25T00:47:35.192Z",
            "lon": 122.4796,
            "lat": 10.9039,
            "depthKm": 35.85,
            "tsunamiAlert": false,
            "pagerAlert": null,
            "feltReports": 4,
            "significance": 341,
            "status": "reviewed"
        }
    ]
}
按日期范围搜索地震目录 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42245/earthquake+catalog+search+by+date+range?start=2011-03-01&end=2011-04-01&minMagnitude=6&eventType=earthquake&orderBy=time&limit=100&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
官方地震目录列出的 /v1/earthquakes/search 的 eventType 参数接受的事件类型
Endpoint ID: 42246
GET https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42246/seismic+event+types
输入参数

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

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

API 示例响应
JSON
{
    "ok": true,
    "meta": {
        "version": "1.0.0",
        "timestamp": "2026-11-25T01:07:08.732Z",
        "latencyMs": 0,
        "cached": true,
        "count": 46
    },
    "data": [
        "accidental explosion",
        "acoustic noise"
    ]
}
地震事件类型 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15512/global+hazards+and+aviation+weather+api/42246/seismic+event+types' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

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

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

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

起价
$10,000/年


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

概览

一个 API 实时监测各类危险:航空天气危险(METAR、TAF、SIGMET)、地震及海啸警报、自然灾害事件和空间天气警报

全球灾害与航空天气 API FAQs

它将美国政府官方航空天气(METAR、TAF、机场、SIGMET)、地震、自然灾害和空间天气数据源整合到一个标准化 API 中

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

它将机场详情和跑道数据与解码后的 METAR(包括飞行类别、风、温度和高度表读数)、有效的 TAF 以及附近的 PIREP 结合在一起。响应将这些内容归类在 `data` 下,并使用机场的 ICAO 代码标识机场

使用 METAR History 端点,最多可指定五个 ICAO 站点 ID 和以小时为单位的回溯时长。它会返回解码后的 METAR 和 SPECI 报告及原始文本。对于请求时间范围内没有报告的站点,请检查 `meta.missing`;只有当所有站点都没有报告时才会返回 404】【。

附近机场和气象站接口接受纬度和经度或机场 ICAO 代码,以及以海里为单位的搜索半径。结果按距离由近到远排序,并包含距离、方位、坐标和报告类型。默认情况下,它会返回发布 METAR 或 TAF 的站点;`reportsOnly=false` 会包含其他 ICAO 站点

每条有效的通报都包括其危险类型、受影响的飞行情报区、有效期、高度限制和地理坐标。危险代码包括 VA(火山灰)、TURB(湍流)、ICE(结冰)、TS(雷暴)和 TC(热带气旋)

按日期范围搜索,并可选择设置震级上下限、某点周围的半径、事件类型、排序方式和分页偏移量。当可能还有下一页时,响应会包含 `meta.hasMore` 和 `meta.nextOffset`。超过 366 天的时间范围需要将最低震级设为 4.5 或更高

全球地震结果包括震级、深度、位置、事件时间、海啸警报标志、PAGER 警报、震感报告和重要性。使用结果中的事件 ID,通过单次地震事件详情端点获取该事件的详细信息

活跃全球自然灾害端点列出野火、火山、风暴、洪水、干旱以及海冰或湖冰等事件,并提供状态、类别、坐标和可用的强度测量值。使用“列出自然灾害类别”获取类别 ID、标题和描述】【。

它提供当前的 R、S 和 G 空间天气等级、三天预报、Kp 指数和极光指南、太阳风速度以及近期警报。响应将这些数值归类在 `data` 下,观测时间位于 `observedUtc` 中

一般常见问题

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