# App Store & Google Play Reviews + Insights (`eguar/store-reviews-insights`) Actor

Fetch App Store and Google Play reviews for one or more apps, normalized to one schema, enriched with sentiment, topics and language, plus a per-app insights summary.

- **URL**: https://apify.com/eguar/store-reviews-insights.md
- **Developed by:** [eguar](https://apify.com/eguar) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / 1,000 reviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## App Store & Google Play Reviews + Insights

Get reviews for any app from **both the Apple App Store and Google Play in one run**, normalized to a single schema and enriched with **sentiment, topics and language**, plus a **per-app insights summary** (rating trends, top complaints, latest version vs previous). Deterministic enrichment, no LLM calls, no hidden costs.

### What you can use it for

- **App developers**: spot crashes, login problems or update regressions right after a release. The summary compares complaint topics in the latest version against the previous one.
- **Product managers**: track rating trends per month, collect feature requests and benchmark your app against competitors in several countries.
- **Market researchers**: compare sentiment and pain points across apps, stores and markets (EN/ES/PT topic dictionaries).
- **AI agents (via Apify MCP)**: one call returns clean, typed review rows plus a compact summary, ready for further reasoning.

### Sample output

One dataset item per review:

```json
{
  "type": "review",
  "appKey": "389801252_com.instagram.android",
  "store": "appStore",
  "appId": "389801252",
  "appName": "Instagram",
  "country": "us",
  "language": null,
  "reviewId": "14788208168",
  "rating": 1,
  "title": "Late Great Source",
  "text": "of slop, and over-abundant ads. No chance to see the actual content you care about. This used to be the standard.",
  "appVersion": "455.0.0",
  "date": "2026-11-14T04:42:12.000Z",
  "thumbsUp": 0,
  "voteCount": 0,
  "developerReply": null,
  "sentiment": "negative",
  "sentimentScore": -2,
  "topics": ["ads", "update_regression"],
  "detectedLanguage": "en"
}
```

One summary per app (excerpt):

```json
{
  "type": "summary",
  "appName": "Instagram",
  "totals": { "reviews": 100, "appStore": 50, "googlePlay": 50 },
  "averageRating": 3.25,
  "sentiment": { "shares": { "positive": 0.57, "neutral": 0.01, "negative": 0.42 } },
  "topTopics": [
    { "topic": "login_account", "label": "Login & account", "count": 20, "share": 0.2, "negativeShare": 0.9,
      "exampleReviewIds": ["appStore:14788732858", "appStore:14788512785", "appStore:14788327756"] }
  ],
  "ratingTrendByMonth": [{ "month": "2026-11", "count": 88, "averageRating": 3.42 }],
  "byStore": {
    "appStore": {
      "storeRating": 4.69,
      "versionComparison": {
        "latestVersion": "455.0.0",
        "previousVersion": "368.0.0",
        "latest": { "topComplaints": [{ "topic": "login_account", "count": 14 }, { "topic": "ads", "count": 4 }] }
      }
    }
  }
}
```

### Where the results go

| Output | Content |
| --- | --- |
| Default dataset | One item per review (`type: "review"`). The **Overview** view shows the key columns. |
| Dataset named `summaries` | One item per app (`type: "summary"`). |
| Key-value store `OUTPUT` | All summaries of the run plus totals. |
| Key-value store `SUMMARY_<appKey>` | The summary of a single app. |

### Pricing (pay per event)

> **Proposal, prices not final.** Placeholder values are defined in `.actor/pay_per_event.json`.

| Event | When it is charged | Proposed price |
| --- | --- | --- |
| `review` | Each enriched review saved to the dataset | USD 0.0002 (USD 0.20 per 1,000 reviews) |
| `app-summary` | Each per-app summary, only if it is based on at least one review | USD 0.01 |

There are no LLM or third-party API costs behind the scenes. The run stops cleanly when your maximum charge limit is reached.

### Input

| Field | Default | Description |
| --- | --- | --- |
| `apps` | required | List of apps. Each item can be an App Store id or URL, a Google Play package or URL, or an object `{ "appStoreId", "googlePlayId", "name" }` to pair the same app across stores. Objects can override `countries` and `languages`. |
| `countries` | `["us"]` | Two-letter store countries. Each country is fetched separately. |
| `languages` | `["en"]` | Google Play review languages. The App Store feed has no language filter. |
| `maxReviewsPerApp` | `200` | Max reviews per app **for each store and country** (and language on Google Play). Max 5000. |
| `sort` | `newest` | `newest` or `helpful`. |
| `sinceDate` | none | ISO date. Older reviews are skipped; with `newest`, fetching stops early. |
| `includeAuthorNames` | `false` | Add the reviewer's public display name. Off by default. |
| `includeGooglePlay` | `true` | Fetch Google Play for apps that have a Play id. |

Example (also in `examples/input.json`):

```json
{
  "apps": [
    { "appStoreId": "389801252", "googlePlayId": "com.instagram.android", "name": "Instagram" },
    { "appStoreId": "463624852", "googlePlayId": "com.mercadolibre", "name": "Mercado Libre", "countries": ["ar"], "languages": ["es"] }
  ],
  "countries": ["us"],
  "languages": ["en"],
  "maxReviewsPerApp": 50
}
```

### Limits

- **App Store: max 500 reviews per country and sort order.** Apple's public feed serves 10 pages of 50 reviews. To get more, add more countries or run both sort orders.
- Google Play reviews are mostly shared between countries that use the same language. Duplicates are removed per app.
- If Google Play fails or is disabled, the run continues with App Store data and adds a warning to the summary and the log.
- Enrichment is keyword- and rule-based (EN/ES/PT). It is fast and predictable but not as nuanced as a language model. Sentiment comes from the star rating; the lexicon only decides for 3-star reviews.

### Privacy

Privacy by default, GDPR-friendly: **author names are not collected** unless you turn on `includeAuthorNames`. Avatars and profile URLs are never stored. Reviews are public content; you remain responsible for how you process them.

**Responsible use.** Google Play has no official public reviews API, so Play data is collected from public pages with a community library, at low request rates. Use the data for analysis of public opinion, respect each store's terms, and set `includeGooglePlay` to `false` if you only need Apple's official feed.

### Technical details

- **App Store**: official customer-reviews RSS JSON feed (`itunes.apple.com/{country}/rss/customerreviews/...`) and the iTunes Lookup API for metadata.
- **Google Play**: the open-source `google-play-scraper` package (MIT), isolated in `src/sources/googlePlay.js` and loaded only when `includeGooglePlay` is true.
- **Reliability**: retries with exponential backoff and `Retry-After` support for 429/5xx and network errors; other 4xx fail fast. HTTP 200 responses with empty, gzip/binary or non-JSON bodies are treated as failures. At most 2 concurrent requests per store with small delays.
- **Enrichment**: `sentiment` (rating-based, negation-aware lexicon for 3 stars), `topics` (crash/bug, performance/battery, ads, pricing/subscription, login/account, UI/UX, feature request, customer support, privacy, update regression), `detectedLanguage` (script ranges + weighted stopwords; `und` when unsure).
- **Fields**: `thumbsUp` is Google Play thumbs-up or App Store helpful votes (`voteSum`); `voteCount` is App Store total votes (null on Play); `developerReply` is `{ text, date }` on Google Play.

#### Run locally

```bash
npm install
mkdir -p storage/key_value_stores/default
cp examples/input.json storage/key_value_stores/default/INPUT.json
node src/main.js            # results in ./storage
npm test                    # offline tests with recorded fixtures
```

Use `CRAWLEE_STORAGE_DIR=/path/to/storage` to keep runs apart. Charging is a no-op outside the Apify platform; the log prints how many events would have been charged.

# Actor input Schema

## `apps` (type: `array`):

Apps to analyze. Each item can be an App Store id or URL (e.g. 389801252 or https://apps.apple.com/us/app/instagram/id389801252), a Google Play package or URL (e.g. com.instagram.android), or an object pairing the same app across both stores: {"appStoreId": "389801252", "googlePlayId": "com.instagram.android", "name": "Instagram"}. Objects may also override "countries" and "languages" for that app.

## `countries` (type: `array`):

Two-letter store country codes (e.g. us, gb, uy, br). Each country is fetched separately; the App Store returns different reviews per country.

## `languages` (type: `array`):

Review languages to request from Google Play (e.g. en, es, pt). The App Store feed has no language filter; every review still gets a detectedLanguage field.

## `maxReviewsPerApp` (type: `integer`):

Upper limit of reviews per app for each store and country (and language, for Google Play). The App Store feed itself is capped at 500 reviews per country and sort order.

## `sort` (type: `string`):

Which reviews to fetch first.

## `sinceDate` (type: `string`):

Optional ISO date (e.g. 2026-01-01). Reviews older than this are skipped; with the newest sort, fetching stops as soon as older reviews are reached.

## `includeAuthorNames` (type: `boolean`):

Off by default (privacy by default). When enabled, each review includes the reviewer's public display name.

## `includeGooglePlay` (type: `boolean`):

Fetch Google Play reviews for apps that have a Google Play id. If Google Play fails, the run continues with App Store data and logs a warning.

## Actor input object example

```json
{
  "apps": [
    {
      "appStoreId": "389801252",
      "googlePlayId": "com.instagram.android",
      "name": "Instagram"
    }
  ],
  "countries": [
    "us"
  ],
  "languages": [
    "en"
  ],
  "maxReviewsPerApp": 100,
  "sort": "newest",
  "includeAuthorNames": false,
  "includeGooglePlay": true
}
```

# Actor output Schema

## `reviews` (type: `string`):

One enriched review per item (App Store and Google Play, same schema).

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

OUTPUT record with totals and the insights summary of every app.

# 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 = {
    "apps": [
        {
            "appStoreId": "389801252",
            "googlePlayId": "com.instagram.android",
            "name": "Instagram"
        }
    ],
    "countries": [
        "us"
    ],
    "languages": [
        "en"
    ],
    "maxReviewsPerApp": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("eguar/store-reviews-insights").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 = {
    "apps": [{
            "appStoreId": "389801252",
            "googlePlayId": "com.instagram.android",
            "name": "Instagram",
        }],
    "countries": ["us"],
    "languages": ["en"],
    "maxReviewsPerApp": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("eguar/store-reviews-insights").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 '{
  "apps": [
    {
      "appStoreId": "389801252",
      "googlePlayId": "com.instagram.android",
      "name": "Instagram"
    }
  ],
  "countries": [
    "us"
  ],
  "languages": [
    "en"
  ],
  "maxReviewsPerApp": 100
}' |
apify call eguar/store-reviews-insights --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eguar/store-reviews-insights"
        }
    }
}
```

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/PfF1dHVgQZzz07p7c/builds/sY2Qs1e3BMQthtWs9/openapi.json
