The "City pairs API" can be used to download the city pairs supported by Atlas as well as by the airlines. The customer can use this structured data and transfer the city pair information into their mid-back office systems.This API is only available in the production environment.
Request
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Accept-Encoding
string
required
Example:
gzip
x-atlas-client-id
string
required
Example:
<YOUR_CLIENT_ID>
x-atlas-client-secret
string
required
Example:
<YOUR_CLIENT_SECRET>
Body Params application/json
routeType
integer
required
-1: Airline routes -2: Atlas routes
fromCity
string|null
optional
IATA Code of departure city.
fromCountry
string|null
optional
IATA Code of departure country.
toCity
string|null
optional
IATA Code of arrival city or airport
toCountry
string|null
optional
IATA Code of arrival country.
airlines
array[string]|null
optional
An array of IATA Codes of airlines. The routes within the airlines will be returned.