Which API to use

suppose I have flight name (like CI5235) and departure date and I want to know the names of the air ports, exact times of departure and arrival and the craft type.

What API/s should I use ?

Thanks

This would be best handled by the AirlineFlightSchedules endpoint.

FXML2 version
FXML3 version

Given a date range, airline, and flight number the endpoint will return a list of matching flights that includes scheduled departure, arrival and airports. The two different FXML versions will return the same set of data. The difference will be in billing (FXML2 is pay-per-usage and FXML3 is pre-paid).