How to get number of issues in each status for each day without exceeding rate limit?

I want to plot a graph to show for each period, how many issues are in each of the workflow statuses. The only way to get the data is to use the JQL:

project = <project_name> AND (status WAS "<status>" ON <date>) AND type not in (epic, sub-task)

However, I need to iterate over many e.g. 60 day period, and so I hit the rate limit error:

The user has sent too many requests in a given amount of time

Is there another way to fetch the data and achieve the same graph I need without hitting the API server so many times?

Note: I am running my NodeJS application locally using Basic Authentication in the REST API calls.