• Register

Airlines

Retrieves the complete details of one particular airline or list of airlines.

Request URIs

Code snippet: Call

GET /mds-references/airlines
GET /mds-references/airlines/{airlineCode}
GET /mds-references/airlines[?limit={recordLimit}][&][offset={recordOffset}]
Variable Description Format
{airlineCode} Optionally return only this airline. 2-character IATA airline designator code, e.g. “LH”.
{recordLimit} Optionally sets the number of records returned. Defaults to 20, maximum is 100. integer, e, g, 44
{recordOffset} Optionally sets the number of records skipped when sorting response records alphabetically. Defaults to 0.
integer, e.g. 123

Request Examples

Code snippet: Call

GET /mds-references/airlines
GET /mds-references/airlines/UA
GET /mds-references/airlines?limit=44&offset=123

Response Structure Definition

Key Description
AirlineResource Root element of airlines response.
.Airlines Container for airline elements.
..Airline[] Array of all available airlines or one airline matching the request.
...AirlineID 2-character IATA airline code, e.g. “LH”.
...AirlineID_ICAO 3-letter ICAO airline code, e.g. "DLH".
...Names Container for airline full names.
....Name[] Array: language specific airline name, e.g. “Lufthansa”.
@LanguageCode 2-letter ISO 639-1 language code for the corresponding item.
.Meta Container for meta links.
..Link[]
@Href Link to actual a resource.
@Rel Specifying kind of link such as ‘self’ (link that returned this response), ‘alternate’ (link that points to another resource) or ‘related’ (link that points to related resource).

Response Example

<?xml version="1.0" encoding="UTF-8"?>
<AirlineResource>
  <Airlines>
    <Airline>
      <AirlineID>LH</AirlineID>
      <AirlineID_ICAO>DLH</AirlineID_ICAO>
      <Names>
        <Name LanguageCode="EN">Lufthansa</Name>
      </Names>
    </Airline>
  </Airlines>
  <Meta Version="1.0.0">
    <Link Href="https://api.lufthansa.com/v1/mds-references/airlines/LH" Rel="self"/>
  </Meta>
</AirlineResource>
<?xml version="1.0" encoding="UTF-8"?>
<AirlineResource>
    <Airlines>
        <Airline>
            <AirlineID>0A</AirlineID>
            <AirlineID_ICAO>GNT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Amber Air</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0B</AirlineID>
            <AirlineID_ICAO>BMS</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Blue Air</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0D</AirlineID>
            <AirlineID_ICAO>DWT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Darwin Airline Sa</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0J</AirlineID>
            <AirlineID_ICAO>PJZ</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Premium Jet Ag</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0K</AirlineID>
            <AirlineID_ICAO>KRT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Aircompany Kokshetau</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0P</AirlineID>
            <AirlineID_ICAO>PPC</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Palau Asia Pacific Air Inc.</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0S</AirlineID>
            <AirlineID_ICAO>SEJ</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Spicejet</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0V</AirlineID>
            <AirlineID_ICAO>VFC</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Vasco</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0W</AirlineID>
            <AirlineID_ICAO>WCR</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">West Caribbean Costa Rica S.A.</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1A</AirlineID>
            <AirlineID_ICAO>AGT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Amadeus Global Travel Distribution S.A.</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1I</AirlineID>
            <AirlineID_ICAO>EJA</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Netjets</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1L</AirlineID>
            <AirlineID_ICAO>OSY</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Open Skies Consultative Commission (Oscc)</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1P</AirlineID>
            <AirlineID_ICAO>WSP</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Worldspan (Atlanta_ Ga)</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1S</AirlineID>
            <AirlineID_ICAO>SBG</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Sabre_ Inc. (Southlake_ Tx)</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1X</AirlineID>
            <AirlineID_ICAO/>
            <Names>
                <Name LanguageCode="EN">Branson Airexpress</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2A</AirlineID>
            <AirlineID_ICAO/>
            <Names>
                <Name LanguageCode="EN">Deutsche Bahn Ag</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2B</AirlineID>
            <AirlineID_ICAO>AWT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Albawings</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2C</AirlineID>
            <AirlineID_ICAO/>
            <Names>
                <Name LanguageCode="EN">Sncf</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2D</AirlineID>
            <AirlineID_ICAO>DYA</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Dynamic International Airways</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2E</AirlineID>
            <AirlineID_ICAO/>
            <Names>
                <Name LanguageCode="EN">Smokey Bay Air</Name>
            </Names>
        </Airline>
    </Airlines>
    <Meta Version="1.0.0">
        <Link Href="https://api.lufthansa.com/v1/mds-references/airlines" Rel="self"/>
        <Link Href="https://api.lufthansa.com/v1/mds-references/airlines?offset=20&amp;limit=20" Rel="next"/>
        <Link Href="https://api.lufthansa.com/v1/mds-references/airlines?offset=1120&amp;limit=20" Rel="last"/>
        <Link Href="https://api.lufthansa.com/v1/references/airlines/{airlineCode}" Rel="related"/>
        <TotalCount>1130</TotalCount>
    </Meta>
</AirlineResource>
<?xml version="1.0" encoding="UTF-8"?>
<AirlineResource>
    <Airlines>
        <Airline>
            <AirlineID>0A</AirlineID>
            <AirlineID_ICAO>GNT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Amber Air</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0B</AirlineID>
            <AirlineID_ICAO>BMS</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Blue Air</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0D</AirlineID>
            <AirlineID_ICAO>DWT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Darwin Airline Sa</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0J</AirlineID>
            <AirlineID_ICAO>PJZ</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Premium Jet Ag</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0K</AirlineID>
            <AirlineID_ICAO>KRT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Aircompany Kokshetau</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0P</AirlineID>
            <AirlineID_ICAO>PPC</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Palau Asia Pacific Air Inc.</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0S</AirlineID>
            <AirlineID_ICAO>SEJ</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Spicejet</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0V</AirlineID>
            <AirlineID_ICAO>VFC</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Vasco</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>0W</AirlineID>
            <AirlineID_ICAO>WCR</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">West Caribbean Costa Rica S.A.</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1A</AirlineID>
            <AirlineID_ICAO>AGT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Amadeus Global Travel Distribution S.A.</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1I</AirlineID>
            <AirlineID_ICAO>EJA</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Netjets</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1L</AirlineID>
            <AirlineID_ICAO>OSY</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Open Skies Consultative Commission (Oscc)</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1P</AirlineID>
            <AirlineID_ICAO>WSP</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Worldspan (Atlanta_ Ga)</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1S</AirlineID>
            <AirlineID_ICAO>SBG</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Sabre_ Inc. (Southlake_ Tx)</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>1X</AirlineID>
            <AirlineID_ICAO/>
            <Names>
                <Name LanguageCode="EN">Branson Airexpress</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2A</AirlineID>
            <AirlineID_ICAO/>
            <Names>
                <Name LanguageCode="EN">Deutsche Bahn Ag</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2B</AirlineID>
            <AirlineID_ICAO>AWT</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Albawings</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2C</AirlineID>
            <AirlineID_ICAO/>
            <Names>
                <Name LanguageCode="EN">Sncf</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2D</AirlineID>
            <AirlineID_ICAO>DYA</AirlineID_ICAO>
            <Names>
                <Name LanguageCode="EN">Dynamic International Airways</Name>
            </Names>
        </Airline>
        <Airline>
            <AirlineID>2E</AirlineID>
            <AirlineID_ICAO/>
            <Names>
                <Name LanguageCode="EN">Smokey Bay Air</Name>
            </Names>
        </Airline>
    </Airlines>
    <Meta Version="1.0.0">
        <Link Href="https://api.lufthansa.com/v1/mds-references/airlines" Rel="self"/>
        <Link Href="https://api.lufthansa.com/v1/mds-references/airlines?offset=20&amp;limit=20" Rel="next"/>
        <Link Href="https://api.lufthansa.com/v1/mds-references/airlines?offset=1120&amp;limit=20" Rel="last"/>
        <Link Href="https://api.lufthansa.com/v1/references/airlines/{airlineCode}" Rel="related"/>
        <TotalCount>1130</TotalCount>
    </Meta>
</AirlineResource>

Docs Navigation