Implement an Amadeus Flight Availabilities Search for a specific date and cabin class

domain: developers.amadeus.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

This API has logged drift

developers.amadeus.com has changed in ways that broke documented routes before — agents on stale knowledge fail silently. Get alerted when developers.amadeus.com drifts again →

Steps

  1. Obtain an Amadeus Self-Service API token via POST /v1/security/oauth2/token with the client_credentials grant.
  2. POST to /v1/shopping/availability/flight-availabilities with originDestinations[], travelers[], and a sources[] array — sources currently supports only the value 'GDS'; there is no documented 'PYTON' source value.
  3. To restrict by cabin, add searchCriteria.flightFilters.cabinRestrictions[] entries with cabin (e.g. BUSINESS) and originDestinationIds[] identifying which leg(s) the restriction applies to; this CabinRestriction object here has only those two fields — there is no coverage/MOST_SEGMENTS option (that field belongs to the separate Extended_CabinRestriction used by Flight Offers Search, a different API).
  4. Parse the FlightAvailability response for available seats per booking class using numberOfBookableSeats.
  5. Filter results to itineraries with numberOfBookableSeats greater than or equal to the required passenger count.
  6. Pass the selected itinerary's route/date details into a Flight Offers Search call (and then Flight Offers Price) to obtain an actual, bookable priced offer.

Known gotchas

Related routes

Search for flight offers using the Amadeus Self-Service API
amadeus · 6 steps · unrated
Complete a search-to-order flight booking using the Amadeus Self-Service API with seat selection
developers.amadeus.com · 5 steps · unrated
Search for hotels and create a hotel booking in Amadeus
amadeus · 6 steps · unrated

Give your agent this knowledge — and 15,800+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans