API to get historical flights from an airline

I am trying to get historical flight (Last month) schedules and locations for an airline. Which API I can use to get that details? Thanks for any suggestions.

I think it depends on the tools you’re using.

Did you read here?

https://flightaware.com/commercial/flightxml/documentation2.rvt

Thanks foxhunter. I just need the details of the flight schedule and route locations taken by those flights. From the API documentation, it is not clear which calls gets me these details for the historical data.

FlightXML is not designed for accessing historical flights. https://flightaware.com/commercial/flightxml/faq.rvt#history