American Airlines

AAICAO: AALCallsign: AMERICAN
NDC Version21.3 / 24.1
AuthAccelya `<tc>` credential block in the SOAP header + gateway subscription key
HubDFWDallas/Fort Worth International
CoverageGlobal (350+ destinations)
Packageinternal/adapters/americanairlines/
Adapter FilesREADME.mddoc.goclient.gotypes_request.gotypes_response.goairshopping.goofferprice.goservicelist.goseatavailability.goordering.gomapper.gocabin.goroutemap.gopaxcache.goseatcache.go

NDC Operations

11 of 11 operations implemented.

OperationStatus
AirShoppingLive
OfferPriceLive
ServiceListLive
SeatAvailabilityLive
OrderCreateLive
OrderRetrieveLive
OrderChangeLive
OrderCancelLive
OrderReShopLive
OrderCommitLive
OrderQuoteLive

Fare Types

FareDescription
Basic EconomyMost restrictive main-cabin fare, no changes
Main CabinStandard economy
Premium EconomyExtra legroom, enhanced service
Business / FlagshipPremium cabins, long-haul Flagship service

Quirks & Gotchas

Known traps and special behaviours to be aware of when integrating with American Airlines:

  • Not a direct AA endpoint — every operation goes through the Accelya (formerly Farelogix) Open Connect SOAP gateway.
  • Single URL for everything; the operation is selected by the `SOAPAction` header (e.g. `IATA_AirShoppingRQ`).
  • The SOAP body wrapper is literally `XXTransaction` — `XX` is not a carrier-code placeholder.
  • Full `<tc>` credential block required (system + agent identity, PCC, IATA, dispatch script); a partial set fails with an opaque 'Invalid transaction control data' fault.
  • `Agency` HTTP header must not contain spaces.
  • COUNTRY_CODE must match the sales city Accelya registered against the PCC, or pricing fails with 'Inconsistent sales city and country'.
  • OrderCreate can refuse codeshare segments inside connections ([126] Unable - Codeshare Flight); those offers are withheld unless explicitly enabled.
  • Offer IDs are GUID-derived and opaque — no carrier prefix convention.

Route Network

Key destinations served by American Airlines:

  • Mainline hubs: DFW, CLT, ORD, PHL, PHX, MIA, LAX, JFK, LGA, DCA
  • Domestic US: comprehensive hub-and-spoke coverage plus Canada and the Caribbean
  • Latin America: MIA gateway — Mexico, Central & South America
  • Europe: LHR, CDG, AMS, FRA, MUC, MAD, BCN, FCO, ATH, DUB, ZRH…
  • Asia-Pacific: NRT, HND, ICN, DEL, SYD, AKL…

Configuration

Environment variables used to configure the American Airlines adapter:

VariableDescriptionDefault
AMERICAN_AIRLINES_BASE_URLAccelya Open Connect gateway URL
AMERICAN_AIRLINES_SUBSCRIPTION_KEYOcp-Apim-Subscription-Key header
AMERICAN_AIRLINES_SYSTEM_USERSystem identity (<iden u>)
AMERICAN_AIRLINES_SYSTEM_PASSWORDSystem password (<iden p>)
AMERICAN_AIRLINES_AGENT_USERAgent identity — defaults to SYSTEM_USER
AMERICAN_AIRLINES_AGENT_PASSWORDAgent password — defaults to SYSTEM_PASSWORD
AMERICAN_AIRLINES_AGENT_ROLEAgent roleTicketing Agent
AMERICAN_AIRLINES_OFFICE_IDPseudoCityCode (PCC)
AMERICAN_AIRLINES_AGENCY_IATAAgency IATA number incl. check digit
AMERICAN_AIRLINES_AGENCY_NAMEAgency name (sent without spaces)
AMERICAN_AIRLINES_TRACE_IDTrace ID for Accelya's trace console
AMERICAN_AIRLINES_DISPATCH_SCRIPTFLXDM dispatch script name
AMERICAN_AIRLINES_COUNTRY_CODEPoint-of-sale countryES
AMERICAN_AIRLINES_CITY_CODEOptional point-of-sale city (IATA)
AMERICAN_AIRLINES_CURRENCYDefault currencyUSD
AMERICAN_AIRLINES_NDC_VERSION21.3 or 24.121.3
AMERICAN_AIRLINES_TIMEOUTRequest timeout45s
AMERICAN_AIRLINES_ALLOW_CODESHARE_CONNECTIONSSell codeshare connectionsfalse
American Airlines (AA) · Norba Docs