Air APIs
Explore how to leverage Amadeus Air APIs to search for the best flight offers, obtain real-time flight status updates, and retrieve detailed airport and city information, enhancing your travel applications with accurate and timely flight-related data.
We'll cover the following...
Amadeus Air APIs allow us to perform a number of flight-related operations. These operations include searching for flights, booking flights, inquiring about flight status, searching for airports, and so on. In this lesson, we’ll cover the following Air APIs:
- Flight offers search
- On-demand flight status
- Airport and city search
The Flight Offers Search API
The Flight Offers Search API allows us to search for the best flight deals for our trips. It provides the cheapest flights from more than 500 airlines for our given trip itineraries. We can search for flights across two or more cities based on our trip itinerary and duration. This API provides detailed information for each proposed flight including the airline name for the flight, price, and other important flight information.
Note: This API ...
Input Parameters
Parameter | Type | Category | Description |
| string | required | This is our access token. |
| string | required | This is a 3-character departure city/airport code. |
| string | required | This is a 3-character destination city/airport code. |
| string (date) | required | This is the date of departure. |
| integer | required | This is the number of adults (12 years or older). Its default value is |
| string (date) | optional | This is the date of return. Only one-way itineraries are returned if this parameter is not specified. |
| integer | optional | This is the number of children (2 to 12 years old). |
| integer | optional | This is number of infants (upto 2 years old). |
| string | optional | This specifies the cabin type where the traveler will spend the majority of the flight time. Its available values are |
| string | optional | This is a comma-separated list of 2 to 3-character airline codes to consider. |
| string | optional | This is a comma-separated list of 2 to 3-character airline codes to not consider. |
| boolean | optional | This is |
| string | optional | This is a 3-character code of preferred currency for the flight offer. |
| integer | optional | This is the maximum price per traveler. |
| integer | optional | This is the maximum number of flight offers to retrieve. Its default value is |
Enter the values for originLocationCode ...