{"api":{"id":"api_a25b67fbe302ca8e3591dcd9","slug":"aviation-weather-metar","name":"Airport Weather Observations","description":"Airport weather reports (METAR and SPECI) by ICAO code for airports worldwide, or for every station in a US state: flight category, temperature, dewpoint, wind and gusts, visibility, ceiling and cloud layers, present weather, altimeter and the raw report, latest only or up to 30 days back.","kind":"ready_made","visibility":"public","domain":"aviationweather.gov","source_url":"https://aviationweather.gov/data/api/","category":"environment","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":24,"created_at":"2026-12-06T03:33:09.183Z","updated_at":"2026-12-06T03:33:09.183Z","runnable":true},"version":"1.0","contract_hash":"5e614e4515cfababfa5c472c245581e8615eb143c46a3dbfe3a6b4a921c7512e","fields":[{"name":"icao","type":"string","description":"ICAO code of the airport or station, such as KJFK.","required":true,"coverage":1,"example":"CYYZ"},{"name":"station_name","type":"string","description":"Name of the station, such as New York/JF Kennedy Intl, NY, US.","required":false,"coverage":1,"example":"Toronto/Pearson Intl, ON, CA"},{"name":"observed_at","type":"datetime","description":"When the observation was made (UTC).","required":true,"coverage":1,"example":"2026-12-06T02:00:00.000Z"},{"name":"report_type","type":"string","description":"METAR for a routine report, SPECI for a special report after a sudden change.","required":false,"coverage":1,"example":"METAR"},{"name":"flight_category","type":"string","description":"VFR, MVFR, IFR or LIFR, from the ceiling and visibility.","required":false,"coverage":1,"example":"MVFR"},{"name":"temp_c","type":"number","description":"Air temperature in degrees Celsius.","required":false,"coverage":1,"example":5},{"name":"dewpoint_c","type":"number","description":"Dewpoint in degrees Celsius.","required":false,"coverage":1,"example":1},{"name":"wind_dir_degrees","type":"integer","description":"Direction the wind blows from, in degrees true (0 with a wind speed of 0 means calm); empty when the report calls it variable.","required":false,"coverage":1,"example":70},{"name":"is_wind_variable","type":"boolean","description":"True when the report gives the wind direction as variable (VRB).","required":false,"coverage":1,"example":false},{"name":"wind_speed_kt","type":"integer","description":"Wind speed in knots.","required":false,"coverage":1,"example":7},{"name":"gust_kt","type":"integer","description":"Gust speed in knots; empty when no gusts are reported.","required":false,"coverage":0.2,"example":19},{"name":"visibility_sm","type":"number","description":"Visibility in statute miles; 10 also stands for 10 or more (reported as 10+).","required":false,"coverage":1,"example":15},{"name":"ceiling_ft","type":"integer","description":"Lowest broken or overcast cloud layer, or vertical visibility into an obscured sky, in feet above ground; empty when there is no ceiling.","required":false,"coverage":1,"example":2500},{"name":"cloud_cover","type":"string","description":"Overall sky cover: CLR, FEW, SCT, BKN, OVC or OVX (sky obscured).","required":false,"coverage":1,"example":"BKN"},{"name":"cloud_layers","type":"array","description":"Cloud layers from the lowest up, as cover and base, such as BKN 2500 ft.","required":false,"coverage":1,"example":["BKN 2500 ft"]},{"name":"weather","type":"string","description":"Present weather codes, such as -RA BR (light rain and mist); empty when none is reported.","required":false,"coverage":0.6,"example":"-SN BR"},{"name":"altimeter_hpa","type":"number","description":"Altimeter setting in hectopascals.","required":false,"coverage":1,"example":1024.1},{"name":"altimeter_inhg","type":"number","description":"Altimeter setting in inches of mercury, as US pilots use it.","required":false,"coverage":1,"example":30.24},{"name":"sea_level_pressure_hpa","type":"number","description":"Sea-level pressure in hectopascals, when the report has it.","required":false,"coverage":0.4,"example":1024.5},{"name":"latitude","type":"number","description":"Latitude of the station.","required":false,"coverage":1,"example":43.679},{"name":"longitude","type":"number","description":"Longitude of the station.","required":false,"coverage":1,"example":-79.629},{"name":"elevation_m","type":"number","description":"Elevation of the station in meters.","required":false,"coverage":1,"example":171},{"name":"raw_text","type":"string","description":"The report exactly as issued, such as METAR KJFK 060151Z 33010KT 10SM FEW043 14/08 A3006.","required":false,"coverage":1,"example":"METAR CYYZ 060200Z 07007KT 15SM BKN025 05/01 A3024 RMK SC6 SLP245"},{"name":"url","type":"url","description":"The station's METAR page on aviationweather.gov.","required":false,"coverage":1,"example":"https://aviationweather.gov/data/metar/?id=CYYZ&hours=0&decoded=yes"}],"inputs":[{"name":"airport_ids","type":"array","description":"ICAO codes such as KJFK or CYYZ, up to 100. @ plus a US state code, such as @NY, adds every reporting station in that state.","example":["KJFK","CYYZ"],"required":true},{"name":"hours","type":"integer","description":"0 for the latest report of each station, or 1 to 720 for every report from that many hours back.","default":0,"example":2}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"altimeter_hpa":{"description":"Altimeter setting in hectopascals.","type":"number"},"altimeter_inhg":{"description":"Altimeter setting in inches of mercury, as US pilots use it.","type":"number"},"ceiling_ft":{"description":"Lowest broken or overcast cloud layer, or vertical visibility into an obscured sky, in feet above ground; empty when there is no ceiling.","type":"integer"},"cloud_cover":{"description":"Overall sky cover: CLR, FEW, SCT, BKN, OVC or OVX (sky obscured).","type":"string"},"cloud_layers":{"description":"Cloud layers from the lowest up, as cover and base, such as BKN 2500 ft.","type":"array"},"dewpoint_c":{"description":"Dewpoint in degrees Celsius.","type":"number"},"elevation_m":{"description":"Elevation of the station in meters.","type":"number"},"flight_category":{"description":"VFR, MVFR, IFR or LIFR, from the ceiling and visibility.","type":"string"},"gust_kt":{"description":"Gust speed in knots; empty when no gusts are reported.","type":"integer"},"icao":{"description":"ICAO code of the airport or station, such as KJFK.","type":"string"},"is_wind_variable":{"description":"True when the report gives the wind direction as variable (VRB).","type":"boolean"},"latitude":{"description":"Latitude of the station.","type":"number"},"longitude":{"description":"Longitude of the station.","type":"number"},"observed_at":{"description":"When the observation was made (UTC).","format":"date-time","type":"string"},"raw_text":{"description":"The report exactly as issued, such as METAR KJFK 060151Z 33010KT 10SM FEW043 14/08 A3006.","type":"string"},"report_type":{"description":"METAR for a routine report, SPECI for a special report after a sudden change.","type":"string"},"sea_level_pressure_hpa":{"description":"Sea-level pressure in hectopascals, when the report has it.","type":"number"},"station_name":{"description":"Name of the station, such as New York/JF Kennedy Intl, NY, US.","type":"string"},"temp_c":{"description":"Air temperature in degrees Celsius.","type":"number"},"url":{"description":"The station's METAR page on aviationweather.gov.","format":"uri","type":"string"},"visibility_sm":{"description":"Visibility in statute miles; 10 also stands for 10 or more (reported as 10+).","type":"number"},"weather":{"description":"Present weather codes, such as -RA BR (light rain and mist); empty when none is reported.","type":"string"},"wind_dir_degrees":{"description":"Direction the wind blows from, in degrees true (0 with a wind speed of 0 means calm); empty when the report calls it variable.","type":"integer"},"wind_speed_kt":{"description":"Wind speed in knots.","type":"integer"}},"required":["icao","observed_at"],"title":"Airport Weather Observations","type":"object"},"samples":[{"icao":"CYYZ","station_name":"Toronto/Pearson Intl, ON, CA","observed_at":"2026-12-06T02:00:00.000Z","report_type":"METAR","flight_category":"MVFR","temp_c":5,"dewpoint_c":1,"wind_dir_degrees":70,"is_wind_variable":false,"wind_speed_kt":7,"gust_kt":null,"visibility_sm":15,"ceiling_ft":2500,"cloud_cover":"BKN","cloud_layers":["BKN 2500 ft"],"weather":null,"altimeter_hpa":1024.1,"altimeter_inhg":30.24,"sea_level_pressure_hpa":1024.5,"latitude":43.679,"longitude":-79.629,"elevation_m":171,"raw_text":"METAR CYYZ 060200Z 07007KT 15SM BKN025 05/01 A3024 RMK SC6 SLP245","url":"https://aviationweather.gov/data/metar/?id=CYYZ&hours=0&decoded=yes"},{"icao":"KJFK","station_name":"New York/JF Kennedy Intl, NY, US","observed_at":"2026-12-06T02:51:00.000Z","report_type":"METAR","flight_category":"VFR","temp_c":13.9,"dewpoint_c":7.8,"wind_dir_degrees":330,"is_wind_variable":false,"wind_speed_kt":8,"gust_kt":19,"visibility_sm":10,"ceiling_ft":25000,"cloud_cover":"BKN","cloud_layers":["FEW 4500 ft","SCT 6500 ft","BKN 25000 ft"],"weather":null,"altimeter_hpa":1018.7,"altimeter_inhg":30.08,"sea_level_pressure_hpa":1018.4,"latitude":40.6392,"longitude":-73.7639,"elevation_m":3,"raw_text":"METAR KJFK 060251Z 33008G19KT 10SM FEW045 SCT065 BKN250 14/08 A3008 RMK AO2 SLP184 T01390078 51027 $","url":"https://aviationweather.gov/data/metar/?id=KJFK&hours=0&decoded=yes"},{"icao":"PARY","station_name":"Ruby Arpt, AK, US","observed_at":"2026-12-06T02:52:00.000Z","report_type":"SPECI","flight_category":"LIFR","temp_c":-8,"dewpoint_c":-9,"wind_dir_degrees":60,"is_wind_variable":false,"wind_speed_kt":3,"gust_kt":null,"visibility_sm":0.75,"ceiling_ft":200,"cloud_cover":"OVC","cloud_layers":["OVC 200 ft"],"weather":"-SN BR","altimeter_hpa":1000.4,"altimeter_inhg":29.54,"sea_level_pressure_hpa":null,"latitude":64.731,"longitude":-155.463,"elevation_m":185,"raw_text":"SPECI PARY 060252Z AUTO 06003KT 3/4SM -SN BR OVC002 M08/M09 A2954 RMK AO2 P0000 FZRANO TSNO","url":"https://aviationweather.gov/data/metar/?id=PARY&hours=0&decoded=yes"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"altimeter_hpa":1,"altimeter_inhg":1,"ceiling_ft":1,"cloud_cover":1,"cloud_layers":1,"dewpoint_c":1,"elevation_m":1,"flight_category":1,"gust_kt":0.33,"icao":1,"is_wind_variable":1,"latitude":1,"longitude":1,"observed_at":1,"raw_text":1,"report_type":1,"sea_level_pressure_hpa":0.67,"station_name":1,"temp_c":1,"url":1,"visibility_sm":1,"weather":0.33,"wind_dir_degrees":1,"wind_speed_kt":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.183Z","activated_at":"2026-12-06T03:33:09.183Z","active":true,"contract_hash":"5e614e4515cfababfa5c472c245581e8615eb143c46a3dbfe3a6b4a921c7512e","fields_count":24}]}