{
"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'
{
"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 $"
}
]
}
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'
{
"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'
{
"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'
{
"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..."
}
]
}
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'
{
"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'
{
"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"
}
}
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'
{
"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
}
]
}
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'
{
"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."
}
]
}
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'
{
"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": []
}
}
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'
{
"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 $"
}
]
}
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'
{
"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'
{
"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'
{
"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'
{
"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 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
一个 API 实时监测各类危险:航空天气危险(METAR、TAF、SIGMET)、地震及海啸警报、自然灾害事件和空间天气警报
它将美国政府官方航空天气(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` 中