Free Weather and Climate Data APIs for Developers
Where to get forecasts, radar, climate history and air quality for your app: open services from weather agencies, with their keys, limits and licenses, and the commercial weather APIs next to them.
For your agent: agent.md · MCP find_resources("weather")
Open sources
API, key and license read on each source's own pages
| Source | API | Key | Commercial use |
|---|---|---|---|
| Open-Meteo A JSON weather API that serves forecasts from 30+ national weather models plus hourly historical weather back to 1940, with sister APIs for air quality, marine, flood, elevation and geocoding. |
Official API · Free tier | No | Commercial use with conditions |
| MET Norway Weather API The free forecast API behind Yr: give it a latitude and longitude anywhere in the world and get a point forecast (temperature, wind, rain, cloud, UV, weather symbol) as JSON or legacy XML. |
Official API · Free | No | Commercial use OK |
| National Weather Service API (api.weather.gov) The official US weather service API: forecasts for any US grid point, hourly forecasts, station observations and active watches and warnings, served as GeoJSON and other formats. |
Official API · Free | No | Commercial use OK |
| NOAA NCEI Climate Data Online and Access Data Service NOAA's archive of historical weather and climate observations, including daily station records (GHCN-Daily) from over 90,000 land stations, with a key-less data service API, a token-based CDO API and bulk file downloads. |
Official API · Free | No | Commercial use with conditions |
| ECMWF Open Data A free subset of ECMWF's real-time global forecasts from its physics model (IFS) and its machine-learning model (AIFS), published as GRIB2 files four times a day on a download portal and mirrored on AWS, Azure and Google Cloud. |
Official API · Free | No | Commercial use OK |
| Copernicus Climate Data Store (CDS) The EU's climate data catalogue: reanalyses such as ERA5 (hourly global weather back to 1940), satellite records, seasonal forecasts and climate projections, downloadable through web forms or the cdsapi Python client with a free account. |
Official API · Free | Yes | Commercial use OK |
| DWD Open Data Server Germany's national weather service file server: ICON model forecasts (GRIB2), radar composites, live station observations, severe-weather warnings (CAP) and long climate station records from its Climate Data Center, all as plain HTTPS downloads. |
No official API | — | Commercial use OK |
| NASA POWER (Prediction Of Worldwide Energy Resources) A NASA API and data viewer giving satellite- and model-derived solar radiation and weather for any point on Earth, with 300+ parameters at hourly, daily, monthly and climatology levels, in units tailored for renewable energy, buildings and agriculture. |
Official API · Free | No | Commercial use OK |
| RainViewer Weather Maps API A free public JSON index plus PNG map tiles of a global weather-radar composite built from 1200+ radars, covering the past 2 hours with nowcast frames, ready to drop on a Leaflet or MapLibre map. |
Official API · Free | No | Commercial use with conditions |
| OpenAQ An open platform that collects air-quality measurements (PM2.5, PM10, ozone, NO2 and more) from government monitors and low-cost sensors worldwide and serves them through a free keyed REST API and a key-less daily CSV archive on AWS S3. |
Official API · Free tier | Yes | Commercial use with conditions |
| Windy An animated world weather map showing wind, rain, temperature, waves and more from several forecast models, plus official APIs for point forecasts, embeddable forecast maps and webcams. |
Official API · Free tier | Yes | Commercial use with conditions |
| Zoom Earth A browser map of the whole planet that layers near-live weather satellite pictures, rain radar, model forecasts, storm tracks and active fires. |
No official API | — | Non-commercial only |
| LightningMaps.org A real-time map of lightning strikes located by a volunteer network of home-built radio receivers run by the Blitzortung.org community. |
No official API | — | Commercial use with conditions |
Commercial APIs
From APIs for agents, prices checked on official pages
Libraries
From Tools
LeafletLightweight JavaScript library for creating mobile-friendly interactive maps.
npm install leafletMapLibre GLOpen-source WebGL interactive maps library with BSD license and community support.npm install maplibre-glChart.jsSimple HTML5 canvas-based charting library for creating interactive data visualizations.npm install chart.jsLuxonImmutable date and time library with timezone, formatting and parsing support.npm install luxon