Pushbuild

Canada Weather History API - Daily Station Climate Data

Daily weather records from Environment and Climate Change Canada stations: mean, min and max temperature, precipitation, rain, snow, snow on ground, peak gusts and degree days, plus a station finder by province and name.

$0.08 per 1,000 rows

Get an API key

What it returns

Daily weather records from Environment and Climate Change Canada stations: mean, min and max temperature, precipitation, rain, snow, snow on ground, peak gusts and degree days, plus a station finder by province and name.

Request

POST https://api.pushbuild.com/canada-weather-history/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
stationIdstringClimate identifier, e.g. 6158355
dateFromstringYYYY-MM-DD
dateTostringYYYY-MM-DD
provincestringStation search, e.g. ON
stationNamestringStation search, e.g. Toronto
activeOnlybooleanStation search Default: true.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/canada-weather-history/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"stationId": "6158355", "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.08 per 1,000 rows. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.