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
string
required
Your FlyStack API token. You can create one from the dashboard (see Authentication).
Query parameters
string
Filter by IATA city code (e.g.,
SIN).string
Filter by country ISO-2 code (e.g.,
SG).string
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.