curl --request POST \
--url https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"climate_id": "6158355"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily"
payload = { "climate_id": "6158355" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({climate_id: '6158355'})
};
fetch('https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'climate_id' => '6158355'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily"
payload := strings.NewReader("{\n \"climate_id\": \"6158355\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"climate_id\": \"6158355\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"climate_id\": \"6158355\"\n}"
response = http.request(request)
puts response.read_body{
"attribution": "Data Source: Environment and Climate Change Canada",
"count": 31,
"days": [
{
"cooling_degree_days": 0,
"date": "2024-01-01",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 19.9,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -0.7,
"mean_temp_c": -1.9,
"min_rel_humidity_pct": 65,
"min_temp_c": -3.1,
"snow_on_ground_cm": 2,
"total_precip_mm": 0.1,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-02",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 18,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 1.5,
"mean_temp_c": 0,
"min_rel_humidity_pct": 67,
"min_temp_c": -1.5,
"snow_on_ground_cm": 0,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-03",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.1,
"mean_temp_c": 1.9,
"min_rel_humidity_pct": 68,
"min_temp_c": 0.6,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-04",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 20.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 1.8,
"mean_temp_c": -2.1,
"min_rel_humidity_pct": 54,
"min_temp_c": -6,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-05",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 18.9,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 0.4,
"mean_temp_c": -0.9,
"min_rel_humidity_pct": 59,
"min_temp_c": -2.1,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-06",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 18.7,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 2.1,
"mean_temp_c": -0.7,
"min_rel_humidity_pct": 62,
"min_temp_c": -3.5,
"snow_on_ground_cm": null,
"total_precip_mm": 5,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-07",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 19.7,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 0.7,
"mean_temp_c": -1.7,
"min_rel_humidity_pct": 73,
"min_temp_c": -4.2,
"snow_on_ground_cm": 5,
"total_precip_mm": 0.1,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-08",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 15.8,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.7,
"mean_temp_c": 2.2,
"min_rel_humidity_pct": 63,
"min_temp_c": 0.6,
"snow_on_ground_cm": 4,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-09",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 14.2,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 7,
"mean_temp_c": 3.8,
"min_rel_humidity_pct": 62,
"min_temp_c": 0.6,
"snow_on_ground_cm": 1,
"total_precip_mm": 31.2,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-10",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 14.3,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 6.7,
"mean_temp_c": 3.7,
"min_rel_humidity_pct": 64,
"min_temp_c": 0.7,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-11",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.3,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 2.8,
"mean_temp_c": 1.7,
"min_rel_humidity_pct": 65,
"min_temp_c": 0.6,
"snow_on_ground_cm": null,
"total_precip_mm": 3.3,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-12",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.9,
"mean_temp_c": 1.9,
"min_rel_humidity_pct": 70,
"min_temp_c": -0.1,
"snow_on_ground_cm": null,
"total_precip_mm": 11.8,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-13",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 6.8,
"mean_temp_c": 1.9,
"min_rel_humidity_pct": 60,
"min_temp_c": -2.9,
"snow_on_ground_cm": 1,
"total_precip_mm": 3.3,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-14",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 24.8,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -2.5,
"mean_temp_c": -6.8,
"min_rel_humidity_pct": 54,
"min_temp_c": -11.2,
"snow_on_ground_cm": 0,
"total_precip_mm": 0.1,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-15",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 27.8,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -7.1,
"mean_temp_c": -9.8,
"min_rel_humidity_pct": 47,
"min_temp_c": -12.5,
"snow_on_ground_cm": 1,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-16",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 26.6,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -6.3,
"mean_temp_c": -8.6,
"min_rel_humidity_pct": 58,
"min_temp_c": -10.9,
"snow_on_ground_cm": 1,
"total_precip_mm": 0.9,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-17",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 28.8,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -7.4,
"mean_temp_c": -10.8,
"min_rel_humidity_pct": 49,
"min_temp_c": -14.2,
"snow_on_ground_cm": 1,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-18",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 23.2,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -2.8,
"mean_temp_c": -5.2,
"min_rel_humidity_pct": 58,
"min_temp_c": -7.6,
"snow_on_ground_cm": 2,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-19",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 27.4,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -4.9,
"mean_temp_c": -9.4,
"min_rel_humidity_pct": 49,
"min_temp_c": -13.8,
"snow_on_ground_cm": 1,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-20",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 28.5,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -7,
"mean_temp_c": -10.5,
"min_rel_humidity_pct": 60,
"min_temp_c": -14.1,
"snow_on_ground_cm": 2,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-21",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 24,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -1.4,
"mean_temp_c": -6,
"min_rel_humidity_pct": 49,
"min_temp_c": -10.7,
"snow_on_ground_cm": 2,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-22",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 21,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -0.2,
"mean_temp_c": -3,
"min_rel_humidity_pct": 54,
"min_temp_c": -5.8,
"snow_on_ground_cm": 2,
"total_precip_mm": 0.7,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-23",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.9,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 2.4,
"mean_temp_c": 1.1,
"min_rel_humidity_pct": 80,
"min_temp_c": -0.3,
"snow_on_ground_cm": 2,
"total_precip_mm": 8.1,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-24",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3,
"mean_temp_c": 1.9,
"min_rel_humidity_pct": 92,
"min_temp_c": 0.9,
"snow_on_ground_cm": 2,
"total_precip_mm": 7.2,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-25",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 15,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 4.1,
"mean_temp_c": 3,
"min_rel_humidity_pct": 88,
"min_temp_c": 2,
"snow_on_ground_cm": 0,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-26",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 13.9,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 6.1,
"mean_temp_c": 4.1,
"min_rel_humidity_pct": 79,
"min_temp_c": 2.1,
"snow_on_ground_cm": 0,
"total_precip_mm": 17.6,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-27",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 15.2,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 4,
"mean_temp_c": 2.8,
"min_rel_humidity_pct": 80,
"min_temp_c": 1.6,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-28",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 15.3,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.7,
"mean_temp_c": 2.7,
"min_rel_humidity_pct": 70,
"min_temp_c": 1.7,
"snow_on_ground_cm": 0,
"total_precip_mm": 0.2,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-29",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.2,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.6,
"mean_temp_c": 1.8,
"min_rel_humidity_pct": 60,
"min_temp_c": 0.1,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-30",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.2,
"mean_temp_c": 2,
"min_rel_humidity_pct": 74,
"min_temp_c": 0.7,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-31",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 14,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 5.6,
"mean_temp_c": 4,
"min_rel_humidity_pct": 67,
"min_temp_c": 2.4,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
}
],
"end": "2024-01-31",
"lang": "en",
"licence_url": "https://eccc-msc.github.io/open-data/licence/readme_en/",
"observed_at_ms": 1792969237694,
"source_url": "https://api.weather.gc.ca/collections/climate-daily/items?f=json&CLIMATE_IDENTIFIER=6158355&skipGeometry=true&datetime=2024-01-01%2F2024-01-31&sortby=LOCAL_DATE&limit=400",
"start": "2024-01-01",
"station": {
"climate_id": "6158355",
"daily_first_date": "2002-06-04",
"daily_last_date": "2026-10-23",
"distance_km": null,
"elevation_m": 112.5,
"first_date": "2002-06-04",
"has_hourly": true,
"has_monthly_summary": true,
"has_normals": false,
"hourly_first_date": "2002-06-04",
"hourly_last_date": "2026-10-23",
"last_date": "2026-10-23",
"latitude": 43.666666666666664,
"longitude": -79.4,
"monthly_first_date": "2003-07-01",
"monthly_last_date": "2006-12-01",
"name": "TORONTO CITY",
"operator": "Environment and Climate Change Canada - Meteorological Service of Canada",
"province": "ON",
"province_name": "ONTARIO",
"station_id": 31688,
"tc_id": "XTO",
"timezone": "EST",
"wmo_id": "71508"
}
}Climate daily
Past weather for a date or period at a Canadian station: how cold was it on a day, rainfall last month.
curl --request POST \
--url https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"climate_id": "6158355"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily"
payload = { "climate_id": "6158355" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({climate_id: '6158355'})
};
fetch('https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'climate_id' => '6158355'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily"
payload := strings.NewReader("{\n \"climate_id\": \"6158355\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"climate_id\": \"6158355\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"climate_id\": \"6158355\"\n}"
response = http.request(request)
puts response.read_body{
"attribution": "Data Source: Environment and Climate Change Canada",
"count": 31,
"days": [
{
"cooling_degree_days": 0,
"date": "2024-01-01",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 19.9,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -0.7,
"mean_temp_c": -1.9,
"min_rel_humidity_pct": 65,
"min_temp_c": -3.1,
"snow_on_ground_cm": 2,
"total_precip_mm": 0.1,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-02",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 18,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 1.5,
"mean_temp_c": 0,
"min_rel_humidity_pct": 67,
"min_temp_c": -1.5,
"snow_on_ground_cm": 0,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-03",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.1,
"mean_temp_c": 1.9,
"min_rel_humidity_pct": 68,
"min_temp_c": 0.6,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-04",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 20.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 1.8,
"mean_temp_c": -2.1,
"min_rel_humidity_pct": 54,
"min_temp_c": -6,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-05",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 18.9,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 0.4,
"mean_temp_c": -0.9,
"min_rel_humidity_pct": 59,
"min_temp_c": -2.1,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-06",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 18.7,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 2.1,
"mean_temp_c": -0.7,
"min_rel_humidity_pct": 62,
"min_temp_c": -3.5,
"snow_on_ground_cm": null,
"total_precip_mm": 5,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-07",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 19.7,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 0.7,
"mean_temp_c": -1.7,
"min_rel_humidity_pct": 73,
"min_temp_c": -4.2,
"snow_on_ground_cm": 5,
"total_precip_mm": 0.1,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-08",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 15.8,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.7,
"mean_temp_c": 2.2,
"min_rel_humidity_pct": 63,
"min_temp_c": 0.6,
"snow_on_ground_cm": 4,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-09",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 14.2,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 7,
"mean_temp_c": 3.8,
"min_rel_humidity_pct": 62,
"min_temp_c": 0.6,
"snow_on_ground_cm": 1,
"total_precip_mm": 31.2,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-10",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 14.3,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 6.7,
"mean_temp_c": 3.7,
"min_rel_humidity_pct": 64,
"min_temp_c": 0.7,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-11",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.3,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 2.8,
"mean_temp_c": 1.7,
"min_rel_humidity_pct": 65,
"min_temp_c": 0.6,
"snow_on_ground_cm": null,
"total_precip_mm": 3.3,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-12",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.9,
"mean_temp_c": 1.9,
"min_rel_humidity_pct": 70,
"min_temp_c": -0.1,
"snow_on_ground_cm": null,
"total_precip_mm": 11.8,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-13",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 6.8,
"mean_temp_c": 1.9,
"min_rel_humidity_pct": 60,
"min_temp_c": -2.9,
"snow_on_ground_cm": 1,
"total_precip_mm": 3.3,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-14",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 24.8,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -2.5,
"mean_temp_c": -6.8,
"min_rel_humidity_pct": 54,
"min_temp_c": -11.2,
"snow_on_ground_cm": 0,
"total_precip_mm": 0.1,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-15",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 27.8,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -7.1,
"mean_temp_c": -9.8,
"min_rel_humidity_pct": 47,
"min_temp_c": -12.5,
"snow_on_ground_cm": 1,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-16",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 26.6,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -6.3,
"mean_temp_c": -8.6,
"min_rel_humidity_pct": 58,
"min_temp_c": -10.9,
"snow_on_ground_cm": 1,
"total_precip_mm": 0.9,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-17",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 28.8,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -7.4,
"mean_temp_c": -10.8,
"min_rel_humidity_pct": 49,
"min_temp_c": -14.2,
"snow_on_ground_cm": 1,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-18",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 23.2,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -2.8,
"mean_temp_c": -5.2,
"min_rel_humidity_pct": 58,
"min_temp_c": -7.6,
"snow_on_ground_cm": 2,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-19",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 27.4,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -4.9,
"mean_temp_c": -9.4,
"min_rel_humidity_pct": 49,
"min_temp_c": -13.8,
"snow_on_ground_cm": 1,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-20",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 28.5,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -7,
"mean_temp_c": -10.5,
"min_rel_humidity_pct": 60,
"min_temp_c": -14.1,
"snow_on_ground_cm": 2,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-21",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 24,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -1.4,
"mean_temp_c": -6,
"min_rel_humidity_pct": 49,
"min_temp_c": -10.7,
"snow_on_ground_cm": 2,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-22",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 21,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": -0.2,
"mean_temp_c": -3,
"min_rel_humidity_pct": 54,
"min_temp_c": -5.8,
"snow_on_ground_cm": 2,
"total_precip_mm": 0.7,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-23",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.9,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 2.4,
"mean_temp_c": 1.1,
"min_rel_humidity_pct": 80,
"min_temp_c": -0.3,
"snow_on_ground_cm": 2,
"total_precip_mm": 8.1,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-24",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.1,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3,
"mean_temp_c": 1.9,
"min_rel_humidity_pct": 92,
"min_temp_c": 0.9,
"snow_on_ground_cm": 2,
"total_precip_mm": 7.2,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-25",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 15,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 4.1,
"mean_temp_c": 3,
"min_rel_humidity_pct": 88,
"min_temp_c": 2,
"snow_on_ground_cm": 0,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-26",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 13.9,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 6.1,
"mean_temp_c": 4.1,
"min_rel_humidity_pct": 79,
"min_temp_c": 2.1,
"snow_on_ground_cm": 0,
"total_precip_mm": 17.6,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-27",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 15.2,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 4,
"mean_temp_c": 2.8,
"min_rel_humidity_pct": 80,
"min_temp_c": 1.6,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-28",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 15.3,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.7,
"mean_temp_c": 2.7,
"min_rel_humidity_pct": 70,
"min_temp_c": 1.7,
"snow_on_ground_cm": 0,
"total_precip_mm": 0.2,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-29",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16.2,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.6,
"mean_temp_c": 1.8,
"min_rel_humidity_pct": 60,
"min_temp_c": 0.1,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-30",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 16,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 3.2,
"mean_temp_c": 2,
"min_rel_humidity_pct": 74,
"min_temp_c": 0.7,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
},
{
"cooling_degree_days": 0,
"date": "2024-01-31",
"flags": {
"max_gust_direction_10s_deg": "M",
"max_gust_speed_kmh": "M"
},
"heating_degree_days": 14,
"max_gust_direction_10s_deg": null,
"max_gust_speed_kmh": null,
"max_rel_humidity_pct": null,
"max_temp_c": 5.6,
"mean_temp_c": 4,
"min_rel_humidity_pct": 67,
"min_temp_c": 2.4,
"snow_on_ground_cm": null,
"total_precip_mm": 0,
"total_rain_mm": null,
"total_snow_cm": null
}
],
"end": "2024-01-31",
"lang": "en",
"licence_url": "https://eccc-msc.github.io/open-data/licence/readme_en/",
"observed_at_ms": 1792969237694,
"source_url": "https://api.weather.gc.ca/collections/climate-daily/items?f=json&CLIMATE_IDENTIFIER=6158355&skipGeometry=true&datetime=2024-01-01%2F2024-01-31&sortby=LOCAL_DATE&limit=400",
"start": "2024-01-01",
"station": {
"climate_id": "6158355",
"daily_first_date": "2002-06-04",
"daily_last_date": "2026-10-23",
"distance_km": null,
"elevation_m": 112.5,
"first_date": "2002-06-04",
"has_hourly": true,
"has_monthly_summary": true,
"has_normals": false,
"hourly_first_date": "2002-06-04",
"hourly_last_date": "2026-10-23",
"last_date": "2026-10-23",
"latitude": 43.666666666666664,
"longitude": -79.4,
"monthly_first_date": "2003-07-01",
"monthly_last_date": "2006-12-01",
"name": "TORONTO CITY",
"operator": "Environment and Climate Change Canada - Meteorological Service of Canada",
"province": "ON",
"province_name": "ONTARIO",
"station_id": 31688,
"tc_id": "XTO",
"timezone": "EST",
"wmo_id": "71508"
}
}Request contract
- Method and path: POST /apis/v1/api-weather-gc-ca/weather/climate-daily
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-daily
{
"operationId": "api-weather-gc-ca.weather.climate-daily",
"method": "POST",
"path": "/apis/v1/api-weather-gc-ca/weather/climate-daily",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"climate_id": "6158355",
"end": "2024-01-31",
"start": "2024-01-01"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"climate_id": {
"description": "ECCC Climate ID of a climate station (7 characters, e.g. 6158355 TORONTO CITY, 6158350 TORONTO, 1108447 VANCOUVER INTL A). Find ids with climate_stations. Pattern: ^[0-9A-Za-z]+$.",
"type": "string"
},
"end": {
"description": "Last day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"lang": {
"default": "en",
"description": "Language of names and texts: en (English) or fr (French). Numbers are the same in both.\n\nProvider reference: allowed values [\"en\", \"fr\"]; default \"en\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"en",
"fr"
]
}
},
"start": {
"description": "First day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"climate_id"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Daily climate observations of one ECCC climate station (climate.weather.gc.ca daily data): mean, min and max temperature, precipitation, rain, snow, snow on ground, max gust, degree days and humidity, each with its ECCC quality flag. start/end (YYYY-MM-DD) select up to 366 days; one bound alone gives 31 days from it; no bounds gives the most recent 31 days on record. An unknown climate_id is not_found; days without data in the window are an empty list.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
attribution | string | Attribution the ECCC Data Servers End-use Licence requires when the data is republished. |
count | number | |
days | object[] | Days in date order. |
end | string | |
lang | string | Language of the texts. |
licence_url | string | The ECCC Data Servers End-use Licence. |
observed_at_ms | number | When this program read the source, epoch milliseconds. |
source_url | string | The api.weather.gc.ca request this answer was read from. |
start | string | |
station | object |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.