SerpBase
Back to Blog

Google Play App API: Get an Android App's Rating and Details as JSON

Look up any Android app on Google Play by package name: title, developer, rating, number of ratings, category, age rating and price by country. Tested request.

November 26, 2026
By SerpBase Team3 min read

Short answer: send an Android package name to /google/play/app and you get that app's Google Play listing as JSON — name, developer, rating, number of ratings, category, age rating, price and icon, for the country and language you ask for.

Google's own Play Developer API only covers apps you publish. For anyone else's app, the store page is the source, and this endpoint reads it for you.

The request

curl -X POST 'https://api.serpbase.dev/google/play/app' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"id":"com.whatsapp","gl":"us","hl":"en"}'

The id is the package name, the part after id= in a Play Store URL.

What comes back

We ran this on 26 November 2026. WhatsApp for the US came back in about 1 second: developer WhatsApp LLC, rating 4.63 from 248,543,437 ratings, category COMMUNICATION, age rating Everyone, price 0 USD.

Country and language change the answer. Spotify with "gl":"de","hl":"de" returned the German title Spotify: Musik und Podcasts, a German description, the age rating USK ab 12 Jahren, price in EUR and a rating of 4.17. The same app without a country returned 4.68.

The fields in product:

FieldWhat it holds
id, titlePackage name and store title
brand, brand_urlDeveloper name and website
descriptionThe short description under the title
rating, reviews_countAverage rating and number of ratings
categories[].namePlay category, e.g. MUSIC_AND_AUDIO
app.age_ratingContent rating as shown in that country
priceamount, currency, display; 0 for free apps
mediaThe app icon
urlThe store page that was read

Python: ratings for a list of apps in several countries

import time, requests

APPS = ["com.whatsapp", "com.spotify.music"]
MARKETS = [("us", "en"), ("de", "de")]

for app in APPS:
    for gl, hl in MARKETS:
        r = requests.post(
            "https://api.serpbase.dev/google/play/app",
            headers={"X-API-Key": "YOUR_API_KEY"},
            json={"id": app, "gl": gl, "hl": hl},
            timeout=60,
        ).json()
        if r["status"] != 0:
            print(app, gl, "failed:", r.get("error"))
            continue
        p = r["product"]
        print(app, gl, round(p["rating"], 2), p["reviews_count"], p["title"])
        time.sleep(1)

Things that trip people up

  • Always send gl. In our test without it, the price came back in a currency we had not asked for (PEN). With gl set, currency, age rating and rating follow that country.
  • Ratings differ by country. Spotify was 4.17 in Germany and 4.68 without a country on the same day. Compare like with like.
  • rating is a long decimal (4.631962299346924) and reviews_count is a string. Round and convert.
  • reviews_count is the number of ratings, the big figure next to the stars, not the number of written reviews.
  • One app per request. To find package names for a keyword, search first.

Related endpoints

Google Play search returns the apps ranking for a keyword, with their package names. For iOS see the App Store endpoint.

Cost and limits

Each request costs 1 credit; failed requests are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.