Turning GDS codes into readable flight results
Global distribution systems such as Amadeus, Sabre and Travelport are built for machines. They return flights as compact codes that are perfect for software and meaningless to most travellers. Between the GDS response and the results page sits an enrichment layer that turns those codes into names, logos and places people recognise. Get it right and nobody notices; get it wrong and travellers see "DL 333 JFK LHR K".
What the GDS actually returns
Take a New York to London search. A typical flight segment comes back looking something like this:
| Field | Value | Meaning |
|---|---|---|
| Carrier | DL | Delta Air Lines |
| Flight | 1 | Flight number, shown as DL 1 |
| From / to | JFK / LHR | New York JFK to London Heathrow |
| Departure | 2026-11-20T18:30 | Local time at JFK, not UTC |
| Equipment | 333 | Airbus A330-300 |
| Booking class | K | A discounted economy fare bucket on Delta |
| Operating carrier | DL | Who flies it. On a code-share this differs, e.g. VS for Virgin Atlantic |
All of it is accurate, and almost none of it is readable. The job of your platform is to translate it.
The layers of enrichment
Airlines
Map the carrier code to the airline's trading name (Delta, not "Delta Air Lines, Inc."), its logo and, if you show them, its alliance, loyalty programme and links to check-in and baggage rules. When the operating carrier differs from the marketing carrier, show both: "Delta · operated by Virgin Atlantic". Watch out for codes that are shared by two airlines or recently reassigned.
Airports and cities
Map JFK and LHR to "New York JFK" and "London Heathrow", with city and country for less familiar airports. A search for "London" uses the city code LON, so results can mix Heathrow, Gatwick and others; label each clearly. One airport, many codes explains how airport, city and ICAO codes relate.
Times
GDS times are local to each airport. Convert durations with the airports' time zones, and show "+1" when a flight lands the next day. Getting this wrong produces flights that seem to arrive before they leave.
Aircraft
Equipment codes are IATA aircraft type codes: 333 is an Airbus A330-300, 77W a Boeing 777-300ER, 32N an A320neo, 7M8 a Boeing 737 MAX 8. Translate them with a reference table; many travellers do care what they will be flying on.
Fares
Booking classes like K mean different things on different airlines. Show the cabin (economy, premium economy, business) and the fare brand from the offer, and keep the class letter for support staff rather than travellers.
The same flight, translated
After enrichment, the row above becomes a card a traveller can read at a glance:
- Delta logo and "Delta · DL 1" (plus "operated by…" on a code-share)
- New York JFK 18:30 → London Heathrow 06:35 +1, 7 h 05 m
- Airbus A330-300 · Economy
- Price, baggage allowance, and links to the airline's baggage policy
How to build the enrichment layer
- Enrich on your side, not per search. Keep airline, airport and aircraft reference data in your own store, refreshed daily, and join against it when results come back. Calling a remote API for every row of every search is slow and fragile.
- Keep one source for each kind of data. Search, booking, emails and the mobile app should all read the same airline and airport records, so a rebrand changes everywhere at once.
- Fail softly. If a code isn't in your reference data, show the raw code and log it, rather than hiding the flight.
- Test with awkward cases: code-shares, overnight flights, city-code searches, shared airline codes and airlines that merged recently.
Where Airhex fits
Airhex provides the airline and airport side of this layer: the airline database (trading and legal names, IATA and ICAO codes, status, alliances, loyalty programmes, check-in and baggage links), airline logos in every shape and size, and airports and cities with time zones. Download them for your own store or use the airlines API, updated daily.