Getting tweets from the past week once search api


I’m using the Twitter Search API ( to retrieve tweets for specific search terms from Twitter. It seems however that i have to first determine the lowest tweet id from step 1. Use this lowest id to set the ‘max_id’ parameter in a second GET search request (see best practices on using ‘max_id’). The request will return tweets which all have a lower id than the ones from step 1.

repeating this work until you get all the tweets published in the last 6-9 days. isn’t gainful !!

is there any way to do this one time