Flight API query with stopover airport
I want to query flights form A to B with 1 stop. Now I want to specify the airport where I would change flights. Which API is the best for that? Thanks in advance.
Thank you for this insightful question.
Every flight search API has access to airline schedules that include connecting airports. But not always this API is capable of processing stopover requests.
Pulling flight data from Global Distribution Systems, you can set a stopover airport as an additional search parameter. So the API will return you only the flights with the leg in the selected airport.
Also, you can do it from your side: Once the itineraries are retrieved via the API, сreate a business rule for this data that will execute filtering by the stopover airport.