Cities Dataset
Datasets
Cities Dataset
Retrieve cities worldwide using IATA city codes and location metadata.
GET
Cities Dataset
City data complements airport data. If you need destination functionality that does not depend on a specific airport, you can use cities—or combine both to build richer travel experiences.
Cities are especially useful for maps and clustering (grouping multiple airports under a metro area), and for search in booking, hotel, and GDS-like workflows where an IATA city code represents “all airports in a city”.
Authentication
Your FlyStack API token. You can create one from the dashboard (see Authentication).
Query parameters
Filter by IATA city code (e.g.,
SIN).Filter by country ISO-2 code (e.g.,
SG).Comma-separated list of fields to return (e.g.,
name,city_code,lat,lng,country_code).The response can be shortened for readability when using
_fields. Data coverage may vary by city.Response
The endpoint returns a list of cities.Cities dataset response fields
City name.
Metropolitan area IATA code.
United Nations location code (when available).
Latitude.
Longitude.
City elevation (meters, when available).
IANA timezone (when available).
ISO-2 country code.
Unique city identifier.