The Locale code is a combination of the standard ISO 639-1 code for the language and the ISO 3166-1 code for the country (example: en-GB). Please refer to the Locales Service for more information and list of supported languages.
All our services use IATA airline codes by default. These are 2-letter codes like U2 for EasyJet or LH for Lufthansa.
ICAO codes can be used by specifying the schema in the query:&carrierschema=icao. These are 3-letter codes like BAW for British Airways or AFR for Air France.
The types of locations used as input are:
Each service has a default location schema, described in its documentation. If the default schema is not used, the schema name must be included in the place parameter value as follows: “placeCode-locationSchema” (for example: EDIN-sky).
The following location schemas are supported:
|Iata||For airports and cities the internationally recognized IATA schema can be used. For countries the ISO schema can be used. This combined IATA/ISO schema is the default schema for use with Skyscanner services.|
|GeoNameCodes||GeoNameCodes from the GeoNames schema (www.geonames.org)|
|GeoNameIDs||GeoNameIDs from the GeoNames schema (www.geonames.org)|
|Sky||Skyscanner code. The response from Location Autosuggest provides these ids.|
|Rnid||A unique ID for a location in Skyscanner. For example EDIN is the Skyscanner code for Edinburgh City and its Rnid is 2343.|
|Latlong||Latitude and longitude of the place in the following form: "latitude,longitude". The nearest city with airport will be used.|
|IP||IP of a user. The nearest city with airport will be used.|