Uberverbosity
Uberverbosity

Reputation: 13

Amadeus flight-offers search GET API won't return flights for AA

I'm learning to use the Amadeus API...
I'm able to search flights using "flight-offers-search", but as the title states, if I restrict results to American Airlines (AA), it returns nothing.
There absolutely are AA flights from DFW on the specified day (I'm on one), so not sure why it would fail.
So far I am unable to return ANY flights on ANY day, if "includedAirlineCodes=AA" is specified. What is special about American Airlines? What am I missing?

url <- "https://test.api.amadeus.com/v2/shopping/flight-offers?originLocationCode=DFW&destinationLocationCode=SAN&departureDate=2021-09-03&travelClass=ECONOMY&adults=1&max=5&currencyCode=USD&includedAirlineCodes=AA"

Upvotes: 0

Views: 458

Answers (1)

anna_ts
anna_ts

Reputation: 721

Content from American Airlines is not included in the Self-Service APIs as described in the API overview.

Upvotes: 2

Related Questions