Is there an ISO standard for city identification? [closed]

I want to make service with API that give some info about a city (in any country) by some id.

What I should choose as id for cities? Does there exist an ISO standard for city identification? If so, where I can get a list of city ids?


Solution 1:

There is an ISO standard for Country code, but none (that I can find) for city code. There is, however; a United Nations Economic Commission for Europe United Nations Code for Trade and Transport Locations system of city identification UN/LOCODE.

Edit: Lined out the wrong name, added the slash to the UN/LOCODE name.

Solution 2:

I decided to use IATA codes for cities.