Airline Frequent Flyer Programs API

Connect airline identities with their frequent flyer program names. Retrieve program names alongside airline codes to enrich airline profiles, build loyalty program directories and provide useful context in your travel application.

  • Frequent flyer program names
  • Lookup by code or name
  • JSON, XML and CSV

Look up an airline’s frequent flyer program

Look up United Airlines using its IATA code UA and read ffp_name. This example returns MileagePlus. Replace YOUR_API_KEY with your assigned key.

Request · cURL

curl --get 'https://content.airhex.com/api/v3.7.10/airlines/' \
  --data-urlencode 'apikey=YOUR_API_KEY' \
  --data-urlencode 'iata=UA'

Response · JSON excerpt

[
  {
    "iata": "UA",
    "icao": "UAL",
    "marketing_name": "United Airlines",
    "ffp_name": "MileagePlus",
    ...
  }
]

Abbreviated response. The ellipsis (…) represents additional airline fields omitted here and is not part of the actual JSON response.

View the full Airline Database API reference →

Request parameters

Look up an airline or export the directory, then read ffp_name from the returned records. The name parameter searches airline names, not frequent flyer program names. Filter program names in your application after retrieving the records.

ParameterRequiredDefaultDescription
apikey YesNoneYour assigned API key. Get a free test API key.
iata ConditionalNoneLook up an airline by its two-character IATA code, such as UA.
icao ConditionalNoneLook up an airline by its three-letter ICAO code, such as UAL.
name ConditionalNoneFind airline codes by airline name or partial name.
dump Conditional0Set to 1 to export the complete dataset, subject to the onlyscheduled filter.
response_type NoJSONResponse format: JSON, XML or CSV. CSV triggers a file download.
onlyscheduled No1Set to 1 for scheduled airlines only, or 0 for all airline types.

Provide at least one of iata, icao, name, or dump=1. Setting dump=1 overrides the other lookup parameters.

View all request parameters →

Available data

Use ffp_name to display the program associated with the airline record. Keep the airline identity with the program name when building or refreshing a local directory.

FieldTypeExampleDescription
airhex_id String965Permanent Airhex record identifier. Use it to associate future updates with the same record.
iata StringUATwo-character IATA airline designator. Codes can contain letters and digits; store them as text.
icao StringUALThree-letter ICAO airline designator, useful for mapping between code systems.
marketing_name StringUnited AirlinesCommonly used airline name for display in your application.
ffp_name StringMileagePlusName of the airline’s frequent flyer program.

View all available data →

Common implementation tasks

Download airline frequent flyer program names

Export the directory as CSV and retain ffp_name with airline names, codes and airhex_id. Use populated program names to build a directory. Set onlyscheduled=0 if you need carrier types beyond scheduled airlines, then select the records relevant to your application.

curl --get 'https://content.airhex.com/api/v3.7.10/airlines/' \
  --data-urlencode 'apikey=YOUR_API_KEY' \
  --data-urlencode 'dump=1' \
  --data-urlencode 'onlyscheduled=0' \
  --data-urlencode 'response_type=CSV' \
  --output airline-frequent-flyer-programs.csv

Find a program by airline name

Search with the airline’s name, select the intended record and read ffp_name. Partial name matching can return multiple airlines, so confirm the identity before displaying a program. To search for a program name itself, filter your downloaded directory locally.

curl --get 'https://content.airhex.com/api/v3.7.10/airlines/' \
  --data-urlencode 'apikey=YOUR_API_KEY' \
  --data-urlencode 'name=United'

Retrieve a program name using an ICAO code

Use icao when your source supplies a three-letter airline designator. This example retrieves United Airlines using UAL and reads its frequent flyer program name from the same record.

curl --get 'https://content.airhex.com/api/v3.7.10/airlines/' \
  --data-urlencode 'apikey=YOUR_API_KEY' \
  --data-urlencode 'icao=UAL'

What you can build

Useful airline profiles

Show the listed frequent flyer program alongside the airline name and other reference information.

Airline loyalty directories

Build a browsable directory that connects airline names and codes with their listed frequent flyer programs.

Context for travel support teams

Give agents the airline’s program name when reviewing a booking, while keeping account and benefit questions tied to the relevant program.

Frequently asked questions

What does the Airline Frequent Flyer Programs API return?

The ffp_name field returns the name of the airline’s frequent flyer program. It is included in the Airlines API record alongside airline names, codes and other reference data.

Can I look up a program using an airline code?

Yes. Pass an IATA airline code in iata or an ICAO code in icao, then read ffp_name. You can also search using the airline’s name.

Can I search directly for a frequent flyer program name?

The documented name parameter searches airline names, not program names. Export the directory with dump=1 and search or filter ffp_name locally if your application needs program-name search.

Does this API provide mileage balances or validate membership numbers?

No. ffp_name is airline reference data. It does not provide passenger accounts, balances, membership validation or access to a loyalty account.

Can I use ffp_name to determine which program a passenger can credit a flight to?

No. The field identifies the program listed on the airline record, not every partner program accepted for a particular booking. Use the relevant fare and loyalty-program rules to determine mileage credit and eligibility. The name alone does not establish mileage amounts or passenger benefits.

Is a program name a unique identifier?

The API documentation does not define ffp_name as a unique program identifier. Preserve the airline relationship using airhex_id and its codes rather than treating the displayed name as a permanent record key.

What should I do if ffp_name is empty?

Omit the program label or display “No program listed” according to your product’s design. An empty value does not establish whether the airline participates in other loyalty arrangements. Do not infer a program from the airline’s alliance or parent carrier.

Can I download and store program names in my own database?

Yes, with an appropriate Airline Database license. Export in JSON, XML or CSV and keep airline identities with the program names. Refresh stored records periodically; Airhex reviews and updates airline data daily. Retain airhex_id and the updated timestamp from the full response to pick up program-name changes.

Help travelers identify airline loyalty programs

Show frequent flyer program names alongside airline information, giving travelers and support teams useful context without maintaining a separate program directory.

Airline Database API →

Explore the complete airline dataset, including IATA and ICAO codes, names, operational status, carrier types, alliances, frequent flyer programs, check-in and baggage policy links, logos and brand colors. View all request parameters and response fields, with individual lookups and bulk exports in JSON, XML and CSV.

Airline Alliance API →

Look up airline alliance membership by IATA code, ICAO code or name. Build alliance filters and group airlines in your travel application with Airhex.

Airline Baggage Policy API →

Retrieve airline baggage policy links by IATA code, ICAO code or airline name. Add official baggage information to booking flows and itineraries with Airhex.

Airline Brand Colors API →

Retrieve airline brand colors as hex and RGB values by IATA code, ICAO code or name. Add airline color accents to travel interfaces with the Airhex API.

Airline IATA Codes API →

Look up airline IATA codes, match codes to airline names and ICAO codes, or export the airline coding directory with the Airhex API.

Airline ICAO Codes API →

Look up three-letter ICAO airline codes, match them to airline names and IATA codes, and download the airline directory with the Airhex API.

Airline Metadata API →

Retrieve low-cost carrier flags and airline types, including scheduled, charter, cargo and ACMI. Look up airline metadata by code or name with Airhex.

Airline Online Check-in API →

Retrieve airline online check-in links by IATA code, ICAO code or name. Add online check-in links to itineraries and pre-trip messages with Airhex.

Airline Status API →

Look up airline operational status: active, defunct or start-up. Retrieve status by airline code or name and filter your local airline directory with Airhex.