Searching for Airlines by Name, not ICAO Code


#1

Is there currently a method for retrieving a list of airlines (with codes) matching a name (similar to the autocomplete dropdown functionality on the FlightAware homepage when you start typing ‘United…’)?

For example, I was hoping for users to be able to type ‘Delta 1234’ and query the API for the flight information. The GetFlightInfo call seems to require ICAO or IATA and would only work if they typed ‘DL1234’ or ‘DAL1234’.

If it doesn’t exist in this API, are you aware of any APIs that provide this functionality? Google searching has come up empty for me.


#2

You can use “AllAirlines” with “AirlineInfo” to pre-fetch all of the airlines into your local database and then search them locally in your app.