Search code examples
rjsonapitestingtwitter

Twitter API limit on live streaming tweets through the "rtweet" R package


I am currently live streaming tweets via the stream_tweets command based on a pre defined query, provided by the "rtweet" package. My only concern is whether I have some sort of limits from Twitter`s API?

Note that I am a beginner with regards to APIs, thus this question may be quite foolish.

Thank you


Solution

  • Update The stream_tweets section of the documentation references the link below, which states you have a rate limit of 10 requests per 60 seconds.

    https://developer.twitter.com/en/docs/twitter-api/enterprise/decahose-api/api-reference/decahose

    Original The rtweet documentation says the rate limit for the standard search API is 18,000 tweets per fifteen minutes. This is on page 5 in the bearer_token function section.

    https://cran.r-project.org/web/packages/rtweet/rtweet.pdf