Open-Meteo is an open-source weather API with free access for non-commercial use. No API key is required. You can use it immediately!
Open-Meteo collaborates with national weather services providing open data with 1 to 11 km resolution. Our APIs select the best weather models for your location and provide data as a simple JSON API.
Super easy. Enter a location, select weather variables and get a 7-day weather forecast. 60 years historical weather data, dozens of weather variables, and multiple weather models buit-in.
APIs are free without any API key for non-commercial use. You can embed them directly into your app, python or react project.
{ "current_weather": { "time": "2022-01-01T15:00" "temperature": 2.4, "weathercode": 3, "windspeed": 11.9, "winddirection": 95.0, }, "hourly": { "time": ["2022-07-01T00:00","2022-07-01T01:00", ...] "windspeed_10m": [3.16,3.02,3.3,3.14,3.2,2.95, ...], "temperature_2m": [13.7,13.3,12.8,12.3,11.8, ...], "relativehumidity_2m": [82,83,86,85,88,88,84,76, ...], } }
{ "hourly": { "time": ["2022-06-19T00:00","2022-06-19T01:00", ...] "windspeed_10m": [3.16,3.02,3.3,3.14,3.2,2.95, ...], "temperature_2m": [13.7,13.3,12.8,12.3,11.8, ...], "relativehumidity_2m": [82,83,86,85,88,88,84,76, ...], } }
{ "hourly": { "time": ["2022-01-01T00:00","2022-01-01T01:00", ...] "temperature_2m": [1.7,1.3,1.8,1.3,1.8, ...], } }
Open-Meteo combines global (11 km) and mesoscale (1 km) weather models from national weather services into one seamless prediction. For every location on earth, the best forecast is available.
Weather data are provided in hourly resolution with 7 days forecast. Typically, the first 2-3 days are calculated with high resolution local weather models, followed by global weather models with up to 16 days of forecast. Our APIs integrate data seamlessly to offer a simple hourly weather forecast.
To continuously correct weather forecasts, our local models update every hour. Open-Meteo forecasts are always up to date and capture recent changes in rain radars.
Weather models use real-time measurements, airplane data, buoys, radar and satellite observations for numerical weather predictions. With hourly updates, weather analysis is superior to simple measurement stations.
Our historical weather API contains more then 60 years of hourly weather data at 25 kilometer resolution. Although based on 20 TB of data, you get 60 years of temperature data in the blink of an eye.
But also our 1 km weather models continously archive data of the last months. You can seamlessly fetch the most recent forecast combined with data from the past weeks to train machine learning applications.
For non-commericial use, Open-Meteo APIs can be used for free without any API key. You do not need to register or use a credit-card.
Please use the service responsibly and give appropriate credit. We do not restrict access, but ask for fair use. If you want to use the service commercially or your application exceeds more than 10'000 API calls per day, please contact us.
The entire Open-Meteo code is available on GitHub under AGPLv3 licence. You are welcome to run your own weather API, contribute and help improve Open-Meteo!
Data are offered under Attribution 4.0 International (CC BY 4.0) licence can be shared and adapted freely even for commercial use.
Our HTTP based JSON APIs are dead simple. You only need to be familiar with geographic coordinates (like 52.52°N 13.405°E for Berlin), how to make HTTP request and the JSON data format.
Documentation with all parameters and an in-depth explanation is available in our docs. It works with any Python, PHP, JavaScript, React, Flutter or Java app.