What it covers
The Historical Weather API returns gap-free, consistent historical weather data from reanalysis: ERA5 (0.25°, from 1940), ERA5-Land (0.1°, from 1950) and ECMWF IFS (9 km, from 2017). Reanalysis combines weather station, aircraft, buoy, radar and satellite observations. Mathematical models fill the gaps, so you also get data for places without nearby stations, such as rural areas or the open ocean.
Looking for something else? Use the Historical Forecast API for data that matches the live Forecast API format. Use the Previous Runs API to analyse forecast accuracy at fixed lead times of 1–7 days.
The free tier is only for non-commercial use and less than 10.000 daily API calls.
Make your first request
The endpoint /v1/archive retrieves historical weather data for a location and time period. You give it a coordinate, a time interval and the weather variables you want.
Set the location and dates
Pass latitude and longitude, plus start_date and end_date in ISO 8601 format.
Pick the variables
Add the hourly variables you need. The example below requests temperature_2m.
Send the request
Call the endpoint and read the result.
https://archive-api.open-meteo.com/v1/archive?latitude=52.52&longitude=13.41&start_date=2026-11-08&end_date=2026-11-22&hourly=temperature_2m
Download formats
The same request can be downloaded as a file by adding a format parameter.
https://archive-api.open-meteo.com/v1/archive?latitude=52.52&longitude=13.41&start_date=2026-11-08&end_date=2026-11-22&hourly=temperature_2m&format=csv
https://archive-api.open-meteo.com/v1/archive?latitude=52.52&longitude=13.41&start_date=2026-11-08&end_date=2026-11-22&hourly=temperature_2m&format=xlsx
Choose a reanalysis model
| Data set | Region | Resolution | Temporal resolution | Availability | Update frequency |
|---|---|---|---|---|---|
| ECMWF IFS | Global | 9 km | Hourly | 2017 to present | Every 6 hours with no delay |
| ERA5 | Global | 0.25° (~25 km) | Hourly | 1940 to present | Daily with 5 days delay |
| ERA5-Land | Global | 0.1° (~11 km) | Hourly | 1950 to present | Daily with 5 days delay |
| ERA5-Ensemble | Global | 0.5° (~55 km) | 3-Hourly | 1940 to present | Daily with 5 days delay |
| CERRA | Europe | 5 km | Hourly | 1985 to June 2021 | - |
The default Best Match combines IFS HRES, ERA5 and ERA5-Land seamlessly. For climate studies over decades, use only ERA5 or ERA5-Land. This keeps the data consistent and avoids changes caused by weather model upgrades.
Variables
Hourly variables include temperature, relative humidity, dewpoint, precipitation, wind speed and direction, cloud cover, soil temperature and soil moisture. Solar radiation variables are available too, including global tilted irradiance, which needs a panel tilt and azimuth. Daily variables cover values such as maximum and minimum temperature, sunrise, sunset and precipitation sum. Not every model offers every variable.
Common questions
Use ERA5 or ERA5-Land only. Mixing models can introduce changes from model upgrades.
ERA5-Land is driven by atmospheric variables from ERA5 as its forcing, so it relies on the same data as ERA5.
No. CERRA covers most variables but excludes soil temperature and moisture.
The Forecast API offers a past_days feature for the previous day.