{
"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'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Global Hazards and Aviation Weather API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Real-time hazard monitoring in one API: aviation weather hazards (METAR, TAF, SIGMET), earthquakes with tsunami alerts, natural hazard events and space weather alerts.
It combines official US government aviation weather (METAR, TAF, airports, SIGMET), earthquake, natural hazard and space weather feeds in one normalized API.
Yes. Pass any global ICAO airport code such as KJFK, EGLL, VVNB, or WSSS to get decoded METAR, TAF, runways, and nearby pilot reports.
It combines airport details and runway data with a decoded METAR, including flight category, wind, temperature, and altimeter; an active TAF; and nearby PIREPs. The response groups these under `data` and identifies the airport with its ICAO code.
Use the METAR History endpoint with up to five ICAO station IDs and a lookback period in hours. It returns decoded METAR and SPECI reports with raw text. Check `meta.missing` for stations without reports in the requested window; a 404 occurs only if none of the stations has a report.
The Nearby Airports and Weather Stations endpoint accepts a latitude and longitude or an airport ICAO code, plus a search radius in nautical miles. Results are ordered nearest first and include distance, bearing, coordinates, and report types. By default, it returns stations that issue METAR or TAF; `reportsOnly=false` includes other ICAO sites.
Each active advisory includes its hazard type, affected flight information region, validity period, altitude limits, and geographic coordinates. Hazard codes include VA for volcanic ash, TURB for turbulence, ICE for icing, TS for thunderstorms, and TC for tropical cyclones.
Search by date range and optionally set magnitude bounds, a radius around a point, event type, sort order, and offset for pagination. Responses include `meta.hasMore` and `meta.nextOffset` when another page may be available. Windows over 366 days require a minimum magnitude of 4.5 or higher.
Global earthquake results include magnitude, depth, location, event time, tsunami alert flag, PAGER alert, felt reports, and significance. Use the event ID from a result to retrieve its individual details with the Single Earthquake Event Detail endpoint.
The Active Global Natural Hazards endpoint lists events such as wildfires, volcanoes, storms, floods, droughts, and sea or lake ice, with status, category, coordinates, and available magnitude measurements. Use List Natural Hazard Categories to retrieve category IDs, titles, and descriptions.
It provides current R, S, and G space weather scales, a three-day forecast, Kp index and aurora guidance, solar wind speed, and recent alerts. The response groups these values under `data`, with observation time in `observedUtc`.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund