postmanamadeusskyscanner

Amadeus API does not show available direct flights


I am testing the Amadeus API with Postman (and with python as well). When I set for a certain date (2024-03-02) only direct flights from BUD (Budapest) to LHR (London Heathrow) it shows 0 results. I checked on skyscanner and of course there are 3 direct British Airways flights for that day.

So, I would like to use amadeus api to get ONLY the direct flights as result. According to amadeus there are no direct flights (which is definitely not true as shown by skyscanner)!

Could someone please explain what is wrong with my code when I would like to get only the direct flights via the amadeus api?

Postman screenshot

SkyScanner screenshot


Solution

  • In the API docs, the following statement appears:

    Please also be aware that our test environment is based on a subset of the production, if you are not returning any results try with big cities/airports like LON (London) or NYC (New-York).

    You are using the subdomain test-api.amadeus.com for Amadeus, but skyscanner.net for Skyscanner; so, the most likely explanation is that the live flights in Skyscanner production do not exist in the Amadeus test environment.

    Based on this analysis, there is nothing "wrong with your code" as you suspect - you cannot rely on the same data being in two completely separate environments.