Cities by IATA Code API
This API endpoint offers details about cities, including their codes, country, population, currency codes, and symbols. This information is beneficial for applications and websites that need localization, facilitating the automatic display of the appropriate local currency and enhancing user experience with accurate, context-specific data.
Example API Request:
Use Edit parameters to customize the call, then run it and review the live response below.
API Response Objects
Each item in the response includes the following fields.
| Field | Description |
|---|---|
name
|
City name. |
iata_city_code
|
IATA city code. |
un_locode
|
United Nations location code. |
lat
|
Geo latitude. |
lng
|
Geo longitude. |
alt
|
Altitude in meters. |
timezone
|
City timezone. |
country_code
|
ISO 2 country code. |
population
|
City population. |
names
|
Alternative names in different languages. |
wikipedia
|
Wikipedia URL for the city. |
slug
|
Unique slug identifier for the city. |