I am trying to do a full archive search for one of my projects in postman using different parameters for a specific time range and I am getting no data. I am not sure what is the issues as I did using less parameters and I did got some data for the same time range but using most of the parameter I am getting no data. I am confused on what I am doing wrong

I do have an academic track access and below is an example of the URL created by postman for getting the data

https://api.twitter.com/2/tweets/search/all?start_time=2021-01-01T00:00:00Z&end_time=2021-01-01T11:59:59Z&max_results=500&tweet.fields=created_at,entities,geo,id,in_reply_to_user_id,lang,possibly_sensitive&expansions=&place.fields=country,country_code,full_name,geo,id,name,place_type&query=%23cryptocurrency%23blockchain%23crypto%23ethereum%23mining%23cryptocurrencymarket%23newscryptocurrency%23coin%23btc%23eth&user.fields=created_at

1 Like

You have expansions= empty which may be affecting it. Either way, I don’t recommend using postman for anything other than debugging individual calls. To use academic access give twarc a try: you can use it as a command line tool or as a library

1 Like

Hi, I tried using twarc to further get the results that I want but am still facing issues. Every time I run the script it keeps on going for days and then in the end it crashes which has resulted in using 90% of my monthly limit in the academic access account. First I used a time filter to get 2 years worth of data all at once and it crashed then I reduced to 1 year then to 1 month but in all the cases it keeps of crashing. I figure it might be because of low ram that I have on my device so wanted to know if there is another way to work around this or ma I doing something wrong in the code.

Here is the code that I am using to get the desired results I want.

Following up in the other thread here: