Resolve Locations and Search Flights
A 3-step recipe with Amadeus. We can help you get access.
Recipe · 3 steps
Resolve Locations and Search Flights
with Amadeus
Resolve two place keywords to IATA codes and search flights between them.
- Resolve the origin keyword to a city IATA code via the locations reference data, matching on CITY subtype.
- Resolve the destination keyword to a city IATA code via the locations reference data, matching on CITY subtype.
- Run a flight offers search between the two resolved IATA codes for the requested date and adult count.
What you'll need to have ready
- originKeyword: Free-text keyword for the origin (e.g. London).
- destinationKeyword: Free-text keyword for the destination (e.g. New York).
- departureDate: Departure date in ISO 8601 YYYY-MM-DD format.
- adults: Number of adult travellers (1-9).
For your developer
Arazzo workflow amadeus:resolve-locations-and-search-flights, 3 operations: getAirportCitySearch → getAirportCitySearch → getFlightOffers. Specs on APIs.io.