# App Store & Google Play Reviews — Monitor & Backfill (`lone_fascia/app-store-review-monitor`) Actor

One Actor for both stores: backfill App Store (latest 500 per country) and Google Play (full-depth, with developer replies) reviews into one unified dataset, or monitor apps on a schedule and output only new reviews plus a per-run summary. Low-rating (<=2 stars) and keyword-hit enrichment included.

- **URL**: https://apify.com/lone_fascia/app-store-review-monitor.md
- **Developed by:** [mullvad lu](https://apify.com/lone_fascia) (community)
- **Categories:** Developer tools, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 Review Monitor — Backfill + New Review Alerts

One Actor, both stores, one dataset. Pull reviews from the **Apple App Store** and **Google Play** into a single unified schema, or run it on a schedule in **monitor mode** and get only the reviews that are new since the last run — with a per-run summary (new count, average rating, low-rating share) that is ready to feed webhooks and alerts.

Built for app developers, game publishers and ASO teams who need to watch their own apps *and* their competitors without maintaining two different scrapers.

### What it does

- **Backfill mode** — one-shot pull of existing reviews:
  - App Store: the latest **500 reviews per app per country** (Apple's public feed limit — stated honestly, not hidden).
  - Google Play: **full-depth** pagination up to your `maxItems`, including **developer replies**.
- **Monitor mode** — schedule the Actor (e.g. hourly or daily). It remembers which review IDs it has already seen and outputs **only new reviews**, plus one `summary` item per run. No new reviews = an almost-empty dataset, so webhooks stay quiet until there is something to act on.
- **Enrichment on every review**:
  - `isLowRating` flag for reviews rated **2 stars or lower** — your early-warning feed.
  - `keywordHits` for your own watchlist (`keywords[]`, e.g. `crash`, `charged twice`, `cannot login`), matched case-insensitively.
- **Unified output**: both stores land in the same field names, so one run can cover your iOS and Android apps side by side.

### Input

| Field | What it is |
|---|---|
| `apps` | App links or IDs, both stores mixed. Store URLs (`play.google.com/...?id=...`, `apps.apple.com/<country>/app/id<digits>`), numeric App Store IDs, or Google Play package names. The store is detected automatically. |
| `countries` | Optional extra country codes (e.g. `gb`, `de`, `jp`) checked for every app, in addition to the URL country (or `us` by default). |
| `mode` | `backfill` or `monitor`. |
| `maxItems` | Cap per app × country (default 500). |
| `keywords` | Optional watchlist for `keywordHits`. |
| `minRating` / `maxRating` | Optional rating filters (e.g. `maxRating: 2` collects only negative reviews). |
| `appStoreSort` / `googlePlaySort` | Sort order per store. |

### Output

One dataset with two item types:

- `type: "review"` — `store`, `appId`, `country`, `reviewId`, `author`, `rating`, `title` (App Store only; Google Play reviews have no title), `text`, `version` (the app version the reviewer was on), `date`, `url`, `helpfulCount`, `developerReply` + `developerReplyDate` (Google Play), `isLowRating`, `keywordHits`, `isNew` (monitor mode).
- `type: "summary"` — per app × country: fetched count, new reviews output, average rating, low-rating count and share, enriched count; plus run totals.

The run also writes an `OUTPUT` key-value record with the headline numbers.

### Pricing (draft — pending final confirmation)

Pay per event, no subscription:

| Event | Price |
|---|---|
| Run start | $0.0005 per run |
| Review | $0.0005 per review written to the dataset |
| Enriched review (≤2★ or keyword hit) | +$0.001 per enriched review |
| Monitor check | $0.002 per app × country per monitor run |
| Run summary report | $0.01 per run |

In monitor mode you only pay the review price for **new** reviews — steady-state monitoring of a quiet app costs little more than the check itself.

### Billing and delivery semantics

- **Confirmed vs. assumed charges.** Every run summary (and the `OUTPUT` record) reports `chargeEvents` — the counts the platform confirmed — separately from `assumedChargedRows`. If a charge call's outcome cannot be determined (for example, the connection fails after the request was sent), the delivery is treated as charged for accounting purposes, is never charged again by a later run, and the attempt is listed under `chargeOutcomeUnknown` for reconciliation. The policy favors under-charging over double-charging: an indeterminate charge is assumed to have landed and is never retried.
- **At-least-once delivery.** Every review row carries a `deliveryId`. If a dataset write succeeds but its acknowledgement is lost, the same review can appear more than once under the same `deliveryId` — dedupe on that field if you need exactly-once processing downstream.
- **One writer per monitored target (best effort).** Monitor runs for the same app × country are single-writer on a best-effort basis: an overlapping run normally skips the target instead of delivering or charging in parallel. The key-value store has no CAS, so under extreme concurrency two runs could both hold the lease; the worst case is duplicate rows in the dataset (dedupe on `deliveryId`).

### Known limits

- App Store backfill is capped at the latest 500 reviews per country (Apple's public feed). For monitoring this is a non-issue: new reviews always arrive inside that window.
- App Store developer replies are not available from the public feed and are returned as `null`; Google Play replies are included.
- Google Play data comes from the store's public web endpoints; if Google changes them, there may be a short gap while we adapt (same for every tool in this category).

### Example

```json
{
  "apps": ["com.spotify.music", "324684580"],
  "countries": ["gb", "de"],
  "mode": "monitor",
  "maxItems": 200,
  "keywords": ["crash", "login"]
}
```

# Actor input Schema

## `appStoreSort` (type: `string`):

App Store only: most recent or most helpful first.

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

One entry per app. Accepted forms: full store URLs (play.google.com/store/apps/details?id=... or apps.apple.com/<country>/app/id<digits>), a numeric App Store ID (e.g. 324684580), or a Google Play package name (e.g. com.spotify.music). The store is detected automatically; a country embedded in the URL is honored.

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

Optional extra country codes (ISO 3166-1 alpha-2, lowercase, e.g. us, gb, de, jp) to check for every app, on top of the URL country (or us by default).

## `googlePlaySort` (type: `string`):

Google Play only: newest, most relevant, or by rating.

## `keywords` (type: `array`):

Optional watchlist. Reviews whose title or text contains any keyword (case-insensitive) are flagged in keywordHits and counted as enriched.

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

Cap per app x country. Note: App Store is limited by Apple to the latest 500 reviews per country; Google Play can go deeper.

## `maxRating` (type: `integer`):

Optional. Only output reviews with at most this many stars (e.g. 2 to collect only negative reviews).

## `minRating` (type: `integer`):

Optional. Only output reviews with at least this many stars.

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

backfill: one-shot pull of existing reviews. monitor: output only reviews not seen in previous monitor runs of this Actor (state is kept between runs; schedule this Actor to get new-review alerts).

## `maxChargeUsd` (type: `number`):

Optional run spending cap in USD (estimated, at the reference prices). The run reserves the summary-report cost up front and stops delivering once the cap would be exceeded; a charge refusal (event limit reached) also stops the run and is reported in the summary. Leave empty to rely on the platform charge limit only.

## `maxTotalReviews` (type: `integer`):

Run-wide cap on reviews delivered in one run, across all apps and countries. maxItems is only a per-app-per-country cap.

## Actor input object example

```json
{
  "appStoreSort": "mostrecent",
  "apps": [
    "com.spotify.music",
    "324684580"
  ],
  "countries": [
    "gb",
    "de"
  ],
  "googlePlaySort": "newest",
  "keywords": [
    "crash",
    "charged twice",
    "cannot login"
  ],
  "maxItems": 500,
  "mode": "backfill",
  "maxTotalReviews": 10000
}
```

# Actor output Schema

## `appsChecked` (type: `string`):

No description

## `enriched` (type: `string`):

No description

## `fetched` (type: `string`):

No description

## `finishedAt` (type: `string`):

No description

## `lowRating` (type: `string`):

No description

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

No description

## `newReviews` (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 = {
    "apps": [
        "com.spotify.music",
        "324684580"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lone_fascia/app-store-review-monitor").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": [
        "com.spotify.music",
        "324684580",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lone_fascia/app-store-review-monitor").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": [
    "com.spotify.music",
    "324684580"
  ]
}' |
apify call lone_fascia/app-store-review-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lone_fascia/app-store-review-monitor"
        }
    }
}
```

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/sNV8nXXLjFUiJdPLh/builds/312ix2bimbqsNSUZf/openapi.json
