{"api":{"id":"api_5681a19b3fb1893803dd9d9e","slug":"airport-weather-history","name":"Historical Airport Weather API","description":"Hourly airport weather observations for any date range: temperature, dew point, humidity, wind direction, speed and gusts, visibility, hourly rain, pressure, sky cover, weather codes and the raw METAR report.","kind":"ready_made","visibility":"public","domain":"mesonet.agron.iastate.edu","source_url":"https://mesonet.agron.iastate.edu/request/download.phtml","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":14,"created_at":"2026-12-06T03:57:27.602Z","updated_at":"2026-12-06T03:57:27.602Z","runnable":true},"version":"1.0","contract_hash":"276e032b7054a3b0556912619e398eb4f20922f8914285c1bf898ea210daa0b7","fields":[{"name":"station","type":"string","description":"Airport station code.","required":true,"coverage":1,"example":"ORD"},{"name":"valid_time","type":"datetime","description":"When the observation was made (UTC).","required":true,"coverage":1,"example":"2026-11-03T00:51:00.000Z"},{"name":"temp_f","type":"number","description":"Air temperature in degrees Fahrenheit.","required":false,"coverage":1,"example":60},{"name":"dewpoint_f","type":"number","description":"Dew point in degrees Fahrenheit.","required":false,"coverage":1,"example":57},{"name":"relative_humidity","type":"number","description":"Relative humidity in percent.","required":false,"coverage":1,"example":89.81},{"name":"wind_direction","type":"number","description":"Wind direction in degrees.","required":false,"coverage":1,"example":180},{"name":"wind_speed_kt","type":"number","description":"Wind speed in knots.","required":false,"coverage":1,"example":11},{"name":"gust_kt","type":"number","description":"Wind gust in knots, when reported.","required":false,"coverage":0.8,"example":24},{"name":"visibility_mi","type":"number","description":"Visibility in miles.","required":false,"coverage":1,"example":9},{"name":"precip_1h_in","type":"number","description":"Rain or melted snow over the last hour, in inches.","required":false,"coverage":1,"example":0},{"name":"pressure_mb","type":"number","description":"Sea-level pressure in millibars.","required":false,"coverage":1,"example":1015.7},{"name":"sky_cover","type":"string","description":"Cloud cover layers, such as FEW SCT BKN.","required":false,"coverage":1,"example":"OVC"},{"name":"weather_codes","type":"string","description":"Present weather codes such as RA or BR, when any.","required":false,"coverage":0.8,"example":"-DZ BR"},{"name":"raw_metar","type":"string","description":"The raw METAR report text.","required":false,"coverage":1,"example":"KORD 030051Z 18011G24KT 9SM OVC008 16/14 A3000 RMK AO2 SLP157 T01560139 $"}],"inputs":[{"name":"stations","type":"array","description":"Airport station codes: 3 letters for US airports (JFK) or 4-letter ICAO codes (CYYZ). Up to 10.","example":["JFK","ORD"],"required":true},{"name":"start_date","type":"string","description":"First day, as YYYY-MM-DD (UTC).","example":"2026-11-01","required":true},{"name":"end_date","type":"string","description":"Last day, as YYYY-MM-DD (UTC). Same as the first day when left out. At most 31 days in all.","example":"2026-11-02"},{"name":"variables","type":"array","description":"Measurements to keep, from: tmpf, dwpf, relh, drct, sknt, gust, vsby, p01i, mslp, skyc1, wxcodes, metar. The others come back empty. Leave empty for all.","example":["tmpf","sknt","metar"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"dewpoint_f":{"description":"Dew point in degrees Fahrenheit.","type":"number"},"gust_kt":{"description":"Wind gust in knots, when reported.","type":"number"},"precip_1h_in":{"description":"Rain or melted snow over the last hour, in inches.","type":"number"},"pressure_mb":{"description":"Sea-level pressure in millibars.","type":"number"},"raw_metar":{"description":"The raw METAR report text.","type":"string"},"relative_humidity":{"description":"Relative humidity in percent.","type":"number"},"sky_cover":{"description":"Cloud cover layers, such as FEW SCT BKN.","type":"string"},"station":{"description":"Airport station code.","type":"string"},"temp_f":{"description":"Air temperature in degrees Fahrenheit.","type":"number"},"valid_time":{"description":"When the observation was made (UTC).","format":"date-time","type":"string"},"visibility_mi":{"description":"Visibility in miles.","type":"number"},"weather_codes":{"description":"Present weather codes such as RA or BR, when any.","type":"string"},"wind_direction":{"description":"Wind direction in degrees.","type":"number"},"wind_speed_kt":{"description":"Wind speed in knots.","type":"number"}},"required":["station","valid_time"],"title":"Historical Airport Weather API","type":"object"},"samples":[{"station":"ORD","valid_time":"2026-11-03T00:51:00.000Z","temp_f":60,"dewpoint_f":57,"relative_humidity":89.81,"wind_direction":180,"wind_speed_kt":11,"gust_kt":24,"visibility_mi":9,"precip_1h_in":0,"pressure_mb":1015.7,"sky_cover":"OVC","weather_codes":null,"raw_metar":"KORD 030051Z 18011G24KT 9SM OVC008 16/14 A3000 RMK AO2 SLP157 T01560139 $"},{"station":"ORD","valid_time":"2026-11-03T01:51:00.000Z","temp_f":60,"dewpoint_f":58,"relative_humidity":93.1,"wind_direction":180,"wind_speed_kt":10,"gust_kt":17,"visibility_mi":3,"precip_1h_in":0.0001,"pressure_mb":1015.6,"sky_cover":"OVC","weather_codes":"-DZ BR","raw_metar":"KORD 030151Z 18010G17KT 3SM -DZ BR OVC006 16/14 A2999 RMK AO2 DZB47 SLP156 P0000 T01560144 $"},{"station":"ORD","valid_time":"2026-11-03T02:51:00.000Z","temp_f":60,"dewpoint_f":58,"relative_humidity":93.1,"wind_direction":170,"wind_speed_kt":9,"gust_kt":null,"visibility_mi":6,"precip_1h_in":0.0001,"pressure_mb":1015.4,"sky_cover":"OVC","weather_codes":"BR","raw_metar":"KORD 030251Z 17009KT 6SM BR OVC006 16/14 A2999 RMK AO2 DZE33 SLP154 P0000 60000 T01560144 58002 $"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"dewpoint_f":1,"gust_kt":0.67,"precip_1h_in":1,"pressure_mb":1,"raw_metar":1,"relative_humidity":1,"sky_cover":1,"station":1,"temp_f":1,"valid_time":1,"visibility_mi":1,"weather_codes":0.67,"wind_direction":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:57:27.602Z","activated_at":"2026-12-06T03:57:27.602Z","active":true,"contract_hash":"276e032b7054a3b0556912619e398eb4f20922f8914285c1bf898ea210daa0b7","fields_count":14}]}