# OpenWeatherMap

Category: [Weather forecasts](https://free-web-services.com/web-services/geo/weather/)  
Page: https://free-web-services.com/web-services/geo/weather/open-weather-map.html  
Documentation: https://openweathermap.org/api

OpenWeatherMap provides current weather, hourly and daily forecasts, historical data, air pollution data, geocoding and weather map layers for any location in the world. Its data comes from global weather models and more than 40,000 weather stations. Responses are JSON or XML. Free plan with a limit per minute and per month; paid plans for more calls and features.

- API key: Needed, free
- Pricing: Free plan with a limit per minute and per month; paid plans for more calls and features.
- From the browser: Yes (CORS)
- Formats: JSON, XML
- Interface: REST, HTTP-GET
- Provider: openweathermap.org
- Last checked: Working on November 16th, 2026

Example request:

```sh
curl 'https://api.openweathermap.org/data/2.5/weather?q=London&appid=YOUR_API_KEY'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

