Get a list of all deals' stage change time

I’m looking for a way to generate a report of how many deals entered each stage in my pipeline in a certain timeline.
The best for me would be to get a response with something like:

deal_id, stage_id, time_change_to_this_stage

Most of the API’s I looked into are providing grouped data already (like movements between stages) and this is not what I’m looking for.

Thanks for the feedback. While we look into this, we believe that the following wiki might be useful