How to get Google Play reviews in Python

Checked on 2026-11-19.

Google has an official API for Play Store reviews, but it is for the apps you publish, and it only goes back one week. For the reviews of any other app there is an open-source library that reads Google Play itself, and an HTTP API that does the reading for you.

1. The official API, for your own apps

If the app is yours, start here. The Google Play Developer API has a Reply to Reviews API: its documentation names a quota and no price, and it is the only route that also lets you answer a review. You authorise with an OAuth client or a service account that has the "Reply to reviews" permission, and list the reviews with one GET request.

Python
# pip install google-auth requests
from google.oauth2 import service_account
from google.auth.transport.requests import AuthorizedSession

credentials = service_account.Credentials.from_service_account_file(
    "service-account.json",
    scopes=["https://www.googleapis.com/auth/androidpublisher"],
)
session = AuthorizedSession(credentials)

# com.example.app stands for the package name of your own app
url = "https://androidpublisher.googleapis.com/androidpublisher/v3/applications/com.example.app/reviews"
params = {"maxResults": 100}
while True:
    page = session.get(url, params=params, timeout=30).json()
    for review in page.get("reviews", []):
        comment = review["comments"][0]["userComment"]
        print(comment["starRating"], comment["text"])
    token = page.get("tokenPagination", {}).get("nextPageToken")
    if not token:
        break
    params["token"] = token

The address, the parameters and the scope are those of Google's reference for reviews.list; the credential lines follow the google-auth user guide. A page holds 10 reviews by default and up to 100 with maxResults. Each review has the star rating, the text and the time it was last modified, and some also have the reviewer's device, Android version and app version. If you have replied, your reply is the second element of comments.

Where it stops: Google's documentation is plain about it. The API covers the production version of your app. It "shows only the reviews that include comments", so a star rating without text is not in it. And the page says: "You can retrieve only the reviews that users have created or modified within the last week." For everything older Google points to the CSV download in the Play Console. The quota is 200 GET requests an hour for each app. It describes access to your app only: nothing in it reads the reviews of an app that belongs to somebody else.

2. The google-play-scraper library, for any app

google-play-scraper is an open-source Python package that crawls the Google Play Store, so it works for any public app and needs no key and no account. This is the call from its README, with another app in it:

Python
# pip install google-play-scraper
from google_play_scraper import Sort, reviews

result, continuation_token = reviews(
    "com.spotify.music",
    lang="en",                # defaults to "en"
    country="us",             # defaults to "us"
    sort=Sort.NEWEST,         # defaults to Sort.NEWEST
    count=100,                # defaults to 100
    filter_score_with=None,   # defaults to None, which means every score
)
for review in result:
    print(review["score"], review["at"], review["content"])

# The next 100: hand the token back
more, _ = reviews("com.spotify.music", continuation_token=continuation_token)

Each review is a dict with reviewId, userName, userImage, content, score, thumbsUpCount, reviewCreatedVersion, at, replyContent, repliedAt and appVersion. A second function, reviews_all, keeps going until it has every review. The README warns what that means: Google Play hands out at most 200 reviews per request, so a very popular app takes "tens of thousands of http requests".

Where it breaks: it reads the store's website, not an API, so it works until Google changes something and then needs a new release. The newest release on PyPI is 1.2.7, from June 2024. Its issue tracker has open reports worth knowing before you rely on it: reviews() has no timeout and returns normally when a request fails, so a network error looks like an app with no more reviews (#252); Google Play sometimes answers with status 429 (#240); and country does not change which reviews come back (#234). Compare the number of reviews you got with the number you asked for.

3. An HTTP API, for any app

With Pipefetch the reviews of an app are one HTTPS request with one key, and there is no scraper to keep working.

Python
import os
import requests

res = requests.get(
    "https://pipefetch.com/v1/apps/reviews",
    params={"app": "com.spotify.music", "lang": "en", "limit": 100, "sort": "newest"},   # or "rating", "helpfulness"
    headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
    timeout=90,
)
if res.status_code == 404:
    print("No reviews in this language, or no such app on Google Play")  # not charged
else:
    res.raise_for_status()
    data = res.json()["data"]
    for review in data["reviews"]:
        print(review["rating"], review["updatedAt"], review["appVersion"], review["text"])
        if review["reply"]:
            print("  reply:", review["reply"]["text"])

Know its limits before you choose it. It returns up to 100 reviews per request, from the top of the order you pick (newest, highest rating or most helpful), and there are no further pages: it is for following what users say now, not for downloading the whole history of an app. Every started 20 reviews you ask for cost 1 credit, so limit=100 is 5 credits, also when the app has fewer reviews. It reads Google Play only; an App Store id is refused with a 400, and App Store reviews are not available. It is not an official Google API, and Pipefetch is not affiliated with Google.

Most requests take 2 to 9 seconds, an app without reviews in the language asked for costs nothing, and a new account has 100 free credits and needs no card. The reference lists every field, including helpful votes, Google's own topic tags and the date of the developer's reply.

Which one should you use?

You needUse
This week's reviews of your own app, or to reply to themThe official API
The full review history of your own appThe CSV download in the Play Console
Every review of somebody else's app, on your own computergoogle-play-scraper, checking what it returns
The newest or most helpful reviews of a list of apps, on a scheduleAn HTTP API such as Pipefetch

The language decides which reviews you get

Google Play keeps a separate set of reviews for each language. With Pipefetch, lang=de returns other reviews than lang=en, not translations of the same ones, and a set can hold reviews written in other languages. To cover several languages, send one request for each. The library takes the language in its lang argument.

The official API works differently. It lists the recent reviews of your app, gives the language of the reviewer's device in reviewerLanguage when it has one, and translates the text when you pass translationLanguage.

Reviews are personal data

Every route returns the public name of the person who wrote a review. The library adds the avatar, and Pipefetch the avatar and the account id Google Play shows. Under laws such as the GDPR that is personal data, whichever route fetched it. Keep what your purpose needs, which is usually the rating, the text, the date and the app version, and do not build lists of reviewers.

For the listing itself (rating, installs, price, version), see the guide on app details from the App Store and Google Play.

Try it with 100 free credits. No card needed. No scraper to build or maintain. Get an API key or read the docs.

Every source

YouTube

Instagram

Websites

TikTok

Facebook

Google

Threads

LinkedIn

Steam

X

Pinterest

Airbnb

Real estate

Keywords

Job boards

Eventbrite

Shopify stores

Public tenders

All guides