The Current Weather Data API provides detailed weather data, including weather conditions and corresponding icons, for any location worldwide.

Understanding these weather conditions and icons is essential for building apps that display accurate and visually appealing weather data to users.

Example of API response
... 
  "weather": [
	{
	  "id": 500,
	  "main":"Rain",
	  "description": "light rain",
	  "icon": "10n"
	}
  ],
...

Weather icons

The Current Weather Data API provides weather icons that represent different weather conditions. These icons can be displayed in your apps to provide users with a visual representation of the current weather.

To retrieve the URL for a specific weather icon, use the following format:

https://openweathermap.org/img/wn/{{ICON_CODE}}.png

Replace {ICON_CODE} with the appropriate icon code from the API response (for example, 10n for light rain).

The following sections include full lists of icon and weather condition codes.

Icon list

Day IconNight IconDescription
01d 01nClear sky
02d 02nFew clouds
03d 03nScattered clouds
04d 04nBroken clouds
09d 09nShower rain
10d 10nRain
11d 11nThunderstorm
13d 13nSnow
50d 50nMist

Weather condition codes

The Current Weather Data API uses numerical codes to represent different weather conditions. These codes are grouped based on the type of weather condition.

Group 2xx: Thunderstorm

This group represents various types of thunderstorms.

CodeDescriptionIcon
200Thunderstorm with light rain 11d
201Thunderstorm with rain 11d
202Thunderstorm with heavy rain 11d
210Light thunderstorm 11d
211Thunderstorm 11d
212Heavy thunderstorm 11d
221Ragged thunderstorm 11d
230Thunderstorm with light drizzle 11d
231Thunderstorm with drizzle 11d
232Thunderstorm with heavy drizzle 11d

Group 3xx: Drizzle

This group represents various types of drizzles as well as combinations with rain.

CodeDescriptionIcon
300Light intensity drizzle 09d
301Drizzle 09d
302Heavy intensity drizzle 09d
310Light intensity drizzle rain 09d
311Drizzle rain 09d
312Heavy intensity drizzle rain 09d
313Shower rain and drizzle 09d
314Heavy shower rain and drizzle 09d
321Shower drizzle

Group 7xx: Atmosphere

This group represents various types of atmospheric conditions.

CodeDescriptionIcon
701Mist 50d
711Smoke 50d
721Haze 50d
731Sand/dust whirls 50d
741Fog 50d
751Sand 50d
761Dust 50d
762Volcanic ash 50d
771Squalls 50d
781Tornado 50d

Group 800: Clear

This group represents clear sky conditions.

CodeDescriptionIcon
800Clear sky 01d 01n

Group 80x: Clouds

This group represents cloud cover conditions.

CodeDescriptionIcon
801Few clouds: 11-25% 02d 02n
802Scattered clouds: 25-50% 03d 03n
803Broken clouds: 51-84% 04d 04n
804Overcast clouds: 85-100% 04d 04n