---
title: "Historical Weather API"
description: "Gap-free historical weather data from 1940 to today, built on ERA5, ERA5-Land and ECMWF IFS reanalysis. Choose a model, build a request and read the results."
url: "https://portal.oxide.bitshft.dev/historical-weather-api"
image: "https://portal.oxide.bitshft.dev/_og/d/c_Ocean.takumi,title_Historical+Weather+API,description_~R2FwLWZyZWUgaGlzdG9yaWNhbCB3ZWF0aGVyIGRhdGEgZnJvbSAxOTQwIHRvIHRvZGF5LCBidWlsdCBvbiBFUkE1LCBFUkE1LUxhbmQgYW5kIEVDTVdGIElGUyByZWFuYWx5c2lzLiBDaG9vc2UgYSBtb2RlbCwgYnVpbGQgYSByZXF1ZXN0IGFuZCByZWFkIHRoZSByZXN1bHRzLg,props_eyJ0aGVtZSI6eyJtb2RlIjoiZGFyayIsImNvbG9ycyI6eyJwcmltYXJ5IjoiIzBENkVGRCJ9fX0,p_Ii9oaXN0b3JpY2FsLXdlYXRoZXItYXBpIg,s_66io73088Y-kspLz.png"
---

# Historical Weather API

Gap-free historical weather data from 1940 to today, built on ERA5, ERA5-Land and ECMWF IFS reanalysis. Choose a model, build a request and read the results.

## [What it covers](#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](https://portal.oxide.bitshft.dev/historical-forecast-api) for data that matches the live Forecast API format. Use the [Previous Runs API](https://portal.oxide.bitshft.dev/previous-runs-api) to analyse forecast accuracy at fixed lead times of 1–7 days.

Usage limit

The free tier is only for non-commercial use and less than 10.000 daily API calls.

## [Make your first request](#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.

1. Set the location and dates

Pass `latitude` and `longitude`, plus `start_date` and `end_date` in ISO 8601 format.

2. Pick the variables

Add the hourly variables you need. The example below requests `temperature_2m`.

3. Send the request

Call the endpoint and read the result.

```text
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](#download-formats)

The same request can be downloaded as a file by adding a `format` parameter.

CSV

XLSX

```text
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
```

```text
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](#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](#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](#common-questions)

Which model should I use for climate analysis?

Use ERA5 or ERA5-Land only. Mixing models can introduce changes from model upgrades.

Why does ERA5-Land have no precipitation or wind?

ERA5-Land is driven by atmospheric variables from ERA5 as its forcing, so it relies on the same data as ERA5.

Does CERRA include soil data?

No. CERRA covers most variables but excludes soil temperature and moisture.

How do I get yesterday's weather?

The Forecast API offers a `past_days` feature for the previous day.

## [Next steps](#next-steps)

Getting started

Set up and make your first call.

<https://portal.oxide.bitshft.dev/getting-started>

Historical Forecast API

Data that matches the live Forecast API format.

<https://portal.oxide.bitshft.dev/historical-forecast-api>

Previous Runs API

Analyse forecast accuracy at fixed lead times.

<https://portal.oxide.bitshft.dev/previous-runs-api>