List of cities that can be called through API

  • 1
  • Problem
  • Updated 1 year ago
Hi,
I've found lot of people asking for similar issue but not received satisfied answer....
We are building an application that one of its features is to query for a weather forecasts in every city of the world using your API.
I need to display possible cities names on webform and use them in API calls but I do not know proper values\city names - e.g. Warsaw or Warszawa ? Crocow or Krakow? And these are just examples I know as I am form Poland :) I am sure that there is a lot more.

So the problem is: how to insert to our application all the cities names that will be correct and compatible with your API  calls ? can you appoint any reference database ? If this also contains number of population so I can limit the cities only to big ones I would be very happy:)

Thanks
Michal
Photo of Michał Lisiecki

Michał Lisiecki

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Tim Roche

Tim Roche, Official Rep

  • 328 Posts
  • 36 Reply Likes
We can not possibly publish this list.  It contains millions of cities and is constantly changing.

Your best bet is to make your queries by lat/lon
Photo of Jassim Rahma

Jassim Rahma

  • 1 Post
  • 0 Reply Likes
can i query list of cities by country? How?