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.
# 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"] = tokenThe 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:
# 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.
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 need | Use |
|---|---|
| This week's reviews of your own app, or to reply to them | The official API |
| The full review history of your own app | The CSV download in the Play Console |
| Every review of somebody else's app, on your own computer | google-play-scraper, checking what it returns |
| The newest or most helpful reviews of a list of apps, on a schedule | An 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.
APIs used in this guide
-
1 credit
App Store & Google Play API
Rating, price, version, release notes and description of an app in the App Store or Google Play, with installs on Google Play.
GET /v1/apps/details -
1 credit / 20
Google Play Reviews API
Reviews of an Android app on Google Play: star rating, text, app version, helpful votes and the developer's reply.
GET /v1/apps/reviews
More App stores guides
Guides for other sources
Every source
YouTube
- How to get a YouTube transcript in Python
- How to get a YouTube transcript in Node.js
- YouTube API quota exceeded: what the error means and how to fix it
- How to find a YouTube channel ID from a handle or URL
- How to download YouTube subtitles as SRT or VTT
- youtube-transcript-api RequestBlocked or IpBlocked: why it happens and how to fix it
- How to get YouTube comments in Python
- How to search YouTube from Python
- How to list a YouTube channel's videos in Python
- How to summarize a YouTube video with an LLM in Python
- How to get YouTube transcripts and video stats in Google Sheets
- How to get YouTube video views and likes in Python
- How to get YouTube transcripts in n8n, Make and Zapier
- LangChain YoutubeLoader fails on a server: why, and a loader that works
- How to get a YouTube channel's subscriber count in Python
- How to give Claude or Cursor access to YouTube (MCP server)
- How to get YouTube comments in Node.js
- How to analyze YouTube comments with an LLM in Python
- How to list a YouTube channel's Shorts in Python
- How to search YouTube from JavaScript
- How to get an Instagram follower count in Python
- Instagram Basic Display API alternatives: what to use after the shutdown
- Instaloader 401 Unauthorized, 429 and "Login required": what to do
- How to calculate an Instagram engagement rate in Python
- How to get an Instagram follower count in Node.js
- How to get Instagram follower counts in Google Sheets
- How to get Instagram Reel views in Python
Websites
- Clearbit Logo API alternatives: get a company logo from its domain
- How to extract email addresses from a website in Python
- How to turn a web page into Markdown in Python
- How to detect what a website is built with, in Python
- How to get the contact emails and phone numbers of websites in Google Sheets
- How to build a LangChain tool that reads web pages and searches Google
- How to turn a web page into Markdown in JavaScript for RAG
- How to extract social media links from a website in Python
- How to get a website's favicon in Python
- How to check robots.txt in Python before you fetch a page
TikTok
- How to get a TikTok video's views and likes in Python
- How to get the comments of a TikTok video in Python
- How to get a TikTok follower count in Python
- TikTok Research API: who can get access, and what to do if you cannot
- How to get TikTok video views, likes and shares in Node.js
- How to get TikTok views, likes and follower counts in Google Sheets
- How to get a Facebook Page's posts without app review
- Is there a Facebook Marketplace API?
- Facebook Groups API alternatives after its removal in 2024
- How to get a Facebook Page's follower count and contact details in Python
- How to get Google search results in Python
- pytrends 429 TooManyRequestsError: what it means and what to do
- How to get Google Trends data in Python
- Why is Wyoming first in Google Trends?
- How to get Google search results in Node.js
- How to get Google search results into Google Sheets
- How to give an LLM live Google results with tool calling
Threads
- How to get LinkedIn company data in Python
- How to search LinkedIn jobs from Python
- How to get a LinkedIn company page's latest posts in Python