Skip to content

A tool to scrape Google Play Store app search results with a simple API. Get app information like title, rating, author, category, downloads, description, and more.

Notifications You must be signed in to change notification settings

serpapi/google-play-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Google Play Store Scraper

Google Play Store scraper

Google Play Store Scraper - A tool to scrape Google Play Store app search results with a simple API. Get app information like title, rating, author, category, downloads, description, and more.

We provide the results in a structured JSON format, eliminating the need for parsing, coding, proxies, or any other web scraping headaches for developers.

How to scrape Google Play Store?

Using a simple GET request, you can retrieve Google Play Store search results:

https://serpapi.com/search.json?engine=google_play&q=chatgpt&api_key=YOUR_API_KEY
  • Register for free at SerpApi to get your API Key
  • q parameter: defines the search query you want to search on Google Play Store.
  • gl parameter (optional): defines the country code for localized results.
  • hl parameter (optional): defines the language code for results.

Code examples

Here are some code examples based on your favorite programming languages.

cURL Integration

curl --get https://serpapi.com/search \
 -d engine="google_play" \
 -d q="chatgpt" \
 -d api_key="secret_api_key"

Python Integration

Step 1: Create a new main.py file.

Step 2: Install requests package with:

pip install requests

Step 3: Add this code to your file:

import requests
SERPAPI_API_KEY = "YOUR_SERPAPI_API_KEY"

params = {
    "api_key": SERPAPI_API_KEY,
    "engine": "google_play",
    "q": "chatgpt"
}

search = requests.get("https://serpapi.com/search", params=params)
response = search.json()
print(response)

If you're only interested in the organic_results, you can print them from the response directly:

print(response["organic_results"])

JavaScript Integration

Step 1: Install the SerpApi JavaScript package:

npm install serpapi

Step 2: Create a new index.js file.

Step 3: Add this to your file:

const { getJson } = require("serpapi");
getJson({
  api_key: API_KEY,
  engine: "google_play",
  q: "chatgpt"
}, (json) => {
  console.log(json["organic_results"]);
});

Other Programming Languages

While you can use our APIs using a simple GET request with any programming language, you can also see our ready-to-use libraries here: SerpApi Integrations.

Google Play Store Scraper Parameters

Please find the parameters for the Google Play Store API below:

Name Description Requirement
q Parameter defines the search query Optional
Localization
gl Parameter defines the two-letter country code (default: us) Optional
hl Parameter defines the two-letter language code (default: en) Optional
Filters
apps_category Parameter defines the store category (e.g., games, shopping, art and design) Optional
store_device Parameter defines the device type: phone (default), tablet, tv, chromebook, watch, or car Optional
age Parameter defines the age subcategory: AGE_RANGE1 (up to 5), AGE_RANGE2 (6-8), AGE_RANGE3 (9-12) Optional
chart Parameter to show top charts (returns up to 50 results) Optional
Pagination
next_page_token Parameter to retrieve subsequent page results Optional
section_page_token Parameter for safer pagination of individual sections Optional
see_more_token Parameter for pagination from individual sections Optional

Visit our documentation for more information on all available parameters.

Available data on Google Play Store (JSON Response)

Google Play Store can return different information from time to time. Here is what the organic_results array may contain:

 "organic_results": [
    {
      "title": "String - Title of the app",
      "link": "String - URL to the app page on Google Play",
      "product_id": "String - Google Play product ID",
      "rating": "Float - App rating (out of 5)",
      "author": "String - Developer or publisher name",
      "category": "String - App category",
      "downloads": "String - Number of downloads",
      "thumbnail": "String - URL to the app icon/thumbnail",
      "description": "String - App description",
      "video": "String - URL to the app preview video (if available)"
    }
  ],

The API response also includes:

  • search_information: Metadata about the search query
  • serpapi_pagination: Navigation links for result pages

Tutorial

Use cases

Here are some use cases for the Google Play Store API:

  • Monitor competitor apps by tracking their ratings, downloads, and updates.
  • Build app market research tools to analyze trends across categories.
  • Create app discovery tools by searching and filtering apps by category and device type.
  • Track app rankings on top charts over time.
  • Analyze app metadata for ASO (App Store Optimization) research.
  • Build competitive intelligence dashboards for mobile app markets.

Related scraper

Contacts

Feel free to reach out via contact@serpapi.com.

Check other Google Scrapers from SerpApi.

About

A tool to scrape Google Play Store app search results with a simple API. Get app information like title, rating, author, category, downloads, description, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors