Swiftpack.co - open-meteo/open-meteo as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by open-meteo.
open-meteo/open-meteo 0.1.271
Free Weather Forecast API for non-commercial use
⭐️ 842
🕓 5 hours ago
.package(url: "https://github.com/open-meteo/open-meteo.git", from: "0.1.271")

🌤 Open-Meteo Weather API

Test codebeat badge GitHub license license: CC BY 4.0 Twitter Mastodon

Open-Meteo is an open-source weather API and offers free access for non-commercial use. No API key is required. You can use it immediately!

Head over to https://open-meteo.com! Stay up to date with our blog at https://openmeteo.substack.com.


How does Open-Meteo work?

Open-Meteo is using open-data weather forecasts from national weather providers (NWP).

NWPs offer numerical weather predictions free to download. Unfortunately working with those models is difficult and requires expert knowledge about binary file formats, grid-systems, projections and fundamentals in weather predictions.

The gap between downloading weather forecasts from NWPs and using weather forecasts in your home automation system, personal website, widgets for Linux or just tinkering around is huge! Even for small pet projects, you have to sign-up with credit-cards to large API vendors, which honestly do not offer properly engineered APIs.

Open-Meteo fills this gap and offers free weather forecast APIs for non-commercial use without any sign-up, credit-card or even an API key required!

  • Do you want to build an open-source widget for Ubuntu? Sure!
  • Use Open-Meteo for a React/Angular/Flutter App? Go for it!
  • Improve your home automation system? Automate your robot lawn mower? Optimize your garden irrigation system? Open-Meteo is a good place to start!

Who is using Open-Meteo?



  • Captain Cold Simple Open-Meteo -> Discord integration
  • wthrr-the-weathercrab Weather companion for the terminal
  • Weather-Cli A CLI program written in golang that allows you to get weather information from the terminal
  • Homepage A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations.
  • Spots Guru Weather forecast for lazy, the best wind & wave spots around you.


  • Menubar Weather A Raycast extension that displays live weather information in your menu bar
  • Contributions welcome!

Do you use Open-Meteo? Please open a pull request and add your repository or app to the list!

Client SDKs

Contributions welcome! Writing a SDK for Open-Meteo is more than welcome and a great way to help users.


  • Forecasts in 6-hour intervals for morning, afternoon, evening and night
  • 14 day weather forecast based on GFS ensemble and ICON ensemble
  • Wave and current forecasts
  • Air quality forecast with gases and pollen in hourly resolution
  • 15 minutes weather forecast for 2 days for temperature, wind and solar radiation


If you encounter bugs while using Open-Meteo APIs, please file a new issue ticket. For general ideas or Q&A please use the Discussion section on Github. Thanks!

For other enquiries please contact [email protected]

Run your own API

Instructions to use Docker to run your own weather API are available in the getting started guide.

Terms & Privacy

Open-Meteo APIs are free for open-source developer and non-commercial use. We do not restrict access, but ask for fair use.

If your application exceeds 10'000 requests per day, please contact us. We reserve the right to block applications and IP addresses that misuse our service.

For commercial use of Open-Meteo APIs, please contact us.

All data is provided as is without any warranty.

We do not collect any personal data. We do not share any personal information. We do not integrate any third party analytics, ads, beacons or plugins.

Data License

API data are offered under Attribution 4.0 International (CC BY 4.0)

You are free to share: copy and redistribute the material in any medium or format and adapt: remix, transform, and build upon the material.

Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

You must include a link next to any location, Open-Meteo data are displayed like:

Weather data by Open-Meteo.com

Source Code License

Open-Meteo is open-source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. You can find the license here. Exceptions are third party source-code with individual licensing in each file.


Stars: 842
Last commit: 16 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Upgrade toolchain to ubuntu 22.04
22 weeks ago

Due to memory leaks in libeccodes, Ubuntu 22.04 is now required to download and decode grib files with less than 16 GB memory

Full Changelog: https://github.com/open-meteo/open-meteo/compare/0.0.109...0.1.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics