Google Twitter Results API

The Google Twitter Results API allows a user to scrape the Twitter results of a Google search. SerpApi is able to scrape, extract, and make sense of this information. When SerpApi 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.

API Examples

Results for: Naval

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"
      },
      ...
    ]
  },
  ...
}

Results for: Cristiano Ronaldo

For some searches, Twitter results consist of multiple authors.

Results for: Cristiano Ronaldo

JSON Example

{
  "twitter_results": {
    "title": "cristiano ronaldo on Twitter",
    "link": "https://twitter.com/search?q=cristiano+ronaldo&ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Esearch",
    "displayed_link": "https://twitter.com/search/cristiano+ronaldo",
    "tweets": [
      {
        "author": {
          "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQd8-qSYxanT_8dvGi4C_RZ-4XKRlldwSYEX0t2xXFiCkTAJ45X_CaB&s=10",
          "twitter_blue": true,
          "name": "ESPN FC",
          "handle": "@ESPNFC"
        },
        "link": "https://twitter.com/ESPNFC/status/1629938330665201670?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Cristiano Ronaldo is at the Jake Paul vs. Tommy Fury fight in Saudi Arabia 👀 Watch now on @ESPNPlus PPV 🍿",
        "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ2ngObTwfbJ_tMuPkpBkuxweYRGkcZm9JRGOdkVixxCIsGZDLpxFFfhA&s=10",
        "published_date": "1 day ago"
      },
      {
        "author": {
          "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR2sP3ME3MmTQCZqxYNNVEw-FUi798flhHB9elnENrvcXdHmdW6-TOJ&s=10",
          "twitter_blue": true,
          "name": "Cristiano Ronaldo",
          "handle": "@Cristiano"
        },
        "link": "https://twitter.com/Cristiano/status/1629552417086767107?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Special night ⚽️⚽️⚽️ Well done guys!💛💙",
        "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcScQ-I_3-4YLIg9XXT-ycjK4MEklSmz4in15H-ZrBAYmuiaufy1-n1xPWmS3OOx_X1hqYwJJw&s=10",
        "published_date": "2 days ago"
      },
      {
        "author": {
          "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR2sP3ME3MmTQCZqxYNNVEw-FUi798flhHB9elnENrvcXdHmdW6-TOJ&s=10",
          "twitter_blue": true,
          "name": "Cristiano Ronaldo",
          "handle": "@Cristiano"
        },
        "link": "https://twitter.com/Cristiano/status/1629210482807562242?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
        "snippet": "Ready for tomorrow!💪🏼",
        "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfVtu-enHhehizqszQEwGe1OecMwF9XNSCUqXCjselHhkiTZXepSC845iUBbeSQo4JAYCQag&s=10",
        "published_date": "3 days ago"
      },
      ...
    ]
  },
  ...
}

Single Twitter results 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 results 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"
      }
    ]
  },
  ...
}