Support Center

Getting weather data for any geo location, city name or ID

Last Updated: Jan 31, 2017 01:07PM GMT
OpenWeatherMap provides current conditions and forecast weather data for any geographical location. It also provide data for lots of cities if you know their name, ID or zip code. So weather data can be called by following ways:

1. By geo coordinates (lat/lon)
- Calling by lat/lon it is possible to get weather data for any geo location. 

2. By city name or city ID
- Weather is available for 209,000 cities. 
- List of cities with name and ID is in a bulk example:
http://78.46.48.103/sample/
Choose file daily_16.json.gz that is daily forecast for 209,000 cities. 

3. By zip code
-Designation of zip code using parameters "zip" or "q".
The 'q" parameter is also can be used for zip code:
http://api.openweathermap.org/data/2.5/weather?q=94040,US&APPID=*******

More examples:
https://openweathermap.org/current
https://openweathermap.org/forecast5
9eda11838f597e7a95b6a1c991dcae0a@openweathermap.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete