Firecrawl Alexandria

Environment and Climate Change Canada weather and climate (api.weather.gc.ca)

Environment and Climate Change Canada (ECCC) weather and climate data from the Meteorological Service of Canada's open GeoMet OGC API (api.weather.gc.ca), the data behind weather.gc.ca and climate.weather.gc.ca: current conditions, public forecasts, hourly forecasts and warnings for ~840 city forecast locations, active weather alerts, the Air Quality Health Index, marine forecasts, and historical climate (station search, daily observations, monthly summaries, 1981-2010 normals). English or French. Keyless and anonymous. Data Source: Environment and Climate Change Canada, under the ECCC Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/).

Try Environment and Climate Change Canada weather and climate (api.weather.gc.ca) now.

Choose an example or ask your own question.

Environment and Climate Change Canada weather and climate (api.weather.gc.ca)
TRY ASKING
1Request
string

Language of names and texts: en (English) or fr (French). Numbers are the same in both.

number

Latitude in decimal degrees (Canada spans about 41 to 84). Give with lon.

string

AQHI location code, e.g. FEUZB Toronto, FTPFT Montreal, EAZBA Vancouver; or use lat/lon.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "api-weather-gc-ca",
    capability: "weather/air_quality",
    options: {
      location_id: "FEUZB",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from Environment and Climate Change Canada weather and climate (api.weather.gc.ca).

{
  "attribution": "Data Source: Environment and Climate Change Canada",
  "forecast": {
    "hourly": [
      {
        "aqhi": 3,
        "forecast_at": "2026-10-25T21:00:00Z",
        "forecast_at_text": "5:00 PM EDT Sunday 25 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-25T22:00:00Z",
        "forecast_at_text": "6:00 PM EDT Sunday 25 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-25T23:00:00Z",
        "forecast_at_text": "7:00 PM EDT Sunday 25 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T00:00:00Z",
        "forecast_at_text": "8:00 PM EDT Sunday 25 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T01:00:00Z",
        "forecast_at_text": "9:00 PM EDT Sunday 25 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T02:00:00Z",
        "forecast_at_text": "10:00 PM EDT Sunday 25 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T03:00:00Z",
        "forecast_at_text": "11:00 PM EDT Sunday 25 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T04:00:00Z",
        "forecast_at_text": "12:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T05:00:00Z",
        "forecast_at_text": "1:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T06:00:00Z",
        "forecast_at_text": "2:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T07:00:00Z",
        "forecast_at_text": "3:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T08:00:00Z",
        "forecast_at_text": "4:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T09:00:00Z",
        "forecast_at_text": "5:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T10:00:00Z",
        "forecast_at_text": "6:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T11:00:00Z",
        "forecast_at_text": "7:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T12:00:00Z",
        "forecast_at_text": "8:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T13:00:00Z",
        "forecast_at_text": "9:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T14:00:00Z",
        "forecast_at_text": "10:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T15:00:00Z",
        "forecast_at_text": "11:00 AM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T16:00:00Z",
        "forecast_at_text": "12:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T17:00:00Z",
        "forecast_at_text": "1:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T18:00:00Z",
        "forecast_at_text": "2:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T19:00:00Z",
        "forecast_at_text": "3:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T20:00:00Z",
        "forecast_at_text": "4:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T21:00:00Z",
        "forecast_at_text": "5:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "forecast_at": "2026-10-26T22:00:00Z",
        "forecast_at_text": "6:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-26T23:00:00Z",
        "forecast_at_text": "7:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T00:00:00Z",
        "forecast_at_text": "8:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T01:00:00Z",
        "forecast_at_text": "9:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T02:00:00Z",
        "forecast_at_text": "10:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T03:00:00Z",
        "forecast_at_text": "11:00 PM EDT Monday 26 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T04:00:00Z",
        "forecast_at_text": "12:00 AM EDT Tuesday 27 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T05:00:00Z",
        "forecast_at_text": "1:00 AM EDT Tuesday 27 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T06:00:00Z",
        "forecast_at_text": "2:00 AM EDT Tuesday 27 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T07:00:00Z",
        "forecast_at_text": "3:00 AM EDT Tuesday 27 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T08:00:00Z",
        "forecast_at_text": "4:00 AM EDT Tuesday 27 October 2026",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "forecast_at": "2026-10-27T09:00:00Z",
        "forecast_at_text": "5:00 AM EDT Tuesday 27 October 2026",
        "risk": "low"
      }
    ],
    "periods": [
      {
        "aqhi": 3,
        "aqhi_in_smoke": null,
        "name": "Tonight",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "aqhi_in_smoke": null,
        "name": "Tomorrow",
        "risk": "low"
      },
      {
        "aqhi": 3,
        "aqhi_in_smoke": null,
        "name": "Tomorrow Night",
        "risk": "low"
      },
      {
        "aqhi": 2,
        "aqhi_in_smoke": null,
        "name": "Day 3",
        "risk": "low"
      }
    ],
    "published_at": "2026-10-25T21:00:00Z"
  },
  "forecast_url": "https://api.weather.gc.ca/collections/aqhi-forecasts-realtime/items?f=json&location_id=FEUZB&sortby=-publication_datetime&limit=100&skipGeometry=true",
  "lang": "en",
  "licence_url": "https://eccc-msc.github.io/open-data/licence/readme_en/",
  "location": {
    "distance_km": null,
    "latitude": 43.7416666666667,
    "location_id": "FEUZB",
    "longitude": -79.3733333333333,
    "name": "Toronto",
    "zone": "ont",
    "zone_name": "Ontario"
  },
  "observation": {
    "aqhi": 2.97,
    "aqhi_rounded": 3,
    "observed_at": "2026-10-25T22:00:00Z",
    "observed_at_text": "6:00 PM EDT Sunday 25 October 2026",
    "risk": "low",
    "special_notes": null
  },
  "observed_at_ms": 1792969238543,
  "source_url": "https://api.weather.gc.ca/collections/aqhi-observations-realtime/items?f=json&location_id=FEUZB&latest=true&skipGeometry=true"
}
Browse the library