{"api":{"id":"api_00869d853dd7fc01812984db","slug":"canada-historical-weather","name":"Canada Historical Weather","description":"Official weather history from Environment and Climate Change Canada's climate stations, daily or monthly: high, low and mean temperature, precipitation, rain, snow, snow on the ground, wind gusts, heating and cooling degree days and quality flags, by Climate ID or by station name and province.","kind":"ready_made","visibility":"public","domain":"api.weather.gc.ca","source_url":"https://api.weather.gc.ca/collections/climate-daily","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":20,"created_at":"2026-12-06T04:12:04.053Z","updated_at":"2026-12-06T04:12:04.053Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Environment Canada's id of this observation: the station's Climate ID (Station ID on monthly rows) with the year, month and day.","required":true,"coverage":1,"example":"6158731.2025.1.1"},{"name":"frequency","type":"string","description":"daily or monthly.","required":false,"coverage":1,"example":"daily"},{"name":"station_name","type":"string","description":"Name of the climate station, such as TORONTO INTL A.","required":false,"coverage":1,"example":"TORONTO INTL A"},{"name":"climate_id","type":"string","description":"Environment Canada's Climate ID of the station, such as 6158731.","required":false,"coverage":1,"example":"6158731"},{"name":"province","type":"string","description":"Two-letter province or territory code of the station, such as ON.","required":false,"coverage":1,"example":"ON"},{"name":"latitude","type":"number","description":"Latitude of the station.","required":false,"coverage":1,"example":43.67667},{"name":"longitude","type":"number","description":"Longitude of the station.","required":false,"coverage":1,"example":-79.63056},{"name":"date","type":"date","description":"Day of the observation in local standard time; the first day of the month on monthly rows.","required":false,"coverage":1,"example":"2025-01-01"},{"name":"max_temp_c","type":"number","description":"Highest temperature of the day in °C; the highest of the month on monthly rows.","required":false,"coverage":1,"example":2.8},{"name":"min_temp_c","type":"number","description":"Lowest temperature of the day in °C; the lowest of the month on monthly rows.","required":false,"coverage":1,"example":-0.2},{"name":"mean_temp_c","type":"number","description":"Mean temperature of the day in °C (midway between the high and the low); the mean of the daily means on monthly rows.","required":false,"coverage":1,"example":1.3},{"name":"total_precip_mm","type":"number","description":"Total precipitation in mm (rain plus the water in the snow) for the day, for the month on monthly rows.","required":false,"coverage":1,"example":0.7},{"name":"total_rain_mm","type":"number","description":"Daily rows: total rainfall in mm.","required":false,"coverage":1,"example":0.7},{"name":"total_snow_cm","type":"number","description":"Total snowfall in cm for the day, or for the month on monthly rows.","required":false,"coverage":1,"example":0},{"name":"snow_on_ground_cm","type":"number","description":"Depth of snow on the ground in cm; on the last day of the month on monthly rows.","required":false,"coverage":0.8,"example":0},{"name":"max_gust_kmh","type":"number","description":"Daily rows: speed of the day's strongest wind gust in km/h.","required":false,"coverage":1,"example":62},{"name":"max_gust_direction_deg","type":"integer","description":"Daily rows: direction the strongest gust came from, in degrees (90 east, 180 south, 270 west, 360 north).","required":false,"coverage":1,"example":300},{"name":"heating_degree_days","type":"number","description":"Heating degree days: how far the day's mean temperature fell below 18 °C; summed over the month on monthly rows.","required":false,"coverage":1,"example":16.7},{"name":"cooling_degree_days","type":"number","description":"Cooling degree days: how far the day's mean temperature rose above 18 °C; summed over the month on monthly rows.","required":false,"coverage":1,"example":0},{"name":"quality_flags","type":"array","description":"Notes on values in this row as field: code (meaning), such as total_snow_cm: T (trace) or max_gust_kmh: M (missing); on monthly rows, values based on fewer days than the month has.","required":false,"coverage":1,"example":["total_snow_cm: T (trace)"]}],"inputs":[{"name":"climate_ids","type":"array","description":"Climate IDs of the stations, such as 6158731 (Toronto Pearson) or 6158355 (Toronto City). A station_name search returns them in climate_id.","example":["6158731","6158355"]},{"name":"station_name","type":"string","description":"Find stations whose name contains these whole words, such as TORONTO or VANCOUVER INTL. Only stations that reported data in the chosen period are read.","example":"TORONTO"},{"name":"province","type":"string","description":"Two-letter province or territory code, such as ON or BC: narrows a station_name search, or alone reads every station there that reported data in the period.","example":"ON"},{"name":"start_date","type":"string","description":"First day, as YYYY-MM-DD (a month such as 2026-01 works too). Default: 30 days up to end_date for daily data, 12 months for monthly data.","example":"2026-11-01"},{"name":"end_date","type":"string","description":"Last day, as YYYY-MM-DD or YYYY-MM. Default: yesterday, or the last full month for monthly data.","example":"2026-11-30"},{"name":"frequency","type":"string","description":"daily for one row per station and day, monthly for one row per month.","default":"daily","example":"daily","enum":["daily","monthly"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"climate_id":{"description":"Environment Canada's Climate ID of the station, such as 6158731.","type":"string"},"cooling_degree_days":{"description":"Cooling degree days: how far the day's mean temperature rose above 18 °C; summed over the month on monthly rows.","type":"number"},"date":{"description":"Day of the observation in local standard time; the first day of the month on monthly rows.","format":"date","type":"string"},"frequency":{"description":"daily or monthly.","type":"string"},"heating_degree_days":{"description":"Heating degree days: how far the day's mean temperature fell below 18 °C; summed over the month on monthly rows.","type":"number"},"id":{"description":"Environment Canada's id of this observation: the station's Climate ID (Station ID on monthly rows) with the year, month and day.","type":"string"},"latitude":{"description":"Latitude of the station.","type":"number"},"longitude":{"description":"Longitude of the station.","type":"number"},"max_gust_direction_deg":{"description":"Daily rows: direction the strongest gust came from, in degrees (90 east, 180 south, 270 west, 360 north).","type":"integer"},"max_gust_kmh":{"description":"Daily rows: speed of the day's strongest wind gust in km/h.","type":"number"},"max_temp_c":{"description":"Highest temperature of the day in °C; the highest of the month on monthly rows.","type":"number"},"mean_temp_c":{"description":"Mean temperature of the day in °C (midway between the high and the low); the mean of the daily means on monthly rows.","type":"number"},"min_temp_c":{"description":"Lowest temperature of the day in °C; the lowest of the month on monthly rows.","type":"number"},"province":{"description":"Two-letter province or territory code of the station, such as ON.","type":"string"},"quality_flags":{"description":"Notes on values in this row as field: code (meaning), such as total_snow_cm: T (trace) or max_gust_kmh: M (missing); on monthly rows, values based on fewer days than the month has.","type":"array"},"snow_on_ground_cm":{"description":"Depth of snow on the ground in cm; on the last day of the month on monthly rows.","type":"number"},"station_name":{"description":"Name of the climate station, such as TORONTO INTL A.","type":"string"},"total_precip_mm":{"description":"Total precipitation in mm (rain plus the water in the snow) for the day, for the month on monthly rows.","type":"number"},"total_rain_mm":{"description":"Daily rows: total rainfall in mm.","type":"number"},"total_snow_cm":{"description":"Total snowfall in cm for the day, or for the month on monthly rows.","type":"number"}},"required":["id"],"title":"Canada Historical Weather","type":"object"},"samples":[{"id":"6158731.2025.1.1","frequency":"daily","station_name":"TORONTO INTL A","climate_id":"6158731","province":"ON","latitude":43.67667,"longitude":-79.63056,"date":"2025-01-01","max_temp_c":2.8,"min_temp_c":-0.2,"mean_temp_c":1.3,"total_precip_mm":0.7,"total_rain_mm":0.7,"total_snow_cm":0,"snow_on_ground_cm":null,"max_gust_kmh":62,"max_gust_direction_deg":300,"heating_degree_days":16.7,"cooling_degree_days":0,"quality_flags":["total_snow_cm: T (trace)"]},{"id":"6158731.2025.1.2","frequency":"daily","station_name":"TORONTO INTL A","climate_id":"6158731","province":"ON","latitude":43.67667,"longitude":-79.63056,"date":"2025-01-02","max_temp_c":0.4,"min_temp_c":-3.4,"mean_temp_c":-1.5,"total_precip_mm":1.8,"total_rain_mm":0,"total_snow_cm":1.8,"snow_on_ground_cm":0,"max_gust_kmh":59,"max_gust_direction_deg":260,"heating_degree_days":19.5,"cooling_degree_days":0,"quality_flags":["snow_on_ground_cm: T (trace)"]},{"id":"6158731.2025.1.3","frequency":"daily","station_name":"TORONTO INTL A","climate_id":"6158731","province":"ON","latitude":43.67667,"longitude":-79.63056,"date":"2025-01-03","max_temp_c":-0.3,"min_temp_c":-5.1,"mean_temp_c":-2.7,"total_precip_mm":0,"total_rain_mm":0,"total_snow_cm":0,"snow_on_ground_cm":1,"max_gust_kmh":60,"max_gust_direction_deg":290,"heating_degree_days":20.7,"cooling_degree_days":0,"quality_flags":["total_precip_mm: T (trace)","total_snow_cm: T (trace)"]}],"validation":{"checked_at":"2026-12-06T04:12:04.051Z","field_coverage":{"climate_id":1,"cooling_degree_days":1,"date":1,"frequency":1,"heating_degree_days":1,"id":1,"latitude":1,"longitude":1,"max_gust_direction_deg":1,"max_gust_kmh":1,"max_temp_c":1,"mean_temp_c":1,"min_temp_c":1,"province":1,"quality_flags":1,"snow_on_ground_cm":0.67,"station_name":1,"total_precip_mm":1,"total_rain_mm":1,"total_snow_cm":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},"links":{"run":"https://pullrow.dev/v1/apis/api_00869d853dd7fc01812984db/run","openapi":"https://pullrow.dev/v1/apis/api_00869d853dd7fc01812984db/openapi.json","contract":"https://pullrow.dev/v1/apis/api_00869d853dd7fc01812984db/contract.json","page":"https://pullrow.dev/catalog/canada-historical-weather"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Each frequency fills its own fields: daily rows carry temperatures, rain, snow, snow depth, gusts and degree days; monthly rows carry the month's summary (temperatures, precipitation, snowfall, snow on the ground and degree days).","Stations measure different things: many automatic stations report no rain and snow split, gusts or snow depth, so those fields stay empty for them. Days with no measurement at all are left out.","A station_name or province search reads at most 300 stations that reported data in the chosen period, one after another. At most 10,000 records per run.","Environment Canada asks heavy users to stay near one request per second overall, so requests are spaced about a second apart: a province-wide search takes a few minutes.","Data from Environment and Climate Change Canada under the Open Government Licence – Canada; credit Environment and Climate Change Canada as the source. Environment Canada does not endorse this API.","The newest day is often blank or provisional and Environment Canada revises recent values as they are checked, so use past dates for complete data. Hourly observations are not included."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Environment Canada's id of this observation: the station's Climate ID (Station ID on monthly rows) with the year, month and day.","group":"Technical","shown":false,"written":false},{"name":"frequency","label":"Frequency","description":"daily or monthly.","group":"Basics","shown":true,"written":false},{"name":"station_name","label":"Station name","description":"Name of the climate station, such as TORONTO INTL A.","group":"Basics","shown":true,"written":false},{"name":"climate_id","label":"Climate ID","description":"Environment Canada's Climate ID of the station, such as 6158731.","group":"Technical","shown":false,"written":false},{"name":"province","label":"Province","description":"Two-letter province or territory code of the station, such as ON.","group":"Location","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude of the station.","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude of the station.","group":"Location","shown":true,"written":false},{"name":"date","label":"Date","description":"Day of the observation in local standard time; the first day of the month on monthly rows.","group":"Dates","shown":true,"written":false},{"name":"max_temp_c","label":"Maximum temp c","description":"Highest temperature of the day in °C; the highest of the month on monthly rows.","group":"Basics","shown":true,"written":false},{"name":"min_temp_c","label":"Minimum temp c","description":"Lowest temperature of the day in °C; the lowest of the month on monthly rows.","group":"Basics","shown":true,"written":false},{"name":"mean_temp_c","label":"Mean temp c","description":"Mean temperature of the day in °C (midway between the high and the low); the mean of the daily means on monthly rows.","group":"Basics","shown":true,"written":false},{"name":"total_precip_mm","label":"Total precip (mm)","description":"Total precipitation in mm (rain plus the water in the snow) for the day, for the month on monthly rows.","group":"Basics","shown":true,"written":false},{"name":"total_rain_mm","label":"Total rain (mm)","description":"Daily rows: total rainfall in mm.","group":"Basics","shown":true,"written":false},{"name":"total_snow_cm","label":"Total snow (cm)","description":"Total snowfall in cm for the day, or for the month on monthly rows.","group":"Basics","shown":true,"written":false},{"name":"snow_on_ground_cm","label":"Snow on ground (cm)","description":"Depth of snow on the ground in cm; on the last day of the month on monthly rows.","group":"Basics","shown":true,"written":false},{"name":"max_gust_kmh","label":"Maximum gust kmh","description":"Daily rows: speed of the day's strongest wind gust in km/h.","group":"Basics","shown":true,"written":false},{"name":"max_gust_direction_deg","label":"Maximum gust direction deg","description":"Daily rows: direction the strongest gust came from, in degrees (90 east, 180 south, 270 west, 360 north).","group":"Basics","shown":true,"written":false},{"name":"heating_degree_days","label":"Heating degree days","description":"Heating degree days: how far the day's mean temperature fell below 18 °C; summed over the month on monthly rows.","group":"Basics","shown":true,"written":false},{"name":"cooling_degree_days","label":"Cooling degree days","description":"Cooling degree days: how far the day's mean temperature rose above 18 °C; summed over the month on monthly rows.","group":"Basics","shown":true,"written":false},{"name":"quality_flags","label":"Quality flags","description":"Notes on values in this row as field: code (meaning), such as total_snow_cm: T (trace) or max_gust_kmh: M (missing); on monthly rows, values based on fewer days than the month has.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"climate_ids","label":"Climate IDs","help":"Climate IDs of the stations, such as 6158731 (Toronto Pearson) or 6158355 (Toronto City). A station_name search returns them in climate_id.","example":"6158731, 6158355","written":false},{"name":"station_name","label":"Station name","help":"Find stations whose name contains these whole words, such as TORONTO or VANCOUVER INTL. Only stations that reported data in the chosen period are read.","example":"TORONTO","written":false},{"name":"province","label":"Province","help":"Two-letter province or territory code, such as ON or BC: narrows a station_name search, or alone reads every station there that reported data in the period.","example":"ON","written":false},{"name":"start_date","label":"Start date","help":"First day, as YYYY-MM-DD (a month such as 2026-01 works too). Default: 30 days up to end_date for daily data, 12 months for monthly data.","example":"2026-11-01","written":false},{"name":"end_date","label":"End date","help":"Last day, as YYYY-MM-DD or YYYY-MM. Default: yesterday, or the last full month for monthly data.","example":"2026-11-30","written":false},{"name":"frequency","label":"Frequency","help":"daily for one row per station and day, monthly for one row per month.","example":"daily","written":false}]}},"incidents":[]}