Skip to main content

Notes

  • No key: the free API is for non-commercial use. Commercial customers call the customer- prefixed hosts with an apikey parameter, which this entry does not cover.
  • Locations are latitude/longitude (WGS84); geocode a place name first with openmeteo.geocoding.search. Several comma-separated coordinates return one result per location.
  • Nothing is returned unless variables are named: pass hourly, daily and/or current as comma-separated variable names (e.g. temperature_2m,precipitation).
  • Times are GMT unless timezone is set; daily variables need timezone (a tz database name or auto).
  • Units default to celsius, km/h and mm; change with temperature_unit, wind_speed_unit and precipitation_unit.

Endpoints

Get a weather forecast

Get historical weather

  • ERA5 data lags about 5 days behind today; ask the forecast endpoint’s past_days for the last few days.

Get air quality

  • Pollen variables cover Europe only, in pollen season.

Get a marine forecast