Search/tweets: searching urls brings back 0 results



We try to bring back the recent results for a url using the search api but we keep getting 0 results even if we see recent results via the public search.
Here is the link:

Here is the search via the website bringing back recent results:

here is the api search done in ruby:

url = ""
encoded_url = CGI::escape(url)
options = {result_type: "recent", lang: nil, count: 15}
@api = => token, :oauth_token_secret => secret), options)

We manage to get results on other urls but it seems like for some domain names we always get 0 results, for example:

we already know that the search api is not supposed to return all tweets but having always 0 results for these urls seems like an error.

Thank you in advance for you response.


Hi there, this might be related. The API is giving less tweets, a lot less.


Same here.

I regularly searched my website ( on Twitter, but it suddenly didn’t return any results.

Other websites are properly shown on Twitter search, so I guess some URLs are blocked by Twitter for some reason?



I am Using Twitter search API.

endpoint :{my_encoded_shortened_url}.

When I am using twitter search tool( to search any URL, it is searching and giving me matching tweets. But when I am making api call to above enpoint with bearer token. Its not giving me any results. And I made sure that the shared tweets are not 7 days older.

I have spent 3-4 days to figure out the solution but no luck so far. Please help.



Hi all,

How does it come there’s no solution on this topic yet? I’m currently experiencing the very same problem too. What is funny is that it does work when the tweets have been published from certain user accounts, whereas it doesn’t for others… I can find the targeted URL from Twitter home search but get no results at all when using the API.

Any clue will be really appreciated.


Can you provide specific examples of queries you’re making?

Note that the standard search API does not index all Tweets.


Hi @andypiper, thanks for your quick response. We have published a test url with JohnAppleSeedR account:

And we can find this URL by searching on Twitter site:

However, I’m getting 0 results when looking it up with either Standard tweet search or Premium sandbox:

curl -X GET \
  -H 'Authorization: Bearer myBearerToken
    "statuses": [],
    "search_metadata": {
        "completed_in": 0.013,
        "max_id": 1090614659286130689,
        "max_id_str": "1090614659286130689",
        "query": "",
        "refresh_url": "?since_id=1090614659286130689&",
        "count": 15,
        "since_id": 0,
        "since_id_str": "0"

curl -X POST \ \
  -H 'Authorization: Bearer myBearerToken \
  -d '{
	"query": "https%3A//"
    "results": [],
    "requestParameters": {
        "maxResults": 100,
        "fromDate": "201812310000",
        "toDate": "201901301425"

Surprisingly, after tweeting with my account @jacmba, I get successful response with Standard search:

    "statuses": [
            "created_at": "Wed Jan 30 14:32:31 +0000 2019",
            "id": 1090618767040745473,
            "id_str": "1090618767040745473",
            "text": "",
            "truncated": false,
            "entities": {
                "hashtags": [],
                "symbols": [],
                "user_mentions": [],
                "urls": [
                        "url": "",
                        "expanded_url": "",
                        "display_url": "…",
                        "indices": [
            "metadata": {
                "iso_language_code": "und",
                "result_type": "recent"
            "source": "<a href=\"\" rel=\"nofollow\">Twitter Web Client</a>",
            "in_reply_to_status_id": null,
            "in_reply_to_status_id_str": null,
            "in_reply_to_user_id": null,
            "in_reply_to_user_id_str": null,
            "in_reply_to_screen_name": null,
            "user": {
                "id": 218206652,
                "id_str": "218206652",
                "name": "Jacinto MC",
                "screen_name": "jacmba",
                "location": "Las Palmas",
                "description": "",
                "url": null,
                "entities": {
                    "description": {
                        "urls": []
                "protected": false,
                "followers_count": 25,
                "friends_count": 70,
                "listed_count": 0,
                "created_at": "Sun Nov 21 18:31:08 +0000 2010",
                "favourites_count": 0,
                "utc_offset": null,
                "time_zone": null,
                "geo_enabled": true,
                "verified": false,
                "statuses_count": 181,
                "lang": "es",
                "contributors_enabled": false,
                "is_translator": false,
                "is_translation_enabled": false,
                "profile_background_color": "022330",
                "profile_background_image_url": "",
                "profile_background_image_url_https": "",
                "profile_background_tile": false,
                "profile_image_url": "",
                "profile_image_url_https": "",
                "profile_link_color": "0084B4",
                "profile_sidebar_border_color": "A8C7F7",
                "profile_sidebar_fill_color": "C0DFEC",
                "profile_text_color": "333333",
                "profile_use_background_image": true,
                "has_extended_profile": false,
                "default_profile": false,
                "default_profile_image": false,
                "following": null,
                "follow_request_sent": null,
                "notifications": null,
                "translator_type": "none"
            "geo": null,
            "coordinates": null,
            "place": null,
            "contributors": null,
            "is_quote_status": false,
            "retweet_count": 0,
            "favorite_count": 0,
            "favorited": false,
            "retweeted": false,
            "possibly_sensitive": false,
            "lang": "und"
    "search_metadata": {
        "completed_in": 0.029,
        "max_id": 1090618767040745473,
        "max_id_str": "1090618767040745473",
        "query": "",
        "refresh_url": "?since_id=1090618767040745473&",
        "count": 15,
        "since_id": 0,
        "since_id_str": "0"


It looks like the other account is either not public, or the Tweet has been deleted, as I am unable to find it or click on those links now.