The Airport & City Search REST/JSON API provides the full name, IATA code and geographical information of cities or airports that match a given keyword parameter, for use in flight searches.The response provides a list of cities and/or airports, sorted by travellers' traffic score, which is based on the estimated yearly number of travellers by airport or city. Airports and cities with the highest traffic are at the top of the list.This operation allows retrieving the list of locations (airports or cities) that contain a specific keyword in the start of any word in their name or in the start of their IATA code.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET '/v1/reference-data/locations?subType=CITY,AIRPORT&keyword=MUC&countryCode=DE'