{"api":{"id":"api_9f279cb48138aaae58f29766","slug":"noaa-historical-weather","name":"Historical Weather API","description":"Recorded weather from NOAA weather stations, one row per station and day (or month): high and low temperature, rain, snowfall, snow depth, wind and gusts, fog, hail or thunder flags, by station id or for the stations nearest to a place, plus monthly summaries and 1991-2020 normals.","kind":"ready_made","visibility":"public","domain":"www.ncei.noaa.gov","source_url":"https://www.ncei.noaa.gov/access/services/data/v1","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":19,"created_at":"2026-12-06T04:12:04.056Z","updated_at":"2026-12-06T04:12:04.056Z","runnable":true},"version":"1.0","contract_hash":"6cd0e30ab15e0d9285d8a4722692a5648866dd516a355f8489456f2c1bdfdcda","fields":[{"name":"station","type":"string","description":"GHCN id of the station, such as USW00094728.","required":true,"coverage":1,"example":"USW00094728"},{"name":"station_name","type":"string","description":"Name of the station, such as NY CITY CENTRAL PARK, NY US.","required":false,"coverage":1,"example":"NY CITY CENTRAL PARK, NY US"},{"name":"latitude","type":"number","description":"Latitude of the station.","required":false,"coverage":1,"example":40.77898},{"name":"longitude","type":"number","description":"Longitude of the station.","required":false,"coverage":1,"example":-73.96925},{"name":"elevation_m","type":"number","description":"Elevation of the station in metres.","required":false,"coverage":1,"example":42.7},{"name":"distance_km","type":"number","description":"Distance from the given place to the station in kilometres; empty without a place.","required":false,"coverage":1,"example":548},{"name":"date","type":"date","description":"The day (daily) or the first day of the month (monthly); empty for normals.","required":false,"coverage":1,"example":"2026-11-01"},{"name":"month","type":"integer","description":"Month number, 1 to 12.","required":false,"coverage":1,"example":11},{"name":"units","type":"string","description":"metric or standard: the units of every value in the row.","required":false,"coverage":1,"example":"metric"},{"name":"temp_max","type":"number","description":"Highest temperature of the day, or the month's average daily high (monthly and normals).","required":false,"coverage":0.8,"example":15},{"name":"temp_min","type":"number","description":"Lowest temperature of the day, or the month's average daily low (monthly and normals).","required":false,"coverage":0.8,"example":5.6},{"name":"temp_avg","type":"number","description":"Average temperature of the day or month, when the station reports it.","required":false,"coverage":0.2,"example":10.7},{"name":"precipitation","type":"number","description":"Rain and melted snow of the day, or the month's total, in mm or inches.","required":false,"coverage":1,"example":0},{"name":"snowfall","type":"number","description":"New snow of the day, or the month's total, in mm or inches.","required":false,"coverage":0.8,"example":0},{"name":"snow_depth","type":"number","description":"Snow on the ground that day, in mm or inches (daily only).","required":false,"coverage":0.8,"example":0},{"name":"wind_avg","type":"number","description":"Average wind speed of the day or month, in m/s or mph.","required":false,"coverage":0.6,"example":1.6},{"name":"wind_gust","type":"number","description":"Fastest 5-second gust of the day or month, in m/s or mph.","required":false,"coverage":0.6,"example":7.2},{"name":"weather_types","type":"array","description":"Events the station flagged that day, such as fog, thunder, hail, freezing rain or high or damaging winds.","required":false,"coverage":0.2,"example":["smoke or haze"]},{"name":"other_values","type":"object","description":"Every other measure the source returned, by NOAA code, such as WSF2 (fastest 2-minute wind) or HTDD (heating degree days).","required":false,"coverage":0.6,"example":{"WSF2":4,"WDF2":260,"WDF5":240}}],"inputs":[{"name":"station_ids","type":"array","description":"GHCN station ids, such as USW00094728 (New York, Central Park). Leave empty and give latitude and longitude to use the stations nearest to a place.","example":["USW00094728"]},{"name":"latitude","type":"number","description":"Latitude of a place, such as 40.7128, to use the stations nearest to it (or to measure distance_km from it).","example":40.7128},{"name":"longitude","type":"number","description":"Longitude of the place, such as -74.006.","example":-74.006},{"name":"radius_km","type":"number","description":"How far from the place to look for stations, in kilometres, from 1 to 200.","default":25},{"name":"max_stations","type":"integer","description":"How many of the nearest stations to use, from 1 to 25.","default":3},{"name":"start_date","type":"string","description":"First day, as YYYY-MM-DD. Default: 30 days before today (daily) or 12 months before (monthly). Not used for normals.","example":"2026-11-01"},{"name":"end_date","type":"string","description":"Last day, as YYYY-MM-DD. Default: the same day as start_date, or today when neither is given.","example":"2026-11-05"},{"name":"summary_type","type":"string","description":"Daily summaries (one row per day), monthly summaries (one row per month) or 1991-2020 monthly normals (one row per calendar month).","default":"daily-summaries","enum":["daily-summaries","global-summary-of-the-month","normals-monthly-1991-2020"]},{"name":"data_types","type":"array","description":"Only these measures, by NOAA code, such as TMAX, TMIN, TAVG, PRCP, SNOW, SNWD, AWND or WSF5. Default: everything the station has. Normals offer TMAX, TMIN, TAVG, PRCP, SNOW, HTDD and CLDD.","example":["TMAX","TMIN","PRCP","SNOW"]},{"name":"units","type":"string","description":"Metric (°C, mm, m/s) or standard (°F, inches, mph).","default":"metric","enum":["metric","standard"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"date":{"description":"The day (daily) or the first day of the month (monthly); empty for normals.","format":"date","type":"string"},"distance_km":{"description":"Distance from the given place to the station in kilometres; empty without a place.","type":"number"},"elevation_m":{"description":"Elevation of the station in metres.","type":"number"},"latitude":{"description":"Latitude of the station.","type":"number"},"longitude":{"description":"Longitude of the station.","type":"number"},"month":{"description":"Month number, 1 to 12.","type":"integer"},"other_values":{"description":"Every other measure the source returned, by NOAA code, such as WSF2 (fastest 2-minute wind) or HTDD (heating degree days).","type":"object"},"precipitation":{"description":"Rain and melted snow of the day, or the month's total, in mm or inches.","type":"number"},"snow_depth":{"description":"Snow on the ground that day, in mm or inches (daily only).","type":"number"},"snowfall":{"description":"New snow of the day, or the month's total, in mm or inches.","type":"number"},"station":{"description":"GHCN id of the station, such as USW00094728.","type":"string"},"station_name":{"description":"Name of the station, such as NY CITY CENTRAL PARK, NY US.","type":"string"},"temp_avg":{"description":"Average temperature of the day or month, when the station reports it.","type":"number"},"temp_max":{"description":"Highest temperature of the day, or the month's average daily high (monthly and normals).","type":"number"},"temp_min":{"description":"Lowest temperature of the day, or the month's average daily low (monthly and normals).","type":"number"},"units":{"description":"metric or standard: the units of every value in the row.","type":"string"},"weather_types":{"description":"Events the station flagged that day, such as fog, thunder, hail, freezing rain or high or damaging winds.","type":"array"},"wind_avg":{"description":"Average wind speed of the day or month, in m/s or mph.","type":"number"},"wind_gust":{"description":"Fastest 5-second gust of the day or month, in m/s or mph.","type":"number"}},"required":["station"],"title":"Historical Weather API","type":"object"},"samples":[{"station":"USW00094728","station_name":"NY CITY CENTRAL PARK, NY US","latitude":40.77898,"longitude":-73.96925,"elevation_m":42.7,"distance_km":548,"date":"2026-11-01","month":11,"units":"metric","temp_max":15,"temp_min":5.6,"temp_avg":null,"precipitation":0,"snowfall":0,"snow_depth":0,"wind_avg":1.6,"wind_gust":7.2,"weather_types":["smoke or haze"],"other_values":{"WSF2":4,"WDF2":260,"WDF5":240}},{"station":"CAN06158359","station_name":"TORONTO CITY CENTRE, ON CA","latitude":43.6275,"longitude":-79.3961,"elevation_m":76.8,"distance_km":2.8,"date":"2026-11-01","month":11,"units":"metric","temp_max":15.5,"temp_min":5.8,"temp_avg":10.7,"precipitation":0,"snowfall":null,"snow_depth":null,"wind_avg":null,"wind_gust":null,"weather_types":[],"other_values":null},{"station":"CA1ON001007","station_name":"ETOBICOKE 5.6 ESE, ON CA","latitude":43.64436,"longitude":-79.49517,"elevation_m":93,"distance_km":9.3,"date":"2026-11-01","month":11,"units":"metric","temp_max":null,"temp_min":null,"temp_avg":null,"precipitation":0,"snowfall":0,"snow_depth":0,"wind_avg":null,"wind_gust":null,"weather_types":[],"other_values":null}],"validation":{"checked_at":"2026-12-06T04:12:04.051Z","field_coverage":{"date":1,"distance_km":1,"elevation_m":1,"latitude":1,"longitude":1,"month":1,"other_values":0.33,"precipitation":1,"snow_depth":0.67,"snowfall":0.67,"station":1,"station_name":1,"temp_avg":0.33,"temp_max":0.67,"temp_min":0.67,"units":1,"weather_types":0.33,"wind_avg":0.33,"wind_gust":0.33},"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-06T04:12:04.056Z","activated_at":"2026-12-06T04:12:04.056Z","active":true,"contract_hash":"6cd0e30ab15e0d9285d8a4722692a5648866dd516a355f8489456f2c1bdfdcda","fields_count":19}]}