Retrieve a list of all possible flights (both direct and connecting) between two airports on a given date. Routes are available for today and up to days in the future.
Name | Data Type | Description |
---|---|---|
productCode
|
string Allowed values: - FAN - FCO - FCP - FDG - FTF - FUN - FWN - YCO - YCP - YDG - YNB - YNZ - YTF - YUN - ZXB - ZXF - ZXR |
Product code for requested service and specials : 3-letter eg: YNZ |
fromDate
|
string |
Departure date in the local time of the departure airport. Based on LAT (Latest Acceptance Time). format : yyyy-MM-dd eg : 2017-07-15 |
destination
|
string |
Arrival airport : 3-letter IATA airport code, e.g. HKG. |
origin
|
string |
Departure Airport : 3-letter IATA airport code, e.g. FRA. |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
With this tracking service you can easily retrieve your shipment or flight status information.
Name | Data Type | Description |
---|---|---|
aWBNumber
|
string |
aWBNumber : The Air Waybill Number , format : [0-9]{8} e.g. 08002050 |
aWBPrefix
|
string |
aWBPrefix : Represents the airline that is the owner of this AWB, i.e. "020" = Lufthansa Cargo, format : [0-9]{3} e.g. 020 |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
Lounge information
Name | Data Type | Description |
---|---|---|
location
|
string |
3-leter IATA airport or city code (e.g. 'ZRH') |
Name | Data Type | Description |
---|---|---|
lang
|
string |
Language code. |
tierCode
|
string |
Frequent flyer level ('FTL', 'SGC', 'SEN', 'HON') (Acceptable values are: "", "FTL", "SGC", "SEN", "HON") |
cabinClass
|
string |
Cabin class: 'M', 'E', 'C', 'F' (Acceptable values are: "", "M", "E", "C", "F") |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
Cabin layout and seat characteristics.
Name | Data Type | Description |
---|---|---|
cabinClass
|
string |
Cabin class: 'M', 'E', 'C', 'F'. Some flights have fewer classes (Acceptable values are: "M", "E", "C", "F") |
date
|
string |
Departure date (YYYY-MM-DD) |
destination
|
string |
Destination airport. 3-letter IATA airport code (e.g. 'MUC') |
origin
|
string |
Departure airport. 3-letter IATA airport code (e.g. 'TXL') |
flightNumber
|
string |
Flight number including carrier code and any suffix (e.g. 'LH2037') |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
Status of all arrivals at a given airport up to 4 hours from the provided date time.
Name | Data Type | Description |
---|---|---|
fromDateTime
|
string |
Start of time range in local time of arrival airport (YYYY-MM-DDTHH:mm) |
airportCode
|
string |
3-letter IATA aiport code (e.g. 'ZRH') |
Name | Data Type | Description |
---|---|---|
offset
|
string |
Number of records skipped. Defaults to 0 |
limit
|
string |
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
Status of all departures from a given airport up to 4 hours from the provided date time.
Name | Data Type | Description |
---|---|---|
fromDateTime
|
string |
Start of time range in local time of departure airport (YYYY-MM-DDTHH:mm) |
airportCode
|
string |
Departure airport. 3-letter IATA airport code (e.g. 'HAM') |
Name | Data Type | Description |
---|---|---|
offset
|
string |
Number of records skipped. Defaults to 0 |
limit
|
string |
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
Status of flights between a given origin and destination on a given date.
Name | Data Type | Description |
---|---|---|
date
|
string |
Departure date (YYYY-MM-DD) in local time of departure airport |
destination
|
string |
3-letter IATA airport code (e.g. 'JFK') |
origin
|
string |
3-letter IATA airport (e.g. 'FRA') |
Name | Data Type | Description |
---|---|---|
offset
|
string |
Number of records skipped. Defaults to 0 |
limit
|
string |
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
Status of a particular flight (boarding, delayed, etc.).
Name | Data Type | Description |
---|---|---|
date
|
string |
The departure date (YYYY-MM-DD) in the local time of the departure airport |
flightNumber
|
string |
Flight number including carrier code and any suffix (e.g. 'LH400') |
Name | Data Type | Description |
---|---|---|
offset
|
string |
Number of records skipped. Defaults to 0 |
limit
|
string |
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
Scheduled flights between given airports on a given date.
Name | Data Type | Description |
---|---|---|
fromDateTime
|
string |
Local departure date and optionally departure time (YYYY-MM-DD or YYYY-MM-DDTHH:mm). When not provided, time is assumed to be 00:01 |
destination
|
string |
Destination airport. 3-letter IATA airport code (e.g. 'FRA') |
origin
|
string |
Departure airport. 3-letter IATA airport code (e.g. 'ZRH') |
Name | Data Type | Description |
---|---|---|
offset
|
string |
Number of records skipped. Defaults to 0 |
limit
|
string |
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
directFlights
|
boolean |
Show only direct flights (false=0, true=1). Default is false |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
List all aircraft types or one specific aircraft type.
Name | Data Type | Description |
---|---|---|
aircraftCode
|
string Default value: 33P
|
3-character IATA aircraft code |
Name | Data Type | Description |
---|---|---|
offset
|
string Default value: 0
|
Number of records skipped. Defaults to 0 |
limit
|
string Default value: 20
|
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
List all airlines or one specific airline.
Name | Data Type | Description |
---|---|---|
airlineCode
|
string Default value: LH
|
2-character IATA airline/carrier code |
Name | Data Type | Description |
---|---|---|
offset
|
string Default value: 0
|
Number of records skipped. Defaults to 0 |
limit
|
string Default value: 20
|
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
List the 5 closest airports to the given latitude and longitude, irrespective of the radius of the reference point.
Name | Data Type | Description |
---|---|---|
longitude
|
integer |
Longitude in decimal format to at most 3 decimal places |
latitude
|
integer |
Latitude in decimal format to at most 3 decimal places |
Name | Data Type | Description |
---|---|---|
lang
|
string |
2 letter ISO 3166-1 language code |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
List all airports or one specific airport. All airports response is very large. It is possible to request the response in a specific language.
Name | Data Type | Description |
---|---|---|
airportCode
|
string Default value: TXL
|
3-letter IATA airport code |
Name | Data Type | Description |
---|---|---|
LHoperated
|
boolean |
Restrict the results to locations with flights operated by LH (false=0, true=1) |
offset
|
string Default value: 0
|
Number of records skipped. Defaults to 0 |
limit
|
string Default value: 20
|
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
lang
|
string |
2-letter ISO 3166-1 language code |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
AirportResponse
|
object |
AirportResource
|
AirportResource | |||||||||||
Properties
|
List all cities or one specific city. It is possible to request the response in a specific language.
Name | Data Type | Description |
---|---|---|
cityCode
|
string Default value: BER
|
3-letter IATA city code |
Name | Data Type | Description |
---|---|---|
offset
|
string Default value: 0
|
Number of records skipped. Defaults to 0 |
limit
|
string Default value: 20
|
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
lang
|
string |
2 letter ISO 3166-1 language code |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
List all countries or one specific country. It is possible to request the response in a specific language.
Name | Data Type | Description |
---|---|---|
countryCode
|
string Default value: DK
|
2-letter ISO 3166-1 country code |
Name | Data Type | Description |
---|---|---|
offset
|
string Default value: 0
|
Number of records skipped. Defaults to 0 |
limit
|
string Default value: 20
|
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken) |
lang
|
string |
2 letter ISO 3166-1 language code |
Name | Data Type | Description |
---|---|---|
Accept
|
string |
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml") |
Name | Data Type | Description |
---|---|---|
body
|
object |
Array of all available airports or one airport matching the request.
Name | Data Type | Description |
---|---|---|
UtcOffset
|
float |
Hour offset of airport to UTC time zone |
TimeZoneId
|
string |
Time zone name airport is in |
Position
|
||
Names
|
||
LocationType
|
string |
“Airport”, “RailwayStation” or “BusStation”. |
CountryCode
|
string |
2-letter ISO 3166-1 country code, e.g. “DE”. |
CityCode
|
string |
3-letter IATA city code, e.g. “BER”. |
AirportCode
|
string |
3-letter IATA airport code, e.g. “TXL”. |
Root element of airport response.
Name | Data Type | Description |
---|---|---|
Meta
|
||
Airports
|
Name | Data Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
AirportResource
|
AirportResource | |||||||||||
Properties
|
Container for coordinates.
Name | Data Type | Description |
---|---|---|
Longitude
|
float |
Decimal longitude. Range: -180 (West of Prime Meridian) to +180 (East of Prime Meridian). |
Latitude
|
float |
Decimal latitude. Range: -90 (South Pole) to +90 (North Pole), e.g. “51.540”. |
Name | Data Type | Description |
---|---|---|
Rel
|
string |
Specifying kind of link such as ‘self’ (link that returned this response), ‘alternate’ (link that points to another resource) or ‘related’ (link that points to related resource). |
Href
|
string |
Link to actual a resource. |
2-letter ISO 639-1 language code for the corresponding item.
Name | Data Type | Description |
---|---|---|
LanguageCode
|
string | |
|
string |
'OAuth' Authentication Scheme
Reference: RFC5849, Section 3.5.1
authorizationCode
https://api.lufthansa.com/v1/oauth/token
https://api.lufthansa.com/v1/oauth/token
read:LH Open API
: read accessOrigin - Format | swagger |
Origin - Url | https://raw.githubusercontent.com/LufthansaOpenAPI/Swagger/master/LH_public_API_swagger_2_0.json |
Origin - Version | 2.0 |
Provider Name | lufthansa.com |
Service Name | public |
API Version | 1.0 |