Airline Alliance Lookup

The Airline Alliance Lookup API returns the airline alliance member information associated with a specified airline alliance group code. If no code is specified, the API returns all airline alliance groups and their corresponding member information.

An airline alliance is an agreement between two or more airlines to cooperate in their day to day business. These partnerships allow member airlines of an alliance group to extend a broader set of benefits to airline passengers, including faster mileage rewards. Therefore, customers may prefer to fly within a certain airline alliance network.

This API can be used with any API that accepts or returns an airline alliance group code: Bargain Finder Max, Alternate Date and Advanced Calendar Search (beta). See usage notes: for more information about these APIs.

API Information

Target Audience
Sabre Travel Network
Current Version
v1
Authentication
Sessionless Token
Method/Endpoint
GET /v1/lists/utilities/airlines/alliances/ HTTP/1.1

Ready to try the APIs?

Ready to get your hands dirty?

 Register Try the APIs

Ready to launch?

Ready to step up to the production level service? We're standing by to fit you for your spacesuit.

Request Production Key

Sample use case

You could use this API to create a search filter that allows customers to specify an alliance group. From this data, a oneworld® frequent flyer can sort and filter search results by the oneworld alliance network.

Request

alliancecode

string, optional

2-character airline alliance group code

Multiple values are accepted

Default: all airline alliance groups and their corresponding member information

Valid values: *A (Star Alliance™), *O (oneworld®), *S (SkyTeam)

Sample value: alliancecode=*O

Response

AllianceInfo

array

Repeats associated airline alliance group information:

  • AllianceCode, string
  • AllianceName, string
  • AirlineInfo, array
AllianceInfo.AllianceCode

string

Returns the specified airline alliance group code(s)

Sample value: *O

AllianceInfo.AllianceName

string

The name that corresponds to the specified airline alliance group code(s)

Sample value: ONEWORLD

AllianceInfo.AirlineInfo

array

Repeats associated alliance member information:

  • AirlineCode, string
  • Links, array
AirlineInfo.AirlineCode

string

The 2-character code of the alliance member airline

Sample value: AC

AirlineInfo.Links

array

Repeats every associated alliance member link:

  • airlineInfo, object

See usage notes: for more information on link nodes.

airlineInfo

object

Invokes the Airline Lookup API to retrieve the airline name that corresponds to the alliance member airline code

See usage notes: for more information on the Airline Lookup API.

Overall response links

Link nodes

array

See usage notes: for more information on link nodes.

self

object

Returns the URL of the request that generated the response

linkTemplate

object

Formats an Airline Alliance Lookup API request with placeholders for every request parameter

Examples: request and response

The following example demonstrates a request for all airline alliance member information associated with the oneworld alliance group.

GET https://api.sabre.com/v1/lists/utilities/airlines/alliances?alliancecode=*O HTTP/1.1
{
    AllianceInfo: [{
        AllianceCode: "*O",
        AllianceName: "oneworld",
        AirlineInfo: [{
            AirlineCode: "4M",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=4M"
            }]
        }, {
            AirlineCode: "AA",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=AA"
            }]
        }, {
            AirlineCode: "AB",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=AB"
            }]
        }, {
            AirlineCode: "AY",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=AY"
            }]
        }, {
            AirlineCode: "BA",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=BA"
            }]
        }, {
            AirlineCode: "CX",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=CX"
            }]
        }, {
            AirlineCode: "HG",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=HG"
            }]
        }, {
            AirlineCode: "IB",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=IB"
            }]
        }, {
            AirlineCode: "JJ",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=JJ"
            }]
        }, {
            AirlineCode: "JL",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=JL"
            }]
        }, {
            AirlineCode: "KA",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=KA"
            }]
        }, {
            AirlineCode: "LA",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=LA"
            }]
        }, {
            AirlineCode: "LP",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=LP"
            }]
        }, {
            AirlineCode: "MH",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=MH"
            }]
        }, {
            AirlineCode: "NU",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=NU"
            }]
        }, {
            AirlineCode: "QF",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=QF"
            }]
        }, {
            AirlineCode: "QR",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=QR"
            }]
        }, {
            AirlineCode: "RJ",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=RJ"
            }]
        }, {
            AirlineCode: "S7",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=S7"
            }]
        }, {
            AirlineCode: "UL",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=UL"
            }]
        }, {
            AirlineCode: "US",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=US"
            }]
        }, {
            AirlineCode: "XL",
            Links: [{
                rel: "airlineInfo",
                href: "https://api.sabre.com/v1/lists/utilities/airlines?airlinecode=XL"
            }]
        }]
    }],
    Links: [{
        rel: "self",
        href: "https://api.sabre.com/v1/lists/utilities/airlines/alliances?alliancecode=*O"
    }, {
        rel: "linkTemplate",
        href: "https://api.sabre.com/v1/lists/utilities/airlines/alliances?alliancecode=<alliancecode>"
    }]
}

Usage notes

Links nodes

  • Sabre® REST APIs have one or more links nodes that combine related URI resources in a response. For more information, see the links nodes page.

Advanced Calendar Search (beta) API

The Advanced Calendar Search API (beta) returns up to 200 of the lowest published fares across a 6 month window from the Sabre cache for a given city pair. Numerous travel date preferences are available, including the ability to limit flight options to specific days of the week.

Airline Lookup API

The Airline Lookup API returns the airline name associated with a specified IATA airline code.

Alternate Date API

The Alternate Date API returns the lowest available priced itineraries within +/- 1-3 days of a specified travel date.

Bargain Finder Max API

The Bargain Finder Max API returns the lowest available priced itineraries for a specified travel date.

Errors

A general HTTP status code is always returned.

Errors that are specific to this API follow. For information about the error response format, see the: status codes and errors page.

Status 400 BAD REQUEST

400 Parameter 'alliancecode' must be a valid value

Value must be a valid airline alliance group code. See request descriptions for valid values.

{specified code} is not a valid airline alliance code.

413 FULL head

The API returns this error when a request URI is too long. For example, the HTTP request’s query string exceeds the server limit.

The response will be empty as a result.

Please consider reducing the number of request parameters in the URI or separating parameters into multiple HTTP requests.

Docs Navigation