Search code examples
amadeus

Update to flight inspiration API: Is only the JSON response changing? Query unchanged?


I got an email today about upcoming changes to the Flight Inspiration and Flight Destination searches. It sounds as if the JSON response will now be more granular with results showing specific airports. But I am unclear about whether I have to change my POST requests to use airport codes. Will requests continue to be city codes, or now only airport code requests, or are both acceptable? Again, from the linked blog post, it sounds as if only the response is changing, but API POST requests will remain the same, i.e., city codes. Can someone confirm that?


Solution

  • At this new version, the Flight Inspiration Search and Flight Cheapest Date APIs will still accept city code as input but will return airport codes at the destination field rather than city codes. Thus you won't have to change anything in the query parameter of the APIs.