Is there a maximum radius for a geocoding parameter in the twitter search API?

The twitter search API documentation https://dev.twitter.com/rest/public/search shows the following example URL to search for all tweets within a 1 km radius around -22.912214, - 43.230182:

https://api.twitter.com/1.1/search/tweets.json?q=&geocode=-22.912214,-43.230182,1km&lang=pt&result_type=recent

If I wanted to search all tweets within a radius of 100,000 km, for example

https://api.twitter.com/1.1/search/tweets.json?q=&geocode=-22.912214,-43.230182,100000km&lang=pt&result_type=recent

would that mean that I get all the tweets from all over the world? Or is there a maximum radius that can be provided to the twitter search API?

+4
source share
2 answers

It seems 1 mile.

In [20]: len(api.search(geocode="-22.912214,-43.230182,1mi"))
Out[20]: 15

In [21]: len(api.search(geocode="-22.912214,-43.230182,10000km"))
Out[21]: 15

In [22]: len(api.search(geocode="-22.912214,-43.230182,1.3km"))
Out[22]: 14
0
source

All Articles