You’ll want to do a GET /flights/search with a query argument of -origin LFPG -airline FDX
For your example, it’s not necessary to specify a date range since that endpoint is only recent flights within a one-day timespan anyways.
The Python code you supplied doesn’t seem to correspond to your stated intent, since it is using the ‘airports’ endpoint to search between two airports and filtering by aircraft type not operator.
Thank you very much!
I took the destination airport to limit the resultset
the plane type is B-763 used by FedEx once the airline was not listed (or I missed in the spec).
Anyway, giving it a try.
By any chance, so you know if it is possible to pull the historical data for at least a year for all FedEx outbound from CDG?
Historical flight access via GET /history/flights/{ident} only works if you know the specific idents of the flights already, and that does not let you query just by airport+operator.
However, you can request a custom report from one of our data specialists and they can generate a CSV report for you containing just that airport+operator combination for whatever timespan you want.
The overview section of the documentation tells you how to load it into postman:
AeroAPI is defined using the OpenAPI Spec 3.0, which means it can be easily imported into tools like Postman. To get started try importing the API specification using Postman’s instructions. Once imported as a collection only the “Value” field under the collection’s Authorization tab needs to be populated and saved before making calls.