{"@context": "https://schema.org", "@type": "WebAPI", "name": "LH Partner API API", "description": "LH Partner API, an HTTP API described by an OpenAPI document.", "provider": {"@type": "Organization", "name": "lufthansa.com"}, "documentation": "https://raw.githubusercontent.com/LufthansaOpenAPI/Swagger4Partners/master/LH-OpenAPI-Partners-Swagger2.json"}
LH Partner API, an HTTP API described by an OpenAPI document.
Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.
Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.
base URLs: https://api.lufthansa.com/v1
auth: o a u t h 2
find it by capability: POST /search {"query":{"text":"..."}} returns these
operations with their invocation detail. Connect any agent client.
LH Partner API, an HTTP API described by an OpenAPI document.
| method | path | what the vendor says it does |
|---|---|---|
GET | /baggage/baggagetripandcontact/{searchID} | Baggage Trip and Contact Retrieve passenger trip, contact and baggage details. This service is only accessible |
GET | /offers/fares/allfares | All Fares Retrieves all available fares for a specific Origin & Destination pair on a given date. Available fa |
GET | /offers/fares/bestfares | Best Fares Retrieve best fares for the requested journey across multiple days or multiple months. Offers |
GET | /offers/fares/deeplink | Deep Links Returns valid deep links for the provided input parameters Offers |
GET | /offers/fares/deeplink/ffp | LH Deep Links - FFP Returns valid LH deep links (FFP - links to flight selection screen on LH.COM) Offers |
GET | /offers/fares/deeplink/itco | LH Deep Links - ITCO Returns valid LH deep links (ITCO - links to shopping cart on LH.COM) Offers |
GET | /offers/fares/fares | Fares Retrieve all available fares per fare family for a specific Origin & Destination on a given date Offers |
GET | /offers/fares/lowestfares | Lowest Fares Retrieve lowest fare for a specific Origin & Destination pair on a given date. Available fares ar |
GET | /offers/fares/subscriptions | Fares Subscriptions Create a subscription for best price O&D. Receive regular updates on lowest fares Offers |
GET | /offers/ond/route/{origin}/{destination} | OND Route Returns LH route origin & destination information Offers |
GET | /offers/ond/status | OND Status Returns LH network route status information. Search for recently added or retired routes Offers |
GET | /offers/ond/top | Top OND Returns LH Top routes per country or across all countries Offers |
GET | /orders/orders/{orderID}/{name} | Orders Retrieve order by ID and optionally name. This service is only accessible for LH privileged partners Or |
PUT | /preflight/autocheckin/{ticketnumber} | Auto Check-In Trigger an automatic check-in given a ticket number. This service is only accessible for LH priv |
GET | /promotions/priceoffers/flights/ond/{origin}/{destination} | Price Offers Retrieve a best price offer given an origin and destination. Promotions |
GET | /references/seatdetails/{aircraftCode}/{cabinCode} | Seat Details A description of all available seat details by aircraft type. You can retrieve the full set or de |
specification origin: https://raw.githubusercontent.com/LufthansaOpenAPI/Swagger4Partners/master/LH-OpenAPI-Part
LH Public API, an HTTP API described by an OpenAPI document.
| method | path | what the vendor says it does |
|---|---|---|
GET | /cargo/getRoute/{origin}-{destination}/{fromDate}/{productCode} | Retrieve all flights Retrieve a list of all possible flights (both direct and connecting) between two airports |
GET | /cargo/shipmentTracking/{aWBPrefix}-{aWBNumber} | Shipment Tracking With this tracking service you can easily retrieve your shipment or flight status informatio |
GET | /offers/lounges/{location} | Lounges Lounge information Offers |
GET | /offers/seatmaps/{flightNumber}/{origin}/{destination}/{date}/{cabinClass} | Seat Maps Cabin layout and seat characteristics. Offers |
GET | /operations/flightstatus/arrivals/{airportCode}/{fromDateTime} | Flight Status at Arrival Airport Status of all arrivals at a given airport up to 4 hours from the provided dat |
GET | /operations/flightstatus/departures/{airportCode}/{fromDateTime} | Flight Status at Departure Airport Status of all departures from a given airport up to 4 hours from the provid |
GET | /operations/flightstatus/route/{origin}/{destination}/{date} | Flight Status by Route Status of flights between a given origin and destination on a given date. Operations |
GET | /operations/flightstatus/{flightNumber}/{date} | Flight Status Status of a particular flight (boarding, delayed, etc.). Operations |
GET | /operations/schedules/{origin}/{destination}/{fromDateTime} | Flight Schedules Scheduled flights between given airports on a given date. Operations |
GET | /references/aircraft/{aircraftCode} | Aircraft List all aircraft types or one specific aircraft type. Reference Data |
GET | /references/airlines/{airlineCode} | Airlines List all airlines or one specific airline. Reference Data |
GET | /references/airports/nearest/{latitude},{longitude} | Nearest Airports List the 5 closest airports to the given latitude and longitude, irrespective of the radius o |
GET | /references/airports/{airportCode} | Airports List all airports or one specific airport. All airports response is very large. It is possible to req |
GET | /references/cities/{cityCode} | Cities List all cities or one specific city. It is possible to request the response in a specific language. Re |
GET | /references/countries/{countryCode} | Countries List all countries or one specific country. It is possible to request the response in a specific lan |
specification origin: https://raw.githubusercontent.com/LufthansaOpenAPI/Swagger/master/LH_public_API_swagger_2_
nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.