RapidAPI logo

Sign Up

Log In

Lufthansa Open

FREE
By lihcodeOfficial
Updated 3 months ago
Travel, Transportation
8.9/10
Popularity Score
949ms
Latency
55%
Success Rate

Lufthansa Open API Documentation

Lufthansa Open API is your way to the Lufthansa Group data! We are steadily opening data from all around the group with a focus on airlines. The Open API is maintained and continuously enhanced by Lufthansa IT together with the Lufthansa Innovation Hub. Take a look at our developer portal for information on our data, the partner program and ways to get in contact with us.

View API Details
Cargo
GETCargo shipment tracking
GETCargo get Route From date product code
Operations
GETFlightstatus at arrival airport
GETFlightstatus by route
GETFlight Schedules
GETFlightstatus per departure airport
GETFlightstatus for particular flight
Offers
GETLounges
GETSeatmap
References
GETCountries
GETAirlines
GETAirline
GETCities
GETAircrafts
GETAirports
GETCargo shipment tracking

With this tracking service you can easily retrieve your shipment or flight status information.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
awbprefixSTRING
REQUIREDaWBPrefix : Represents the airline that is the owner of this AWB, i.e. \"020\" = Lufthansa Cargo, format : [0-9]{3} e.g. 020
awbnumberSTRING
REQUIREDaWBNumber : The Air Waybill Number , format : [0-9]{8} e.g. 08002050
Request Snippet
unirest.get("https://lihcode-lufthansa-open-new-v1.p.rapidapi.com/v1/cargo/shipmentTracking/{awbprefix}-{awbnumber}")
.header("X-RapidAPI-Host", "lihcode-lufthansa-open-new-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://lihcode-lufthansa-open-new-v1.p.rapidapi.com/v1/cargo/shipmentTracking/{awbprefix}-{awbnumber}")
.header("X-RapidAPI-Host", "lihcode-lufthansa-open-new-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication