LH Partner API
LH Partner API endpoints from Lufthansa
Logistics & shipping#openapi#transport
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
LH Partner API endpoints from Lufthansa
Endpoints 16
Baggage
- GETBaggage Trip and Contact
/baggage/baggagetripandcontact/:searchIDRetrieve passenger trip, contact and baggage details. This service is only accessible for LH privileged partners
Offers
- GETAll Fares
/offers/fares/allfares?catalogues=string&origin=string&destination=string&travel-date=string&return-date=string&cabin-class=economy&travelers=string&fare-family=smart&trackingid=stringRetrieves all available fares for a specific Origin & Destination pair on a given date. Available fares are: One-way and Return for 4U. Return only for OS - GETBest Fares
/offers/fares/bestfares?catalogues=string&origin=string&destination=string&travel-date=string&trip-duration=string&range=string&cabin-class=string&country=string&trackingid=string&fare-family=stringRetrieve best fares for the requested journey across multiple days or multiple months. - GETDeep Links
/offers/fares/deeplink?catalogues=string&trackingid=string&country=string&lang=string&origin=string&origin-name=string&destination=string&destination-name=string&travel-date=string&return-date=string&cabin-class=string&outbound-segments=string&return-segments=string&travelers=string&fare=string&net-fare=string&fare-currency=string&partnerid=string&encryption-key=stringReturns valid deep links for the provided input parameters - GETLH Deep Links - FFP
/offers/fares/deeplink/ffp?catalogues=string&origin=string&destination=string&travel-date=string&trackingid=string&country=string&lang=string&return-date=string&cabin-class=string&travelers=string&partnerid=string&encryption-key=stringReturns valid LH deep links (FFP - links to flight selection screen on LH.COM) - GETLH Deep Links - ITCO
/offers/fares/deeplink/itco?catalogues=string&origin=string&destination=string&travel-date=string&outbound-segments=string&fare=string&fare-currency=string&trackingid=string&country=string&lang=string&return-date=string&cabin-class=string&return-segments=string&travelers=string&net-fare=string&partnerid=string&encryption-key=stringReturns valid LH deep links (ITCO - links to shopping cart on LH.COM) - GETFares
/offers/fares/fares?catalogues=string&segments=string&carriers=string&travelers=string&fare-types=basicRetrieve all available fares per fare family for a specific Origin & Destination on a given date - GETLowest Fares
/offers/fares/lowestfares?catalogues=string&origin=string&destination=string&travel-date=string&return-date=string&cabin-class=string&travelers=string&fare-family=basic&country=stringRetrieve lowest fare for a specific Origin & Destination pair on a given date. Available fares are: One-way and Return for 4U. Return only for OS & LH - GETFares Subscriptions
/offers/fares/subscriptions?origin=string&destination=string&cabin-class=string&trip-duration=string&email=string&lang=string&country=string&trackingid=stringCreate a subscription for best price O&D. Receive regular updates on lowest fares - GETOND Route
/offers/ond/route/:origin/:destination?catalogues=LH&limit=string&offset=stringReturns LH route origin & destination information - GETOND Status
/offers/ond/status?catalogues=LH&new-routes=string&old-routes=stringReturns LH network route status information. Search for recently added or retired routes - GETTop OND
/offers/ond/top?catalogues=LH&origin=stringReturns LH Top routes per country or across all countries
Orders
- GETOrders
/orders/orders/:orderID/:nameRetrieve order by ID and optionally name. This service is only accessible for LH privileged partners
Preflight
- PUTAuto Check-In
/preflight/autocheckin/:ticketnumber?emailAddress=stringTrigger an automatic check-in given a ticket number. This service is only accessible for LH privileged partners
Promotions
- GETPrice Offers
/promotions/priceoffers/flights/ond/:origin/:destination?departureDate=string&returnDate=string&service=amadeusBestPriceRetrieve a best price offer given an origin and destination.
Reference Data
- GETSeat Details
/references/seatdetails/:aircraftCode/:cabinCode?lang=stringA description of all available seat details by aircraft type. You can retrieve the full set or details for a particular aircraft type.
API details
- Base URL
https://api.lufthansa.com/v1- Authentication
- OAuth 2.0 (client credentials flow) with 1 scope
- Operations
- 16 operations on 16 pathsGET 15PUT 1
- Main resources
- Offers 11Baggage 1Orders 1Preflight 1Promotions 1Reference Data 1
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
1.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the LH Partner API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the LH Partner API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (client credentials flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Baggage Trip and Contact” (GET /baggage/baggagetripandcontact/:searchID), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the LH Partner API?
LH Partner API endpoints from Lufthansa It is listed under Logistics & shipping and has 16 endpoints.
Who publishes the LH Partner API?
It is listed from Lufthansa's public API description (an OpenAPI document), not published by Lufthansa on Swastik Codes. Anyone who controls lufthansa.com can claim the profile by adding a DNS TXT record.
What is the base URL of the LH Partner API?
Requests go to https://api.lufthansa.com/v1. Endpoint paths are added to this base URL.
How do I authenticate with the LH Partner API?
With OAuth 2.0 (client credentials flow) with 1 scope.
How many endpoints does the LH Partner API have?
16 operations on 16 paths (15 GET, 1 PUT). The largest groups are Offers, Baggage, Orders, Preflight.
Is forking the LH Partner API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.