Weather — entry 019 of 31
OpenWeatherMap
OpenWeatherMap provides real-time weather conditions, hourly and daily forecasts, historical archives, and specialized layers such as air pollution, UV, and solar irradiance for locations worldwide. Beyond core weather data, it offers agriculture, fire-risk, and road-risk products aimed at both hobby projects and enterprise integrations, plus map tile overlays for visualizing conditions.
OpenWeatherMap serves current conditions, forecasts, and historical weather data for any location worldwide, keyed by city name, coordinates, or ZIP code.
GreatAPIs Score
Auth quickstart
- Create a free account at openweathermap.org
- Copy your API key from the API keys tab
- Append it as the `appid` query parameter on every request
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.
Current weather for a city
GEThttps://api.openweathermap.org/data/2.5/weather?q=London&appid=YOUR_API_KEY
{
"weather": [{ "main": "Clouds", "description": "broken clouds" }],
"main": {
"temp": 286.24,
"feels_like": 285.79,
"humidity": 76
},
"wind": { "speed": 3.6 },
"name": "London",
"cod": 200
}Try it
Developer reference
https://api.openweathermap.org/data/2.560 calls/min, 1,000,000 calls/month (free tier)
- GET/weather
- GET/forecast
Gotchas & limits
- New API keys take about 10 minutes to activate — expect HTTP 401 until then
- `appid` goes in the query string, not a header
- Free tier is capped at 60 calls/min and 1,000,000 calls/month
- Temperatures are in Kelvin by default — add `units=metric` or `units=imperial` for °C/°F