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:

'https://xxx.freshdesk.com/api/v2/tickets?per_page=100&include=stats&updated_since=2023-01-01T00:00:00Z'

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,
Jacob