Navigating the Post-API Dilemma | Search Engine Results Pages Present a Biased View of Social Media Data

Amrit Poudel, Tim WeningerarXiv 2024

The "Golden Age" of computational social science—where researchers could freely drink from the data firehose of Twitter and Reddit—came to a screeching halt in 2023. With the discontinuation of free API access, researchers now face a "Post-API Dilemma." Can we bypass these paywalls by using Search Engine Results Pages (SERP) as a proxy for social media data? A new paper from researchers at the University of Notre Dame suggests the answer is a resounding "no."

TL;DR

As social media platforms lock their APIs behind steep paywalls, researchers are turning to search engines like Google to sample social media data. This study reveals that Search Engine Results Pages (SERP) provide a highly biased, "sanitized" view of reality, favoring popular users and positive sentiment while systematically excluding political, vulgar, and niche topical content.

What Problem Does This Paper Address?

For over a decade, APIs were the lifeblood of internet research, enabling studies on everything from public health discourse to coordinated influence campaigns. The sudden shift to paid models (e.g., $5,000/month for a million tweets) has effectively priced out most academic labs.

Researchers have begun exploring SERP-APIs (tools that programmatically query search engines) as a cost-effective alternative. However, search engines aren't neutral mirrors; they are designed to surface "authoritative" and "relevant" content. This paper investigates whether the data returned by Google is a representative sample of the underlying social media platforms or a distorted reflection that could lead to invalid scientific conclusions.

Figure 1: Problem definition. We ask: does Google- SERP provide an unbiased sample of social media data? Is Google-SERP a valid replacement for social media APIs?

Methods

The authors performed a large-scale comparative analysis between "ground truth" (nonsampled) datasets and data retrieved via the ScaleSERP API. They evaluated four dimensions of bias:

  1. Popularity Analysis: Comparing user follower counts and post scores.
  2. Token-level Analysis: Using Rank Turbulence Divergence (RTD)—an information-theoretic metric—to identify which words are over- or under-represented in search results compared to the full dataset. This is particularly useful for text data, which typically follows a Zipfian distribution.
  3. Sentiment Analysis: Applying the TimeLMs model (a RoBERTa-based transformer) to compare the emotional tone of the two corpora.
  4. Topical Coverage: Using Sentence Transformers to embed posts into a high-dimensional semantic space, then projecting them into 2D using UMAP to visualize "topical gaps."

Datasets

  • Reddit Ground Truth: A nearly complete snapshot from Pushshift (Jan 2023) containing ~36 million posts and ~253 million comments.
  • Twitter/X Ground Truth: A dataset of ~14.6 million tweets related to COVID-19 (March–April 2020).
  • SERP Data: ~1.3 million Reddit results and ~70,000 Twitter results obtained by querying Google with 1,000 stratified keywords extracted from the ground truth sets.

Key Insights and Ideas

  • The "Sanitization" Effect: Google acts as a filter. Terms related to vulgarity, pornography, and intense political conflict are significantly less likely to appear in SERP results compared to the raw social media feed.
  • Popularity Bias is Extreme: Search engines are optimized for authority. If you use SERP, you aren't studying the "average" user; you are studying the elite.
  • Sentiment Skew: SERP results are statistically more positive or neutral. The "anger" and "negativity" often associated with social media are dampened in search results.
  • Topical Blind Spots: The UMAP projections revealed vast "blue swaths"—entire clusters of conversation present in the raw data that never make it to the first few pages of Google.
Figure 2: Signed Rank Turbulence Divergence (RTD) for the most divergent terms comparing results from SERP against Twitter/X (on left) and against Reddit (on right). Terms that are more likely to appear in SERP results are listed on top (red). Terms that are more likely to appear in the nonsampled social media data are listed on the bottom (blue). We find that the social media posts returned by SERP are far more likely to contain innocuous terms compared to the nonsampled social media data.

Key Results

  • Popularity: The mean Reddit score in SERP was 550.69, compared to just 48.97 in the ground truth. For Twitter, the mean follower count in SERP was ~545,000, while the ground truth average was ~63,000.
  • Divergence: The RTD scores (where higher means more divergence) were 0.47 for Reddit and 0.70 for Twitter—both significantly higher than the random control (~0.30), indicating a non-random sampling bias.
  • Sentiment: As shown in Figure 5, SERP results for Twitter showed a dramatic shift from negative to neutral sentiment compared to the raw feed.
Figure 5: Sentiment Probabilities and their 95% confi- dence intervals. SERP results were statistically more- positive or more-neutral than the nonsampled social media data.
  • Cost: While SERP is much cheaper ($59 per 1M posts vs. $5,000 for Twitter), the authors conclude the "price" is a highly biased sample that makes it unsuitable for most social science research.

Limitations and Future Work

The authors acknowledge that SERP results are non-deterministic; ranks change over time, which could impact reproducibility. Furthermore, it is unclear if the bias stems entirely from Google's ranking algorithm or if the social media platforms themselves provide a biased subset to search engine crawlers.

Future work could compare SERP results against web-scraped data to see if "scrapers" (which mimic human browsing) suffer from the same sanitization as search engine indexes. For now, the message is clear: if you use Google to study social media, you're only seeing the version of the internet that Google wants you to see.

Summary updated

Abstract

Recent decisions to discontinue access to social media APIs are having detrimental effects on Internet research and the field of computational social science as a whole. This lack of access to data has been dubbed the Post-API era of Internet research. Fortunately, popular search engines have the means to crawl, capture, and surface social media data on their Search Engine Results Pages (SERP) if provided the proper search query, and may provide a solution to this dilemma. In the present work we ask: does SERP provide a complete and unbiased sample of social media data? Is SERP a viable alternative to direct API-access? To answer these questions, we perform a comparative analysis between (Google) SERP results and nonsampled data from Reddit and Twitter/X. We find that SERP results are highly biased in favor of popular posts; against political, pornographic, and vulgar posts; are more positive in their sentiment; and have large topical gaps. Overall, we conclude that SERP is not a viable alternative to social media API access.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
RedditGoogle SERP via ScaleSERPRank Turbulence Divergence (RTD)0.47Search Result Analysis · keywords=1000
Source quote
L148: Site │ RTD (SERP vs Social Media) Reddit │ 0.47
Twitter/XGoogle SERP via ScaleSERPRank Turbulence Divergence (RTD)0.70Search Result Analysis · keywords=1000
Source quote
L149: Twitter │ 0.70
BibTeX
@misc{poudel2024navigating,
  author = {Amrit Poudel and Tim Weninger},
  title = {{Navigating the Post-API Dilemma | Search Engine Results Pages Present a Biased View of Social Media Data}},
  year = {2024},
  eprint = {2401.15479},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.15479},
}

Loading related content...

Figure