# Google Play API (`epctex/google-play-api`) Actor

Google Play data over a simple HTTP API: search apps, get app details, reviews, permissions, data safety info, similar apps and a developer's apps by app ID, developer ID or search term. Always-on Standby Actor with JSON responses in seconds.

- **URL**: https://apify.com/epctex/google-play-api.md
- **Developed by:** [epctex](https://apify.com/epctex) (community)
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.97 / 1,000 search apps

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

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

Google Play API is an Apify actor that retrieves Google Play application data (search results, app details, reviews, permissions, data safety attributes, similar apps and a developer's apps) by app ID, developer ID or search term. Pricing ranges from $0.001 to $0.005 per successful request, depending on the endpoint called.

Google Play API exposes 7 endpoints, accepts up to 4 path/query parameters per endpoint, and bills one pay-per-event charge per successful request — the event depends on which endpoint you call — with no subscription and no monthly minimum on paid plans.

### How It Works

Google Play API runs as an [Apify Standby Actor](https://docs.apify.com/platform/actors/running/standby): an always-on HTTP server, not a classic Actor run. There is no run to start and no dataset to poll — you send a plain `GET` request to an endpoint and the JSON comes back in the response itself.

| | Classic dataset Actor | Google Play API (Standby) |
| --- | --- | --- |
| How you call it | Start a run, wait, then read the dataset | One `GET` request |
| Result | Items accumulate in a dataset | JSON in the HTTP response, synchronously |
| Billing | Per run or per dataset item | Per successful request, by endpoint |

Authenticate with your Apify API token as an `Authorization: Bearer <token>` header. The token is only used to identify and bill the caller — it is **never forwarded** to the upstream data service.

### Who Uses Google Play API?

- **App store optimization (ASO) and market research teams** search apps by keyword (`/apps`) and read fields such as `score`, `ratings`, `installs` and `genre` from the app detail (`/apps/{appId}`).
- **Competitor-tracking tools** list a developer's whole catalog (`/developers/{developerId}`) and find look-alike apps (`/apps/{appId}/similar`).
- **Review and sentiment analysis tools** pull an app's reviews (`/apps/{appId}/reviews`), sorted by `NEWEST`, `RATING` or `HELPFULNESS`, and page through them with `nextPageToken`.
- **Privacy and compliance teams** read the declared permissions (`/apps/{appId}/permissions`) and data safety attributes (`/apps/{appId}/datasafety`: shared data, collected data, security practices and the privacy policy URL).
- **AI agents and chatbots** call it directly as a tool: plain JSON over HTTP with a published OpenAPI spec.

### Endpoints & Parameters

All endpoints are `GET`. Base URL: `https://epctex--google-play-api.apify.actor` — see the note under [Request Example](#request-example).

#### Apps

| Endpoint | Field | Type | Description | Default |
| --- | --- | --- | --- | --- |
| `/apps` | `search` | string (query) | Search term for Google Play, e.g. `food` | required |
| | `price` | string (query) | Price of the applications: `all`, `free` or `paid` | — |
| | `country` | string (query) | Country for Google Play, e.g. `us` | — |
| | `lang` | string (query) | Language of the results, e.g. `en` | — |
| `/apps/{appId}` | `appId` | string (path) | Application ID (package name), e.g. `com.dd.doordash` | required |
| | `country` | string (query) | Country for Google Play | — |
| | `lang` | string (query) | Language for the application | — |
| `/apps/{appId}/permissions` | `appId` | string (path) | Application ID | required |
| `/apps/{appId}/datasafety` | `appId` | string (path) | Application ID | required |
| `/apps/{appId}/similar` | `appId` | string (path) | Application ID | required |
| `/apps/{appId}/reviews` | `appId` | string (path) | Application ID | required |
| | `country` | string (query) | Country for Google Play, e.g. `us` | required |
| | `lang` | string (query) | Language of the results | — |
| | `sort` | string (query) | Sort order: `NEWEST`, `RATING` or `HELPFULNESS` | — |
| | `nextPageToken` | string (query) | Opaque pagination token returned by the previous page | — |

#### Developers

| Endpoint | Field | Type | Description | Default |
| --- | --- | --- | --- | --- |
| `/developers/{developerId}` | `developerId` | string (path) | Developer ID, e.g. `5700313618786177705` | required |
| | `country` | string (query) | Country for Google Play | — |

Optional parameters have no default declared by this API; omit them to let the upstream service decide.

### Request Example

> **Standby base URL:** Apify Standby actors are reachable at `https://{apify-username}--{actor-name}.apify.actor`. This actor is published under the epctex account, so its Standby base URL is `https://epctex--google-play-api.apify.actor`, used in the examples below.

Search apps by keyword:

```bash
curl -G "https://epctex--google-play-api.apify.actor/apps" \
  --data-urlencode "search=food" \
  --data-urlencode "price=all" \
  --data-urlencode "country=us" \
  --data-urlencode "lang=en" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN"
```

Charges `search-apps` on success.

Get an app's details:

```bash
curl "https://epctex--google-play-api.apify.actor/apps/com.dd.doordash?country=us&lang=en" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN"
```

Charges `app-detail` on success.

Get an app's reviews, newest first:

```bash
curl -G "https://epctex--google-play-api.apify.actor/apps/com.dd.doordash/reviews" \
  --data-urlencode "country=us" \
  --data-urlencode "sort=NEWEST" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN"
```

Charges `app-reviews` on success.

### Pricing Model

Google Play API bills one pay-per-event charge per successful request, based on the endpoint called — regardless of how many apps or reviews the response contains. A request charges only the called endpoint's event, once.

| Endpoint | Event | Price |
| --- | --- | --- |
| `/apps` | `search-apps` | $0.003 |
| `/apps/{appId}` | `app-detail` | $0.001 |
| `/apps/{appId}/permissions` | `app-permissions` | $0.001 |
| `/apps/{appId}/datasafety` | `app-data-safety` | $0.001 |
| `/apps/{appId}/similar` | `similar-apps` | $0.0015 |
| `/apps/{appId}/reviews` | `app-reviews` | $0.005 |
| `/developers/{developerId}` | `developer-apps` | $0.003 |

#### Cost examples

| Scenario | Requests | Cost |
| --- | --- | --- |
| Look up 1 app's details | 1 | $0.001 |
| Search apps by keyword, 1 request | 1 | $0.003 |
| Fetch 1 page of an app's reviews | 1 | $0.005 |
| App details + permissions + data safety for 1 app | 3 | $0.001 + $0.001 + $0.001 = $0.003 |
| Search a keyword, then look up 10 of the results | 11 | $0.003 + 10 x $0.001 = $0.013 |
| Pull 20 pages of an app's reviews | 20 | $0.10 |
| 1,000 app detail lookups | 1,000 | $1.00 |
| 1,000 review pages | 1,000 | $5.00 |

**Cost optimization tips:** don't retry on `400`/`403`/`404`/`429` — they're not charged but they also won't succeed on retry without changing the request; cache app details you don't expect to change between calls instead of re-fetching them; every endpoint is billed per request, not per app or review, so request only the pages you need.

| Status | Meaning | Charged? |
| --- | --- | --- |
| `200` | Successful response, contains `data` | Yes — the called endpoint's event |
| `400` | Bad request — a param failed validation | No |
| `403` | Standby access disabled, or your access was restricted by the developer | No |
| `404` | Endpoint not matched, or nothing found upstream | No |
| `429` | Monthly free-request limit reached | No |
| `502` | Upstream (INFRA) request failed | No |
| `503` | Plan/quota could not be checked right now | No |

#### Demo Mode

Apify Free-plan users can try Google Play API without a subscription, capped at **10 requests per calendar month**. Once that limit is used up, every call answers `429` ("You have used all free requests for this month. Upgrade your Apify plan to keep going.") until the next month. A paid Apify plan removes the monthly cap.

### Output Example

Every response is wrapped as `{ "status": 200, "message": "OK", "data": ... }`.

An app summary (one item of `data` for `/apps`, `/apps/{appId}/similar` and `/developers/{developerId}`):

```json
{
  "status": 200,
  "message": "OK",
  "data": [
    {
      "title": "Temu",
      "appId": "com.einnovation.temu",
      "url": "https://play.google.com/store/apps/details?id=com.einnovation.temu",
      "icon": "https://play-lh.googleusercontent.com/Nz5sdWyh7jn4eTy_GSaRBDgaKhLC1pvYywC6fklDOlPGbopmeFN9NkqgKGjsvJMbKVEI",
      "scoreText": "4.7",
      "free": true,
      "priceText": "Free",
      "price": 0,
      "currency": "USD",
      "score": 4.7083664,
      "developer": "Google LLC",
      "developerId": "5700313618786178000"
    }
  ]
}
```

An app detail (`GET /apps/{appId}`, abridged — the full object also includes fields such as `description`, `installs`, `histogram`, `categories`, `screenshots` and `features`):

```json
{
  "status": 200,
  "message": "OK",
  "data": {
    "title": "Temu",
    "appId": "com.einnovation.temu",
    "url": "https://play.google.com/store/apps/details?id=com.einnovation.temu",
    "free": true,
    "price": 0,
    "priceText": "Free",
    "score": 4.7083664,
    "installs": "500,000,000+",
    "minInstalls": 500000000,
    "maxInstalls": 898626813,
    "genre": "Tools",
    "genreId": "TOOLS",
    "contentRating": "Everyone",
    "version": "8.7.2",
    "developer": "Google LLC",
    "offersIAP": false,
    "adSupported": false
  }
}
```

Reviews (`GET /apps/{appId}/reviews`):

```json
{
  "status": 200,
  "message": "OK",
  "data": {
    "reviews": [
      {
        "id": "1389413f-bcad-4836-a582-880004da48cb",
        "userName": "Travis Brown",
        "date": "2023-01-20T14:24:50.523Z",
        "score": 5,
        "title": "Nice!",
        "text": "addicting site and had items you never thought of. Cool gift spot.",
        "replyText": "This is a reply",
        "version": "1.36.0",
        "thumbsUp": 2
      }
    ],
    "nextPageToken": "gEEiggEHZ29vZ2xlEg0KC0hlbGxvIFdvcmxk"
  }
}
```

Permissions (`GET /apps/{appId}/permissions`, one item of `data`):

```json
{ "permission": "read your contacts", "type": "Contacts" }
```

Data safety (`GET /apps/{appId}/datasafety`, abridged):

```json
{
  "sharedData": [{ "data": "Name", "purpose": "App functionality", "type": "Personal info", "optional": false }],
  "collectedData": [{ "data": "Name", "purpose": "App functionality", "type": "Personal info", "optional": false }],
  "securityPractices": [{ "practice": "Data is encrypted in transit", "description": "Your data is transferred over a secure connection" }],
  "privacyPolicyUrl": "..."
}
```

An invalid request answers `{ "status": 400, "message": "Bad request" }` and an unmatched endpoint `{ "status": 404, "message": "Not found" }`; neither is charged.

### Limitations

- **`country` is required for `/apps/{appId}/reviews`.** The other endpoints treat it as optional.
- **Cursor-based review pagination only** — pass the `nextPageToken` from the previous page; there is no page-number or offset parameter.
- **`/apps/{appId}/permissions`, `/datasafety` and `/similar` take only the app ID** — they do not accept `country` or `lang`.
- **Many app fields can be `null`** (for example `score`, `ratings`, `reviews`, `released`, `developerWebsite`), as declared in the OpenAPI spec.
- **Per-endpoint pricing, not per-field pricing.** Every endpoint charges a fixed event regardless of how many apps or reviews a response contains.
- **Request-only API.** Each call is a single `GET` that returns JSON; there is no dataset, webhook or scheduling.

### Which Google Play API Questions Come Up Most Often?

#### Does Google Play API need a Google account or API key?

No. You only need an Apify API token.

#### How much does it cost?

It depends on the endpoint: from $0.001 for an app detail, permissions or data safety lookup, $0.0015 for similar apps, $0.003 for a search or a developer's apps, up to $0.005 for a page of reviews (see the [Pricing Model](#pricing-model) table). Failed, invalid or rejected responses are never charged, and a request never charges more than one event.

#### Am I charged per app/review, or per request?

Per request. A response with many apps costs the same as one with a single app for the same endpoint.

#### How do I get more than one page of reviews?

Pass the `nextPageToken` from the previous response's `data.nextPageToken` field as the `nextPageToken` query parameter on the next call. Each page is a separate, separately-charged request.

#### What happens when I hit the free-plan limit?

Every call returns `429` with "You have used all free requests for this month. Upgrade your Apify plan to keep going." until the next calendar month, or until you move to a paid Apify plan.

#### Why did my request return `403`?

Either Standby access isn't available on your current Apify plan, or your access to this Actor has been specifically restricted by its developer.

#### Can I retry a `502` or `503`?

Yes. `502` means the request to the upstream data service failed; `503` means your plan/quota couldn't be checked. Neither is charged, and both are safe to retry after a short delay.

#### Can I use this from an AI agent or bot?

Yes. It's a plain HTTP JSON API with a published OpenAPI spec, so it fits LLM tool calls, bots, backends, and any no-code tool that can make HTTP requests.

### Contact

Google Play API is published by epctex. Visit [epctex.com](https://epctex.com) to see all available products. For custom integrations, reach out through the chat box on epctex.com. For support, contact business@epctex.com.

# Actor input Schema

## Actor input object example

```json
{}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("epctex/google-play-api").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("epctex/google-play-api").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 '{}' |
apify call epctex/google-play-api --silent --output-dataset

```

## MCP server setup

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

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/bYdv8zdJl8SpdiQFb/builds/B4FKBH6IKomobVyML/openapi.json
