# Google Play Scraper (`codingfrontend/google-play-scraper`) Actor

A robust, high-performance utility designed for developer automation, data integration, and AI training. Features built-in captcha bypass, headful/headless browser execution, and proxy support to scrape Google data seamlessly, reliably, and at scale.

- **URL**: https://apify.com/codingfrontend/google-play-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Categories:** Developer tools, Automation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Play Scraper

### Features

- **App Listings**: Scrapes app data from Google Play Store including name, developer, rating, and price
- **Install Counts**: Captures the total install count displayed on each app's Play Store page
- **App Categories**: Extracts app category classifications (Games, Productivity, Health & Fitness, etc.)
- **Full Descriptions**: Retrieves complete app descriptions via deep scraping
- **User Reviews**: Optionally scrapes user reviews for each app
- **Monetization Info**: Records whether apps contain ads or in-app purchases
- **Dual Mode**: Supports both search-based discovery and direct URL scraping
- **Localization Support**: Configurable country and language codes for region-specific store listings
- **Proxy Support**: Built-in Apify Proxy with residential proxies for reliable Play Store access

### Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `mode` | String | No | `"search"` | Scraping mode: `search` to find apps or `productUrl` for specific app URLs |
| `query` | String | No | `"fitness tracker"` | Search term to find apps (used in search mode) |
| `productUrls` | Array | No | `[]` | List of Google Play app URLs to scrape (used in productUrl mode) |
| `maxItems` | Integer | No | `50` | Maximum number of app results (1–500) |
| `includeReviews` | Boolean | No | `false` | Whether to scrape user reviews for each app |
| `deepScraping` | Boolean | No | `true` | Visit each app's detail page for full data (description, installs, etc.) |
| `gl` | String | No | `"us"` | Two-letter country code for localized results (e.g., us, in, gb) |
| `hl` | String | No | `"en"` | Language code for results (e.g., en, hi, de, fr) |
| `proxyConfiguration` | Object | No | Apify Residential | Proxy settings for the scraper |

#### Input Schema Example

```json
{
  "mode": "search",
  "query": "meditation app",
  "maxItems": 20,
  "includeReviews": false,
  "deepScraping": true,
  "gl": "us",
  "hl": "en",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Output Schema

The scraper outputs structured JSON data for each app found on the Google Play Store.

#### Main Fields

| Field | Type | Description |
|-------|------|-------------|
| `position` | Integer | Result position in the search |
| `appName` | String | App name |
| `developer` | String | Developer or publisher name |
| `rating` | Number | Average user rating (0–5) |
| `reviewCount` | String | Total number of user reviews |
| `price` | String | App price (e.g., "Free", "$2.99") |
| `installs` | String | Install count (e.g., "10M+", "500K+") |
| `category` | String | App category |
| `description` | String | Full app description (from deep scraping) |
| `containsAds` | Boolean | Whether the app contains advertisements |
| `hasInAppPurchases` | Boolean | Whether the app has in-app purchases |
| `link` | String | Direct Google Play Store URL |
| `thumbnail` | String | App icon/thumbnail image URL |

#### App Listing Example

```json
{
  "position": 1,
  "appName": "Headspace: Sleep & Meditation",
  "developer": "Headspace Inc.",
  "rating": 4.4,
  "reviewCount": "352K",
  "price": "Free",
  "installs": "10M+",
  "category": "Health & Fitness",
  "description": "Headspace is your guide to mindfulness and meditation, offering hundreds of guided sessions...",
  "containsAds": false,
  "hasInAppPurchases": true,
  "link": "https://play.google.com/store/apps/details?id=com.getsomeheadspace.android",
  "thumbnail": "https://play-lh.googleusercontent.com/headspace-icon.png"
}
```

# Actor input Schema

## `mode` (type: `string`):

Choose 'search' to search for apps or 'productUrl' to scrape specific app URLs

## `query` (type: `string`):

The search term to find apps on Google Play Store (used in search mode)

## `productUrls` (type: `array`):

List of Google Play app URLs to scrape (used in productUrl mode)

## `maxItems` (type: `integer`):

Maximum number of app results to retrieve

## `includeReviews` (type: `boolean`):

Whether to scrape user reviews for each app

## `deepScraping` (type: `boolean`):

Whether to visit each app's detail page for full data (description, installs, etc.)

## `gl` (type: `string`):

Two-letter country code for localized results (e.g. 'us', 'in', 'gb', 'de')

## `hl` (type: `string`):

Language code for the results (e.g. 'en', 'hi', 'de', 'fr')

## `proxyConfiguration` (type: `object`):

Proxy configuration for the scraper

## Actor input object example

```json
{
  "mode": "search",
  "query": "fitness tracker",
  "productUrls": [],
  "maxItems": 50,
  "includeReviews": false,
  "deepScraping": true,
  "gl": "us",
  "hl": "en",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "query": "fitness tracker",
    "maxItems": 50,
    "gl": "us",
    "hl": "en",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/google-play-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "query": "fitness tracker",
    "maxItems": 50,
    "gl": "us",
    "hl": "en",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/google-play-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "query": "fitness tracker",
  "maxItems": 50,
  "gl": "us",
  "hl": "en",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call codingfrontend/google-play-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=codingfrontend/google-play-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/B1yrauquPVX2AYRLC/builds/FN6zMjZhkZgfhUBGU/openapi.json
