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 "Naval"

Twitter results for "Naval"

JSON Example

{
  ...
    "twitter_results": {
    "title": "Naval (@naval) · Twitter",
    "link": "https://twitter.com/naval?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor",
    "displayed_link": "https://twitter.com/naval",
    "tweets": [
      {
        "link": "https://twitter.com/naval/status/1390216106384584704?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "The three big decisions - what you do, where you live, and who you’re with.",
        "published_date": "14 hours ago"
      },
      {
        "link": "https://twitter.com/naval/status/1390074153521360899?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Is Light a Particle or a Wave? nav.al/light",
        "thumbnail": "<URL to image>",
        "published_date": "1 day ago"
      },
      {
        "link": "https://twitter.com/naval/status/1389445839702040582?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Happiness is evident more by its absence than by its presence.",
        "published_date": "3 days ago"
      },
      {
        "link": "https://twitter.com/naval/status/1389439077879975938?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Without your story, who would you be?",
        "published_date": "3 days ago"
      },
      {
        "link": "https://twitter.com/naval/status/1389064024378122241?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Pain is a fact. Suffering is a choice.",
        "published_date": "4 days ago"
      }
    ]
  },
  ...
}

Single Twitter result for "Uniswap"

Sometimes Google decides to incorporate single Twitter result in between organic results. It contains information such as tweet author, original tweet snippet, link, and publish date.

Single Twitter result for "Uniswap"

JSON Example

{
  ...
    "twitter_results": {
    "title": "Uniswap Labs 🦄 (@Uniswap) · Twitter",
    "link": "https://twitter.com/Uniswap?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor",
    "displayed_link": "https://twitter.com/Uniswap",
    "tweets": [
      {
        "link": "https://twitter.com/Uniswap/status/1390012757970411520?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "1/ 🦄 We are thrilled to announce that Uniswap v3 is now live on Ethereum mainnet! app.uniswap.org has been updated to support v3. uniswap.org/blog/launch…",
        "published_date": "1 day ago"
      }
    ]
  },
  ...
}