Google Twitter Results API

/ Home / Google Search API / Twitter Results

The Google Twitter Results API allows a user to scrape the Twitter results of a Googles search. SerpApi is able to scrape, extract, and make sense of this information. When we encounters Twitter results, we add them to our JSON output. We are able to extract: title, link, displayed_link and tweets. From tweets we are able to extract: link, snippet, thumbnail and published_date.

Twitter results for "Donald Trump"

Twitter results for "Donald Trump"

JSON Example

{
  ...
  "twitter_results": {
    "title": "Donald J. Trump (@realDonaldTrump) · Twitter",
    "link": "https://twitter.com/realDonaldTrump?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor",
    "displayed_link": "https://twitter.com/realDonaldTrump",
    "tweets": [
      {
        "link": "https://twitter.com/realDonaldTrump/status/1244584449309892609?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Nancy Pelosi and the Democrats delayed the Workers Help/Stimulus Bill by over a week, trying to add real “junk” into the Bill. Got some bad things, having nothing to do with those affected by the Virus, included. Republicans need their votes until we WIN BACK THE HOUSE IN 2020!",
        "published_date": "3 hours ago"
      },
      {
        "link": "https://twitter.com/realDonaldTrump/status/1244493463355342848?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Will be interviewed on @foxandfriends at 7:55 A.M. USA STRONG!",
        "published_date": "9 hours ago"
      },
      {
        "link": "https://twitter.com/realDonaldTrump/status/1244409814064775169?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "thumbnail": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAHMAzQMBIgACEQEDEQH/xAAcAAABBAMBAAAAAAAAAAAAAAAFAgMEBgABBwj/xABLEAABAwIEAwQFBwcHDQAAAAABAAIDBBEFEiExBkFREyIyYQcUcYGhI0KRkpOx0RUzUnJzg8EmNTZDU2LwFyREVGOCoqPCw+Hi8f/EABkBAAMBAQEAAAAAAAAAAAAAAAECAwAEBf/EACQRAAMAAgICAQQDAAAAAAAAAAABAhExAyE....",
        "published_date": "14 hours ago"
      },
      {
        "link": "https://twitter.com/realDonaldTrump/status/1244409785681883137?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS0uqVFSMi2pYNPRHq-Iy9kTBjwHIQlkrhIMW5reY5DidoIiDog_NAIBg&s=10",
        "published_date": "14 hours ago"
      },
      {
        "link": "https://twitter.com/realDonaldTrump/status/1244368213133144065?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Will be starting The White House news conference at 5:30 P.M. Eastern.",
        "published_date": "17 hours ago"
      }
    ]
  },
  ...
}