Flight Availabilities Search
POST https://test.api.amadeus.com/v1/shopping/availability/flight-availabilities
The Amadeus Flight Availability API provides a list of flights with seats for sale on a given itinerary and the quantity of seats available in different fare classes. In addition to availability, the API also returns carrier and aircraft information, the departure and arrival terminals, schedule, and route.
Request Body
{"originDestinations"=>[{"id"=>"1", "originLocationCode"=>"BOS", "destinationLocationCode"=>"MAD", "departureDateTime"=>{"date"=>"{{departureDate}}", "time"=>"21:15:00"}}], "travelers"=>[{"id"=>"1", "travelerType"=>"ADULT"}, {"id"=>"2", "travelerType"=>"CHILD"}], "sources"=>["GDS"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
X-HTTP-Method-Override | string |