What goes into an airline record

By Airhex · · 3 min read

Illustration of an airline database feeding a website

"We need a list of airlines" sounds like a one-day task: a code, a name, done. Then the product team asks for logos, support asks for check-in links, marketing wants loyalty programmes, finance needs legal names, and a merger turns half the list into history. A useful airline record has more fields than most teams expect, and each one changes on its own schedule.

Here is what goes into a complete airline record, with examples from well-known airlines, and how to keep it current.

Identifiers

FieldExample (British Airways)Notes
Internal IDyour ownThe only identifier that never changes or repeats.
IATA codeBATwo characters; can be shared or reused.
ICAO codeBAWThree letters; used in flight plans and flight tracking.
Airline prefix125The three-digit number at the start of every ticket number (Lufthansa is 220, Emirates 176).
CallsignSpeedbirdWhat air traffic control calls the airline on the radio.

Names

  • Trading name: what travellers know ("British Airways").
  • Legal name: for contracts and invoices ("British Airways Plc").
  • Translated names: for interfaces in other languages.

Keep brand spelling exactly as the airline writes it: easyJet, SWISS, Widerøe. See using airline logos and names correctly.

Type and status

  • Type: passenger, cargo, charter, regional. Shared IATA codes are often split between a passenger and a cargo airline, so this helps tell them apart.
  • Low-cost flag: useful for filters and fare logic (Ryanair, easyJet and Wizz Air are; Lufthansa isn't).
  • Status with dates: active, ceased, merged, with the date of the change and the successor airline (Vistara → Air India, Virgin America → Alaska Airlines).

Relationships

  • Country of the airline.
  • Parent or group: Eurowings and SWISS belong to the Lufthansa Group; Iberia and British Airways to IAG. Useful for grouping and reporting.
  • Alliance: Star Alliance, SkyTeam, oneworld or none, with dates, because members switch (SAS moved to SkyTeam in 2024).
  • Loyalty programme: Miles & More (Lufthansa), Emirates Skywards, SkyMiles (Delta), EuroBonus (SAS).

Brand and content

  • Logos in the shapes your interfaces need (square, rectangular, tail), for light and dark backgrounds.
  • Brand colours, so airline-specific screens and emails match the airline.
  • Official website
  • Online check-in page
  • Baggage policy page
  • Mobile apps

These break quietly when airlines redesign their websites, so they need checking as often as codes do.

Why each field changes on its own

A rebrand changes the logo and colours; a merger changes status, codes and successor; an alliance switch changes alliance and sometimes loyalty programme; a website redesign breaks the links. That's why a one-off import goes stale: different fields expire at different times. A workable process is:

  1. Pull the full dataset from a maintained source every day.
  2. Diff it against your current copy, field by field.
  3. Apply changes automatically, but log them and review anything affecting codes or status.
  4. Keep history (validity dates) instead of overwriting, so old bookings stay correct.

Merger handling is covered in more depth in managing airline code changes and mergers.

Where Airhex fits

The Airhex airline database covers these fields for every airline: codes, trading and legal names, type, status and history, country, alliance, loyalty programme, brand colours, website, check-in and baggage links, plus logos. It is checked daily and available as downloads or through the airlines API, with documentation for individual fields such as brand colours, online check-in and baggage policy.