- Previous: Shipment Tracking Subscribe
- Up: Public APIs
- Next: Station Information
Routing Offer
Benefit from the broad LH Cargo network: Check your product’s flight options and timing. Retrieve possible direct and connecting route offers. Enter your starting and destination stations, Lufthansa Cargo product options and a date to receive a tailor made route overview.
Routes are always up-to-date and available up to 30 days in the future.
The structures of all-sub-services of the Station Information API are defined in a Swagger. You can find the respective Swagger in our Interactive API.
Request URI
GET https://api.lufthansa-cargo.com/lh/booking/routes?origin={origin}&destination={destination}&fromDate={fromDate}&productCode={productCode}&freightersAndTrucksOnly={freightersAndTrucksOnly}
Variable | Description | Format |
---|---|---|
{origin} | Departure airport | 3-letter IATA airport code, e.g. “FRA”. |
{destination} | Arrival airport | 3-letter IATA airport code e.g. "HKG" |
{fromDate} | Departure date in local time of the departure airport. Based on LAT (Latest Acceptance Time) | yyyy-MM-dd |
{productCode} | Product code for requested service and specials |
3-letter product code eg: "YNZ". please refer below table for all possible values
|
{freightersAndTrucksOnly} | Filter optional for freighter and truck connections only. | Boolean |
Request Examples
GET https://api.lufthansa-cargo.com/lh/booking/routes?origin=FRA&destination=JFK&fromDate=2022-10-12&productCode=ZXO&freightersAndTrucksOnly=true
Response Structure
Element | Description |
getRoutesResponse |
Root element |
.requestID |
Non-negative integer (starts with 1 and incremented by 1 for each additional request). This attribute is introduced to correlate the request and response |
.routeHeaderInformation |
|
..shipmentOrigin |
ShipmentOrigin represents the origin station of the routing for a shipment |
..shipmentDestination |
ShipmentDestination represents the destination station of the routing for a shipment |
..earliestLATFromOfferedRoutings |
This is the earliest LAT (Latest Acceptance Time) at the shipment origin station considering all routes of the response. |
..latestTOAFromOfferedRoutings |
This is the latest TOA (Time of Availability) at the shipment destination station considering all routes of the response. |
..latForLaterFlightSearch |
In case of later flight search, use this value as fromDate |
..toaForEarlierFlightSearch |
In case of earlier flight search, use this value as fromDate |
..productCode |
Unique 3-Letter Code to identify a Lufthansa Cargo product (see "productCode"). |
.routes: [] |
|
...routeNo |
Represents the routing sequence number |
...latestAcceptanceTimeOfRouting |
LAT (Latest Acceptance Time) of this specific routing |
...earliestTimeOfAvailabilityOfRouting |
TOA (Time of Availability) of this specific routing. |
...co2EmissionLCAG |
CO2 emission in kg per 1.000 kg shipment weight |
...FlightSegments [] |
1 – n flights matching the request. |
....flightSegmentNo |
Serial number of the segment in the route. If the route is HAM-FRA-JFK, then the segment HAM-FRA gets "1" and the segment FRA-JFK gets "2". |
....flightSegmentOrigin |
Departure station of the segment |
....flightSegmentDestination |
Arrival station of the segment |
....flightNumber |
Flight number of the segment |
....flightOriginDate |
Flight date of the segment |
....departureDateTimeLocal |
Departure date and time of the segment |
....arrivalDatetimeLocal |
Arrival date and time of the segment |
....aircraftType |
Aircraft type, e. g. "77X", "333" |
- Previous: Shipment Tracking Subscribe
- Up: Public APIs
- Next: Station Information
0 Comments
Please sign in to post a comment.