Twitter Search



Response fields

Twitter is an American microblogging and social networking service on which users post and interact with messages known as 'tweets'. Registered users can post, like and retweet tweets, but unregistered users can only read them. Users access Twitter through its website interface or its mobile-device application software ('app'), though the service could also be accessed via SMS before April 2020. Note: Safe search settings allow you to filter your search results to exclude potentially sensitive content and/or accounts you have muted or blocked from your results.You can adjust this setting by logging in to your account on twitter.com and using the Search from the web instructions. Your settings will apply to searches on the web, in your iOS app, and in Twitter for Android.

NameTypeDescription
id
Default
stringUnique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
text
Default
stringThe content of the Tweet.
To return this field, add tweet.fields=text in the request's query parameter.
created_atdate (ISO 8601)Creation time of the Tweet.
To return this field, add tweet.fields=created_at in the request's query parameter.
author_idstringUnique identifier of this user. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
You can obtain the expanded object in includes.users by adding expansions=author_id in the request's query parameter.
conversation_idstringThe Tweet ID of the original Tweet of the conversation (which includes direct replies, replies of replies).
To return this field, add tweet.fields=conversation_id in the request's query parameter.
in_reply_to_user_idstringIf this Tweet is a Reply, indicates the user ID of the parent Tweet's author. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
You can obtain the expanded object in includes.users by adding expansions=in_reply_to_user_id in the request's query parameter.
referenced_tweetsarrayA list of Tweets this Tweet refers to. For example, if the parent Tweet is a Retweet, a Retweet with comment (also known as Quoted Tweet) or a Reply, it will include the related Tweet referenced to by its parent.
To return this field, add tweet.fields=referenced_tweets in the request's query parameter.
referenced_tweets.typeenum (retweeted, quoted, replied_to)Indicates the type of relationship between this Tweet and the Tweet returned in the response: retweeted (this Tweet is a Retweet), quoted (a Retweet with comment, also known as Quoted Tweet), or replied_to (this Tweet is a reply).
referenced_tweets.idstringThe unique identifier of the referenced Tweet.
You can obtain the expanded object in includes.tweets by adding expansions=referenced_tweets.id in the request's query parameter.
attachmentsobjectSpecifies the type of attachments (if any) present in this Tweet.
To return this field, add tweet.fields=attachments in the request's query parameter.
attachments.media_keysarrayList of unique identifiers of media attached to this Tweet. These identifiers use the same media key format as those returned by the Media Library.
You can obtain the expanded object in includes.media by adding expansions=attachments.media_keys in the request's query parameter.
attachments.poll_idsarrayList of unique identifiers of polls present in the Tweets returned. These are returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
You can obtain the expanded object in includes.polls by adding expansions=attachments.polls_ids in the request's query parameter.
geoobjectContains details about the location tagged by the user in this Tweet, if they specified one.
To return this field, add tweet.fields=geo in the request's query parameter.
geo.coordinatesobjectContains details about the coordinates of the location tagged by the user in this Tweet, if they specified one.
To return this field, add tweet.fields=geo.coordinates in the request's query parameter.
geo.coordinates.typestringDescribes the type of coordinate. The only value supported at present is Point.
geo.coordinates.coordinatesarrayA pair of decimal values representing the precise location of the user (latitude, longitude). This value be null unless the user explicitly shared their precise location.
geo.place_idstringThe unique identifier of the place, if this is a point of interest tagged in the Tweet.
You can obtain the expanded object in includes.places by adding expansions=geo.place_id in the request's query parameter.
context_annotationsarrayContains context annotations for the Tweet.
To return this field, add tweet.fields=context_annotations in the request's query parameter.
context_annotations.domainobjectContains elements which identify detailed information regarding the domain classification based on Tweet text.
context_annotations.domain.idstringContains the numeric value of the domain.
context_annotations.domain.namestringDomain name based on the Tweet text.
context_annotations.domain.descriptionstringLong form description of domain classification.
context_annotations.entityobjectContains elements which identify detailed information regarding the domain classification bases on Tweet text.
context_annotations.entity.idstringUnique value which correlates to an explicitly mentioned Person, Place, Product or Organization
context_annotations.entity.namestringName or reference of entity referenced in the Tweet.
context_annotations.entity.descriptionstringAdditional information regarding referenced entity.
entitiesobjectContains details about text that has a special meaning in a Tweet.
To return this field, add tweet.fields=entities in the request's query parameter.
entities.annotationsarrayContains details about annotations relative to the text within a Tweet.
entities.annotations.startintegerThe start position (zero-based) of the text used to annotate the Tweet.
entities.annotations.endintegerThe end position (zero based) of the text used to annotate the Tweet.
entities.annotations.probabilitynumberThe confidence score for the annotation as it correlates to the Tweet text.
entities.annotations.typestringThe description of the type of entity identified when the Tweet text was interpreted.
entities.annotations.normalized_textstringThe text used to determine the annotation type.
entities.urlsarrayContains details about text recognized as a URL.
entities.urls.startintegerThe start position (zero-based) of the recognized URL within the Tweet.
entities.urls.endintegerThe end position (zero-based) of the recognized URL within the Tweet.
entities.urls.urlstringThe URL in the format tweeted by the user.
entities.urls.expanded_urlstringThe fully resolved URL.
entities.urls.display_urlstringThe URL as displayed in the Twitter client.
entities.urls.unwound_urlstringThe full destination URL.
entities.hashtagsarrayContains details about text recognized as a Hashtag.
entities.hashtags.startintegerThe start position (zero-based) of the recognized Hashtag within the Tweet.
entities.hashtags.endintegerThe end position (zero-based) of the recognized Hashtag within the Tweet.
entities.hashtags.tagstringThe text of the Hashtag.
entities.mentionsarrayContains details about text recognized as a user mention.
entities.mentions.startintegerThe start position (zero-based) of the recognized user mention within the Tweet.
entities.mentions.endintegerThe end position (zero-based) of the recognized user mention within the Tweet.
entities.mentions.usernamestringThe part of text recognized as a user mention.
You can obtain the expanded object in includes.users by adding expansions=entities.mentions.username in the request's query parameter.
entities.cashtagsarrayContains details about text recognized as a Cashtag.
entities.cashtags.startintegerThe start position (zero-based) of the recognized Cashtag within the Tweet.
entities.cashtags.endintegerThe end position (zero-based) of the recognized Cashtag within the Tweet.
entities.cashtags.tagstringThe text of the Cashtag.
withheldobjectContains withholding details for withheld content.
To return this field, add tweet.fields=withheld in the request's query parameter.
withheld.copyrightbooleanIndicates if the content is being withheld for on the basis of copyright infringement.
withheld.country_codesarrayProvides a list of countries where this content is not available.
withheld.scopeenum (tweet, user)Indicates whether the content being withheld is a Tweet or a user.
public_metricsobjectEngagement metrics for the Tweet at the time of the request.
To return this field, add tweet.fields=public_metrics in the request's query parameter.
public_metrics.retweet_countintegerNumber of times this Tweet has been Retweeted.
public_metrics.reply_countintegerNumber of Replies of this Tweet.
public_metrics.like_countintegerNumber of Likes of this Tweet.
public_metrics.quote_countintegerNumber of times this Tweet has been Retweeted with a comment (also known as Quote).
non_public_metricsobjectNon-public engagement metrics for the Tweet at the time of the request. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
To return this field, add tweet.fields=non_public_metrics in the request's query parameter.
non_public_metrics.impression_countintegerNumber of times the Tweet has been viewed. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
non_public_metrics.url_link_clicksintegerNumber of times a user clicks on a URL link or URL preview card in a Tweet. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
non_public_metrics.user_profile_clicksintegerNumber of times a user clicks the following portions of a Tweet - display name, user name, profile picture. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
organic_metricsobjectOrganic engagement metrics for the Tweet at the time of the request. Requires user context authentication.
organic_metrics.impression_countintegerNumber of times the Tweet has been viewed organically. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
organic_metrics.url_link_clicksintegerNumber of times a user clicks on a URL link or URL preview card in a Tweet organically. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
organic_metrics.user_profile_clicksintegerNumber of times a user clicks the following portions of a Tweet organically - display name, user name, profile picture. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
organic_metrics.retweet_countintegerNumber of times the Tweet has been Retweeted organically.
organic_metrics.reply_countintegerNumber of replies the Tweet has received organically.
organic_metrics.like_countintegerNumber of likes the Tweet has received organically.
promoted_metricsobjectEngagement metrics for the Tweet at the time of the request in a promoted context. Requires user context authentication.
promoted_metrics.impression_countintegerNumber of times the Tweet has been viewed when that Tweet is being promoted. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
promoted_metrics.url_link_clicksintegerNumber of times a user clicks on a URL link or URL preview card in a Tweet when it is being promoted. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
promoted_metrics.user_profile_clicksintegerNumber of times a user clicks the following portions of a Tweet when it is being promoted - display name, user name, profile picture. This is a private metric, and requires the use of OAuth 1.0a User Context authentication.
promoted_metrics.retweet_countintegerNumber of times this Tweet has been Retweeted when that Tweet is being promoted.
promoted_metrics.reply_countintegerNumber of Replies to this Tweet when that Tweet is being promoted.
promoted_metrics.like_countintegerNumber of Likes of this Tweet when that Tweet is being promoted.
possibly_sensitivebooleanIndicates if this Tweet contains URLs marked as sensitive, for example content suitable for mature audiences.
To return this field, add tweet.fields=possibly_sensitive in the request's query parameter.
langstringLanguage of the Tweet, if detected by Twitter. Returned as a BCP47 language tag.
To return this field, add tweet.fields=lang in the request's query parameter.
reply_settingsstringShows who can reply to this Tweet. Fields returned are everyone, mentionedUsers, and following.
To return this field, add tweet.fields=reply_settings in the request's query parameter.
sourcestringThe name of the app the user Tweeted from.
To return this field, add tweet.fields=source in the request's query parameter.
includesobjectIf you include an expansion parameter, the referenced objects will be returned if available.
includes.tweetsarrayWhen including the expansions=referenced_tweets.id parameter, this includes a list of referenced Retweets, Quoted Tweets, or replies in the form of Tweet objects with their default fields and any additional fields requested using the tweet.fields parameter, assuming there is a referenced Tweet present in the returned Tweet(s).
includes.usersarrayWhen including the expansions=author_id parameter, this includes a list of referenced Tweet authors in the form of user objects with their default fields and any additional fields requested using the user.fields parameter.
includes.placesarrayWhen including the expansions=geo.place_id parameter, this includes a list of referenced places in Tweets in the form of place objects with their default fields and any additional fields requested using the place.fields parameter, assuming there is a place present in the returned Tweet(s).
includes.mediaarrayWhen including the expansions=attachments.media_keys parameter, this includes a list of images, videos, and GIFs included in Tweets in the form of media objects with their default fields and any additional fields requested using the media.fields parameter, assuming there is a media attachment present in the returned Tweet(s).
includes.pollsstringWhen including the expansions=attachments.poll_ids parameter, this includes a list of polls that are attached to Tweets in the form of poll objects with their default fields and any additional fields requested using the poll.fields parameter, assuming there is a poll present in the returned Tweet(s).
errorsobjectContains details about errors that affected any of the requested Tweets. See Status codes and error messages for more details.
Twitter Search

goglobalwithtwitterbanner

  • Using Twitter
    • Tweets
  • Managing your account
    • Login and password
  • Safety and security
    • Security and hacked accounts
  • Rules and policies
    • Twitter Rules and policies

Search for specific Tweets, accounts, or ongoing conversations

Twitter Search Syntax

Trump

There are many ways to use search on Twitter. You can find Tweets from yourself, friends, local businesses, and everyone from well-known entertainers to global political leaders. By searching for topic keywords or hashtags, you can follow ongoing conversations about breaking news or personal interests.

We give you control over what you see in your search results through safe search mode. These filters exclude potentially sensitive content, along with accounts you have muted or blocked, from your search results. You have the option to turn it off, or back on, at any time (instructions outlined below).

Search

When you’re signed in to your account on the web, using search is slightly different than using it via the Twitter for iOS or Android apps. You can find instructions for both below.

  1. Tap the Explore tab
  2. At the top of the page, enter your search into the search box and tap Search.
  3. Your results will show a combination of Tweets, photos, accounts, and more.
  4. Filter your results by tapping Top, Latest, People, Photos, Videos, News, or Broadcasts (located at the top of your search results).
  5. Tap the filter icon in the search bar to refine your results according to All people or People you follow, and Everywhere or Near you.

Note: Safe search settings allow you to filter your search results to exclude potentially sensitive content and/or accounts you have muted or blocked from your results. You can adjust this setting by logging in to your account on twitter.com and using the Search from the web instructions. Your settings will apply to searches on the web, in your iOS app, and in Twitter for Android.

Twitter Search
  1. Tap the Explore tab
  2. Enter your search into the search box and tap Search.
  3. Your results will show a combination of Tweets, photos, accounts, and more.
  4. Filter your results by tapping Top, Latest, People, Photos, Videos, or News, or Periscopes (located at the top of your search results).
  5. Tap the filter icon in the search bar to refine your results according to From anyone or People you follow, and Anywhere or Near you.
  6. Tap the overflow icon to access Search settings. Safe search allows you to filter your search results with two options:
    1. Excluding potentially sensitive content from results: To disable this setting, uncheck the box next to Hide sensitive content to turn off.
    2. Excluding accounts you have muted or blocked: To disable this setting, uncheck the box next to Remove blocked and muted accounts to turn off.

Note: To learn more about tailoring your search options and results, read our article about advanced search.

Benji Schwartz Instagram

  1. Enter your search query into the search box at the top of the page.
  2. Your results will show a combination of Tweets, photos, accounts, and more.
  3. Filter your results by clicking Top, Latest, People, Photos, or Videos (located at the top of your search results).
  4. Click the Search filters options to filter your results From anyone or People you follow, and Anywhere or Near you. Additionally, you can select a different language or perform an Advanced search.
  5. Click the more icon on the right hand side of the search results page for more options:
    1. Click Search settings to disable (or re-enable) safe search to filter your search results:
    2. Safe search settings include Hide sensitive content and Remove blocked and muted accounts. Uncheck the box to disable either setting, you may re-enable at any time. Note: This setting may take several minutes to go into effect.
    3. Click Save this search to save your search term.
    4. Click Embed this search to create a search widget for a website. Find more information in our developer documentation.
Twitter

Twitter Search Twitter Login

Bookmark or share this article