DEV Community

google-play-scraper only returns a few hundred reviews? Paginate with continuation tokens (3,000 reviews in ~4 seconds)

Written by AppData Lab with AI assistance. Code was run and the numbers below were measured on 2026-11-30.

A common surprise: you pip install google-play-scraper, call reviews_all() on an app with hundreds of thousands of reviews, and get back a few hundred. The library is not broken. Google Play serves reviews in pages behind a continuation token, and how far you get depends on how you page, sort and filter. Here is a small, explicit loop that gives you control instead.

Page manually with continuation_token

from google_play_scraper import Sort, reviews
import csv, time

APP_ID = "com.spotify.music"
TARGET = 3000
rows, token = [], None
while len(rows) < TARGET:
    batch, token = reviews(
        APP_ID,
        lang="en",
        country="us",
        sort=Sort.NEWEST,
        count=200,
        continuation_token=token,
    )
    if not batch:
        break
    rows.extend(batch)
    time.sleep(0.5) # be polite
    if token is None or token.token is None:
        break
print(len(rows), "reviews")

When I ran the same pagination logic (the Node version of this library) against Spotify, US, newest first: 3,000 reviews, 20 pages, about 3.7 seconds.

Things that silently cut your results short

  • lang and country act as filters. Reviews are bucketed by language/region. If you need everything, loop over the markets you care about (us, gb, in, de …) and de-duplicate on reviewId.
  • Sort order matters. Sort.NEWEST pages the furthest and is what you want for monitoring. MOST_RELEVANT tends to stop earlier.
  • Filter by date yourself and stop early. With NEWEST, once a review's at is older than your cutoff, you can break - no need to page the whole history every day.
  • Star filter: filter_score_with=1 returns only 1-star reviews, handy for bug triage.

Save to CSV

fields = ["reviewId", "userName", "score", "at", "content", "thumbsUpCount", "reviewCreatedVersion", "replyContent"]
with open("reviews.csv", "w", newline="", encoding="utf-8") as f:
    w = csv.DictWriter(f, fieldnames=fields, extrasaction="ignore")
    w.writeheader()
    w.writerows(rows)

App Store side

Apple has a public RSS feed per country: https://itunes.apple.com/us/rss/customerreviews/page=1/id=324684580/sortby=mostrecent/json (pages 1-10, 50 each). Reading both sortby=mostrecent and sortby=mosthelpful and de-duplicating gets you up to roughly 1,000 recent reviews per country.

If you don't want to maintain this I packaged both stores (pagination, de-dup across sort orders, date/star/keyword filters, simple topic tags like crash, pricing, login) as an Apify actor: App Store & Google Play Reviews - pay per result (0.25 USD / 1,000 reviews), CSV/Excel/JSON export, schedulable. The script above is free and works fine for one-off pulls; the actor is for when you want it scheduled for several apps and markets.

Please respect Google Play's terms and only collect what you need; review text can contain usernames, so avoid republishing personal data.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.