# Google Play Store Scraper (`shahidirfan/google-play-store-scraper`) Actor

Scrape Google Play Store apps instantly: extract ratings, reviews, downloads, pricing & metadata. Perfect for competitive analysis, market research & app intelligence. Bulk download app store data efficiently.

- **URL**: https://apify.com/shahidirfan/google-play-store-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Categories:** Developer tools, E-commerce, Other
- **Stats:** 7 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Play Store Scraper

Extract Google Play Store listings by URL, keyword, category, and subcategory. The actor collects apps, books, and movies with normalized fields and removes empty values from output.

### Features

- **Flexible input mode** — Run by direct Play URL or by keyword.
- **Category + subcategory support** — Use `apps`, `games`, `books`, `movies` plus subcategory values such as `productivity`, `tools`, `education`, `action`, `strategy`.
- **Reliable multi-page collection** — Continues through related pages and avoids duplicate-only loops.
- **Detail enrichment** — Collects richer fields like descriptions, ratings, authors, and duration where available.
- **Clean output** — Null/empty fields are removed before saving to dataset.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `url` | String | No | `"https://play.google.com/store/search?q=cleaner&c=apps"` | Optional Play URL (search/category/cluster). |
| `keyword` | String | No | `"education"` | Search keyword if `url` is not provided. |
| `category` | String | No | `"apps"` | Top category: `apps`, `games`, `books`, `movies`. |
| `subcategory` | String | No | `"productivity"` | Optional subcategory (for example `tools`, `education`, `action`). |
| `results_wanted` | Integer | No | `20` | Maximum number of items to save. |
| `max_pages` | Integer | No | `10` | Maximum number of pages/clusters to fetch. |
| `proxyConfiguration` | Object | No | `{ "useApifyProxy": false }` | Proxy settings. |

### Output Data

| Field | Type | Description |
|-------|------|-------------|
| `item_id` | String | Unique item id (app package, book id, or movie id). |
| `content_type` | String | Normalized type: `app`, `book`, or `movie`. |
| `title` | String | App title. |
| `developer` | String | Developer/publisher name (apps). |
| `author` | Array/String | Author data (books, when available). |
| `category` | String | Category or genre label. |
| `subcategory` | String | Input subcategory used for the run. |
| `store_type` | String | Input top category (`apps`/`games`/`books`/`movies`). |
| `rating` | Number | Average rating value. |
| `rating_count` | Number | Number of ratings (if available from detail page). |
| `installs` | String | Install range text. |
| `duration_minutes` | Number | Runtime in minutes (movies, when available). |
| `content_url` | String | Canonical Google Play detail URL. |
| `description` | String | Enriched app description text. |
| `icon_url` | String | App icon URL. |
| `screenshots` | Array | Screenshot URLs. |
| `content_rating` | String | Content rating label. |
| `in_app_purchases` | String | In-app purchase text. |
| `price` | String | Price value when available. |
| `currency` | String | Price currency when available. |
| `source_url` | String | Source page URL used for extraction. |
| `page` | Number | Page/cluster sequence number in the run. |
| `rank` | Number | Rank in this run output. |
| `scraped_at` | String | ISO timestamp. |

### Usage Examples

#### Keyword + Category

```json
{
  "keyword": "education",
  "category": "apps",
  "results_wanted": 50,
  "max_pages": 10
}
```

#### Subcategory Listing (Apps)

```json
{
  "category": "apps",
  "subcategory": "productivity",
  "results_wanted": 60,
  "max_pages": 10
}
```

#### Subcategory Listing (Games)

```json
{
  "category": "games",
  "subcategory": "action",
  "results_wanted": 60,
  "max_pages": 10
}
```

#### Direct URL Run

```json
{
  "url": "https://play.google.com/store/search?q=cleaner&c=apps",
  "results_wanted": 40,
  "max_pages": 8
}
```

### Sample Output

```json
{
  "item_id": "com.piriform.ccleaner",
  "content_type": "app",
  "content_url": "https://play.google.com/store/apps/details?id=com.piriform.ccleaner",
  "title": "CCleaner – Phone Cleaner",
  "developer": "Piriform",
  "category": "Tools",
  "store_type": "apps",
  "subcategory": "productivity",
  "rating": 4.5,
  "installs": "100,000,000+",
  "description": "Clean up your phone storage with CCleaner for Android.",
  "source_url": "https://play.google.com/store/apps/category/PRODUCTIVITY?hl=en&gl=us",
  "page": 1,
  "rank": 1,
  "scraped_at": "2026-05-22T10:30:00.000Z"
}
```

### Tips

- Start with `results_wanted: 20` to validate your query quickly.
- Use category + subcategory mode for broader discovery beyond search pages.
- For large runs, use proxy configuration for better stability.

### Legal Notice

Use this actor in compliance with Google Play terms and applicable laws.

# Actor input Schema

## `url` (type: `string`):

Optional Play Store URL. Supports search, category, and cluster URLs.

## `keyword` (type: `string`):

Search keyword when URL is not provided.

## `category` (type: `string`):

Top store category.

## `subcategory` (type: `string`):

Optional subcategory (examples: productivity, tools, education, action, strategy).

## `results_wanted` (type: `integer`):

Maximum number of results to save.

## `max_pages` (type: `integer`):

Maximum number of pages/clusters to fetch.

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

Proxy settings for request routing.

## Actor input object example

```json
{
  "url": "https://play.google.com/store/search?q=cleaner&c=apps",
  "keyword": "education",
  "category": "apps",
  "subcategory": "productivity",
  "results_wanted": 20,
  "max_pages": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "url": "https://play.google.com/store/search?q=cleaner&c=apps",
    "keyword": "education",
    "category": "apps",
    "subcategory": "productivity",
    "results_wanted": 20,
    "max_pages": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/google-play-store-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 = {
    "url": "https://play.google.com/store/search?q=cleaner&c=apps",
    "keyword": "education",
    "category": "apps",
    "subcategory": "productivity",
    "results_wanted": 20,
    "max_pages": 10,
}

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

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

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

```

## CLI example

```bash
echo '{
  "url": "https://play.google.com/store/search?q=cleaner&c=apps",
  "keyword": "education",
  "category": "apps",
  "subcategory": "productivity",
  "results_wanted": 20,
  "max_pages": 10
}' |
apify call shahidirfan/google-play-store-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shahidirfan/google-play-store-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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