Google Play Scraper: App Details & Ratings, Tested
A tested google play scraper guide: JSON-LD app details from the static page, per-country ratings, and three routes to reviews with what robots.txt allows.

On this page
Duolingo’s Google Play page shows 4.7 stars to a US visitor and 4.8 to a French one. I measured both within the same minute on October 29, 2026, and neither is the number Google’s own JSON-LD ships: 4.74610710144043. A google play scraper has to decide which of those numbers it wants, for which country, before the first request goes out.
This guide maps where every public Play field actually lives, what robots.txt and Google’s terms say about each source, and three routes to reviews with the trade-offs measured. Everything ran from a home connection on October 29, 2026. Google changes this storefront often; re-test before you build on it.
What a google play scraper can reach (tested 2026-10-29)
Play serves app data in four places, and robots.txt treats them differently. All rules below are from the live play.google.com/robots.txt, User-agent: * section, fetched the same day.
| Data | Where it lives | robots.txt |
|---|---|---|
| Name, tagline, icon, category, content rating, developer name and support link, price, average rating and count | Server-rendered on the app page, plus one JSON-LD block | Allowed |
| Full “About this app” description | Server-rendered on the app page | Allowed |
| Star histogram and the review list | Fetched by the page’s JavaScript when you open the reviews dialog | Disallowed (/_, /store/getreviews) |
| Data safety details | Separate page | Disallowed (/store/apps/datasafety*) |
| Developer page | /store/people/details |
Disallowed |
| Reviews, stars, and replies for an app you own | Official Play Developer API | Official channel, OAuth, not scraping |
The web page carries no download count anywhere in its HTML, and no version number either; I grepped the raw document for both.
The rules: robots.txt and Google’s terms
App pages under /store/apps/details are open to crawlers. Everything review-shaped is not: robots.txt disallows /_ (the batchexecute endpoint Route 2 calls), /store/getreviews, and /store/xhr, the browser-facing endpoints.
The terms split in two. Google Play’s own terms contain no scraping clause; I checked the current text (fetched October 29, 2026) for scrape, automated, extract, and crawl, and none appear. That is a real difference from Apple, whose Media Services Terms ban scraping outright. Google’s general Terms of Service still apply to Play, and they forbid “abuse, harm, interfere with, or disrupt our services or systems”, with “bypassing our systems or protective measures” and “reverse engineering our services or underlying technology” as named examples. Route 2 below sits closer to that line than Route 1 does.
I am not your lawyer. For the general framework, see robots.txt and web scraping, terms of service and scraping, and is web scraping legal. The defensible end of the spectrum is reading public pages slowly, which is Route 1 and the details scrape.
App details and the exact rating, from one static request
The static app page needs no JavaScript and no login. It ships a 1.3 MB HTML document (1,330,387 bytes for Duolingo) with the full description server-rendered and exactly one application/ld+json block, of type SoftwareApplication.
Magpie is a local Go binary: no account, no API key, and the data never leaves your machine. It is free to build and run (AGPL-3.0-or-later, dual-licensed with a commercial option):
git clone https://github.com/motherlodelab/magpie.git
cd magpie && go build -o magpie ./cmd/magpie
magpie scrape "https://play.google.com/store/apps/details?id=com.duolingo&hl=en&gl=us" \
--page-format markdown --format json --out duo.json
The run took 1.75 seconds. The JSON output carries the cleaned description (4,084 characters for Duolingo) and a structured_data sidecar with the whole SoftwareApplication record. Abridged from the real response:
{
"@type": "SoftwareApplication",
"name": "Duolingo: Learn Languages",
"operatingSystem": "ANDROID",
"applicationCategory": "EDUCATION",
"contentRating": "Everyone",
"author": {"@type": "Person", "name": "Duolingo",
"url": "https://www.duolingo.com/help/support-request"},
"aggregateRating": {"ratingValue": "4.74610710144043",
"ratingCount": "51399793"},
"offers": [{"@type": "Offer", "price": "0", "priceCurrency": "USD"}]
}
Every field a details scraper usually wants is in there: category, content rating, developer, price, and the rating at full float precision. The page’s visible badge rounds to one decimal (“4,8 étoiles sur 5” on the French page); JSON-LD gives you 4.822042465209961. Two quirks worth knowing:
authorhas@type: Personeven for companies. schema.org expects Organization here; Google ships Person on every page I checked (Duolingo, Mojang). Parse thename, ignore the type.- The
descriptionin JSON-LD is the store’s short tagline, not the full description. The full text is the cleaned markdown body.
Paid apps put the price in the same offers block: Minecraft returns "price": "6.99", "priceCurrency": "USD" with "applicationCategory": "GAME_ARCADE" and "contentRating": "Everyone 10+".
What the static page does not carry: the star histogram, the review list, version, and downloads. None appear in the HTML; I grepped the 1.3 MB raw document for all four and got nothing.
Pin the storefront or get the visitor’s one
Without hl and gl parameters, Google localizes the page by IP. From this box the bare URL returned the French storefront: lang="fr", French title, and a different rating. Same app, same minute, three storefronts:
| Request | aggregateRating from JSON-LD |
|---|---|
hl=en&gl=us |
4.74610710144043, 51,399,793 ratings |
| bare URL (French IP) | 4.822042465209961, 51,399,792 |
hl=en&gl=de |
4.647520542144775, 51,399,791 |
The average is per-country; the count is not. The three requests returned 51,399,791 to 51,399,793 ratings, a live counter drifting by one or two. Pin both parameters in every URL your scraper builds, or your “trend line” will measure where your server lives. The libraries below make lang and country explicit arguments for exactly this reason.
For more on that sidecar, see how to extract JSON-LD and the JSON-LD glossary entry.
Route 1: the reviews dialog (19 picks, none recent)
On the page, “Ratings and reviews” is a server-rendered shell. The histogram and the review cards arrive only after JavaScript runs, when you click “See all reviews”.
The dialog’s default view shows 19 reviews. They are the store’s showcase, the same way Apple’s embedded reviews are: dates from December 5, 2024 to September 16, 2026, every one carrying a helpful-vote count between 378 and 8,335. The newest actual review of Duolingo is hours old; the newest of these 19 is six weeks old. Full text, author name, date, and the helpful count are all there, and the text is complete, not truncated.
Magpie can click that button in a real browser and hand back the cleaned result. Save this as reviews.actions:
# open the reviews dialog
scroll bottom
wait 2000
eval-js () => document.evaluate("//span[text()='See all reviews']",document,null,9,null).singleNodeValue.closest("button").click()
wait 6000
magpie scrape "https://play.google.com/store/apps/details?id=com.duolingo&hl=en&gl=us" \
--render browser --actions reviews.actions \
--page-format markdown --format json --out duo-reviews.json
The cleaned markdown grows from 4,084 to 10,829 characters and gains the 19 reviews in plain text:
Ashley Mac Donald
- Flag inappropriate
October 26, 2025
The new energy system makes the free membership pretty much impossible
to use. [...]
2,612 people found this review helpful
(Abridged; real output.) I ran this twice with identical results. Two limits to know before you script it: --render browser without the click returns the same 4,084 characters as the static scrape, and the XPath targets visible button text, so it breaks if Google renames the label. It is a screen-scrape of a dialog, nothing more.
Route 2: the batchexecute RPC the libraries wrap
For real review volume you skip the HTML entirely and call Play’s internal RPC endpoint directly: POST https://play.google.com/_/PlayStoreUi/data/batchexecute, with a f.req payload that names rpcid oCPfdb and carries sort order, count, a score filter, and a device id. No key, no login. The two libraries below wrap this one endpoint.
Two maintained options:
- Python,
google-play-scraper1.2.7 (PyPI, released June 7, 2024, zero dependencies, 1,022 GitHub stars). Its repo has been quiet since August 2024, and the endpoint still answered first try on October 29, 2026. That is the one argument for boring libraries. - Node,
google-play-scraper10.1.4 (npm, published October 17, 2026, 2,989 GitHub stars), same endpoint, actively maintained.
The Python version, as far as I ran it:
from google_play_scraper import reviews, Sort
result, continuation = reviews(
"com.duolingo", lang="en", country="us",
sort=Sort.NEWEST, count=200,
)
200 newest US reviews came back in 0.5 seconds, with a continuation token for the next page. That token is the difference between this route and the dialog: pagination runs newest-first past any limit I tested. A count of 1,000 came back in 1.0 seconds with the token still live; for Obsidian those 1,000 reviews span 305 days. Each review carries reviewId, userName, content, score, thumbsUpCount, appVersion, the timestamp at, and, when the developer has answered, replyContent and repliedAt. The reply fields are the ones the App Store page route famously drops; Play returns them on each review object.
Score distribution of those 200, for scale: 141 five-star, 22 four, 12 three, 4 two, 21 one. And this is what “unbounded” means in time, for three apps:
| App | 200 newest US reviews span | One-star in the 200 |
|---|---|---|
| ChatGPT (com.openai.chatgpt) | 1 h 03 m | 9 |
| Duolingo (com.duolingo) | 6 h 38 m | 21 |
| Obsidian (md.obsidian) | 68 days | 30 |
For a top-10 app, 200 reviews is a morning. If you poll daily you lose nothing; if you poll weekly on ChatGPT, entire rating cycles never reach your dataset. For a niche app the same 200 covers months.
Now the rules again. The endpoint lives under /_, which robots.txt disallows, and the review paths are what /store/getreviews names. A single magpie scrape of an app page does not consult robots.txt at all; Magpie checks it only in crawl and research, treating a one-URL scrape as a user-directed fetch. The RPC route is different in kind: your script pages through hundreds of reviews automatically, which is crawler behavior under any plain reading. Go slowly (the Python library exposes no delay parameter, so pacing between pages is on you), and decide with both facts in hand.
Route 3: the official Developer API for your own app
If the app is yours, stop scraping. The Play Developer API returns reviews over an official, authenticated endpoint:
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/reviews
Query parameters: token and startIndex for pagination, maxResults (the REST reference documents no maximum), and translationLanguage. The response carries the review text, star score, device metadata, and the developer reply, and reviews/{reviewId}:reply posts a reply back. Authorization is OAuth 2 with the androidpublisher scope, normally a service account linked to your Play Console.
I hold no Play developer app, so I could not run this one end to end; the endpoint shape and parameters above come from Google’s reference (last updated May 21, 2025). The one path I could not exercise is whether very old reviews stay reachable over time. What it is not: a source for other developers’ reviews. Google scopes it to apps your account owns.
# skeleton, not runnable as-is: needs YOUR access token from OAuth
curl -s -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
"https://androidpublisher.googleapis.com/androidpublisher/v3/applications/com.example.myapp/reviews?maxResults=100"
Watching a listing for changes
Sometimes the reviews matter less than the moment the listing shifts. Magpie’s watch mode stores a snapshot of the cleaned page and reports a diff only when it changes:
magpie watch "https://play.google.com/store/apps/details?id=com.duolingo&hl=en&gl=us" \
--once --every 24h
# cron mode; add --webhook <url> to POST a change event
Honest scope: the cleaned text of a Play page is the description, so this watch fires when the listing copy changes, not when the rating moves. The rating never enters the cleaned text; it lives only in the JSON-LD sidecar. If you need rating alerts, re-scrape the page on a schedule and compare aggregateRating in the sidecar, which is three lines of jq away from the same command. Once a day per app is plenty; the storefront updates on its own cadence, not yours.
For the text-side pipeline after collection, the review sentiment analysis guide covers LLM scoring, and review monitoring covers the cross-site picture. iOS is a different storefront with different rules; see the App Store review guide.
Picking a route
- App details, price, rating: the static page scrape. One request, robots-allowed, JSON-LD sidecar, exact per-storefront rating. Magpie does this in one command.
- The reviews shoppers see: Route 1’s dialog, via the click action. Nineteen heavily-upvoted picks, fine for “what does the shop window look like”, useless for trends.
- Recent reviews of competitors: Route 2’s RPC through a library. Unbounded, newest-first, replies included, robots-disallowed, so politeness and judgment are yours.
- Your own app, every review: Route 3. Official, complete, and the only route with reply posting.
- You’d rather rent: Apify lists several Play scraper actors, and ScrapingBee and Oxylabs sell managed Play endpoints. I didn’t test any of them; the free routes above covered everything I needed.
FAQ
Is it legal to scrape Google Play? Google Play’s own terms contain no scraping clause, unlike Apple’s. Google’s general terms forbid bypassing systems or protective measures and reverse engineering, which reaches the internal RPC route. robots.txt allows app pages. Small-scale public-page reading is the defensible end; commercial volume needs a lawyer, not a blog post.
Why does the rating differ between countries?
Google computes the displayed average per storefront. The JSON-LD rating follows the gl parameter, while the rating count is near-identical across storefronts (51.4 million for Duolingo in all three I checked). Pin hl and gl, or your data measures your server’s location.
Does Google Play have an official API for reviews? For your own apps: yes, the Play Developer API’s reviews endpoint, with pagination, translation handling, and reply posting. For other developers’ apps: no. That gap is why the free libraries call the internal batchexecute RPC instead.
How do I get the newest Play reviews? The RPC route with the newest sort. The page dialog serves its default picks regardless of recency: my Duolingo dialog pull had a newest review of September 16, 2026, while the RPC’s newest review was from the day before I ran it.
Can I scrape Google Play without a library? For app details, yes: one GET on the details URL, then read the JSON-LD block. For reviews, no shortcut exists that skips JavaScript or the RPC; the static HTML contains zero review text.


