Lufthansa Public
Lufthansa Public is a public API for accessing Lufthansa flight, airport, route, and airline information.
- Base URL:
https://api.lufthansa.com/v1 - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
cargogetroutefromdateproductcodebyoriginanddesti— GET /cargo/getRoute/{origin}-{destination}/{fromDate}/{productCode} — Retrieve all flightscargoshipmenttrackingbyawbprefixandawbnumberget— GET /cargo/shipmentTracking/{aWBPrefix}-{aWBNumber} — Shipment Trackingoffersloungesbylocationget— GET /offers/lounges/{location} — Loungesoffersseatmapsdestinationdatecabinclassbyflightn— GET /offers/seatmaps/{flightNumber}/{origin}/{destination}/{date}/{cabinClass} — Seat Mapsoperationsflightstatusarrivalsbyairportcodeandfr— GET /operations/flightstatus/arrivals/{airportCode}/{fromDateTime} — Flight Status at Arrival Airportoperationsflightstatusdeparturesbyairportcodeand— GET /operations/flightstatus/departures/{airportCode}/{fromDateTime} — Flight Status at Departure Airport
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: cargogetroutefromdateproductcodebyoriginanddesti
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: cargogetroutefromdateproductcodebyoriginanddesti, cargoshipmenttrackingbyawbprefixandawbnumberget, offersloungesbylocationget, offersseatmapsdestinationdatecabinclassbyflightn, operationsflightstatusarrivalsbyairportcodeandfr, operationsflightstatusdeparturesbyairportcodeand |
aWBNumber |
string | no | — | Path parameter aWBNumber (required by some operations). |
aWBPrefix |
string | no | — | Path parameter aWBPrefix (required by some operations). |
airportCode |
string | no | — | Path parameter airportCode (required by some operations). |
cabinClass |
string | no | — | Path parameter cabinClass (required by some operations). |
date |
string | no | — | Path parameter date (required by some operations). |
destination |
string | no | — | Path parameter destination (required by some operations). |
flightNumber |
string | no | — | Path parameter flightNumber (required by some operations). |
fromDate |
string | no | — | Path parameter fromDate (required by some operations). |
fromDateTime |
string | no | — | Path parameter fromDateTime (required by some operations). |
location |
string | no | — | Path parameter location (required by some operations). |
origin |
string | no | — | Path parameter origin (required by some operations). |
productCode |
string | no | — | Path parameter productCode (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |