Repolode
open-meteo

open-meteo/open-meteo

Open-source weather forecast API offering free non-commercial access with no API key, built on national weather service models.

Open-source alternative to:AccuWeather APIOpenWeatherMap

Stars
6,421
Forks
455
Open issues
151
Last commit
12 hours ago

What is it?

Open-Meteo is a weather API that serves hourly forecasts for up to 16 days and historical weather going back about 80 years. It combines global and regional numerical weather models from national services such as NOAA, DWD, Météo-France, ECMWF and JMA, and it also exposes marine, air quality, geocoding, elevation and flood endpoints.

The public API is free for non-commercial use and requires no API key. The project's own servers are located in Europe and North America and use GeoDNS to route requests. Responses are returned with CORS support, so browser apps can call the API directly.

The full server source code is available under AGPLv3, and the project can be self-hosted with Docker or a prebuilt Ubuntu package. A self-hosted instance can fetch data from the public database remotely and cache it locally, so complete weather models do not need to be downloaded to get started.

Key features

  • 01Hourly forecasts for up to 16 days and historical data going back about 80 years
  • 02Combines global models and high-resolution regional models from national weather services
  • 03Marine, air quality, geocoding, elevation and flood API endpoints
  • 04No API key required, with CORS support for browser use
  • 05Can be self-hosted with Docker or a prebuilt Ubuntu package

Use cases

  • Adding local weather forecasts to a web or mobile app without managing an API key
  • Building dashboards that plot historical temperature or precipitation trends
  • Pulling forecast data into smart home or IoT systems
  • Running a private weather API inside your own infrastructure

Quick start

  1. 1

    Query the hosted API with curl (no API key needed)

    curl "https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&hourly=temperature_2m"

Things to know

  • The free hosted API is for non-commercial use only.
  • The source code is licensed under AGPL-3.0, a strong copyleft license.
  • Weather data is licensed under CC BY 4.0, which requires attribution.

Topics

FAQ

What is open-meteo?
Open-source weather forecast API offering free non-commercial access with no API key, built on national weather service models. Open-Meteo is a weather API that serves hourly forecasts for up to 16 days and historical weather going back about 80 years. It combines global and regional numerical weather models from national services such as NOAA, DWD, Météo-France, ECMWF and JMA, and it also exposes marine, air quality, geocoding, elevation and flood endpoints.
Is open-meteo free to use? What license does it have?
open-meteo is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
Is open-meteo still maintained?
Actively maintained. The last commit to open-meteo was on Oct 20, 2026.
What can I use open-meteo for?
Adding local weather forecasts to a web or mobile app without managing an API key Building dashboards that plot historical temperature or precipitation trends Pulling forecast data into smart home or IoT systems Running a private weather API inside your own infrastructure
How do I install open-meteo?
Query the hosted API with curl (no API key needed): curl "https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&hourly=temperature_2m"
Where can I get open-meteo?
The source code and installation instructions are on GitHub: https://github.com/open-meteo/open-meteo

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects