Gathering historic ticket data

Hi ive been tasked to exctract historic ticket information using the API and have some questions about how to approach it the best way.

I tried to exctract this information using the following URL:


This make me hit the 300 page limit so i need a work around.
My idea is to divide the time period into smaller agments, such as fetching one day at the time.
I cant seem to get the query right when trying this and have the embedded “include = stats”.

Tips on how to best do this is very welcomed.

Kind regards,