# Apple App Store Reviews Scraper (`huggable_quote/apple-app-store-scraper`) Actor

Collect available Apple App Store reviews by country, including results beyond the common 500-review feed limit. Pay only $0.10 per 1,000 stored reviews.

- **URL**: https://apify.com/huggable\_quote/apple-app-store-scraper.md
- **Developed by:** [OrbitData Labs](https://apify.com/huggable_quote) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.10 / 1,000 stored 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?

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

## Apple App Store Reviews Scraper

Collect available Apple App Store reviews by country, including results beyond the common 500-review feed limit. Pay only $0.10 per 1,000 stored reviews.

Paste an App Store URL and run. That's it. Fast, HTTP-only, no login, no browser, no residential proxies.

### Why this scraper

- **Beyond the common 500-review feed limit.** Most App Store review scrapers rely on Apple's RSS feed, which serves at most ~500 recent reviews per app per country. This actor's primary source is the same public review endpoint the App Store website itself uses, which often provides reviews beyond that limit — you get whatever reviews Apple currently provides, up to your requested limit.
- **Multi-country in one run.** Query `us`, `kr`, `jp`, `de`, … storefronts in a single run; every record is labeled with `requestedCountry` and `resolvedCountry` (verified against the iTunes catalog).
- **Developer replies included** when Apple returns them.
- **Fair pay-per-result pricing.** You pay only for unique reviews actually stored. Empty results, duplicates, errors, retries, and status/notice records are never charged. There is no per-run start fee.
- **Transparent degradation.** If the primary source is unavailable, the actor automatically falls back to the public RSS feed (at most ~500 recent reviews per country) and tells you explicitly — via a `notice` record and `fallbackUsed: true` on affected reviews.

### Pricing

**$0.10 per 1,000 reviews** ($0.0001 per stored unique review), charged as pay-per-event. There is no per-run start fee. Only valid unique reviews stored to the dataset are charged — notice records, error records, empty results, duplicates, retries, and the RSS fallback process itself are free.

Estimated maximum price = `number of apps × number of countries × maxReviewsPerApp × $0.0001`

| Workload | Maximum price |
|---|---:|
| 1 app × 1 country × 100 reviews | $0.01 |
| 1 app × 1 country × 500 reviews | $0.05 |
| 1 app × 1 country × 1,000 reviews | $0.10 |
| 10 apps × 3 countries × 1,000 reviews | $3.00 |
| 100,000 stored reviews | $10.00 |

The actual charge is usually lower — you are billed only for reviews that exist and are stored. Set `maxCostPerRun` for a hard budget cap; the run stops before exceeding it. The estimated maximum is also printed to the log at the start of every run.

### Input

Minimal:

```json
{
  "startUrls": [{ "url": "https://apps.apple.com/us/app/chatgpt/id6448311069" }]
}
```

Full example:

```json
{
  "startUrls": [{ "url": "https://apps.apple.com/us/app/chatgpt/id6448311069" }],
  "appIds": ["378084485"],
  "countries": ["us", "kr", "jp"],
  "language": "en-US",
  "maxReviewsPerApp": 1000,
  "includeAuthorName": false,
  "maxCostPerRun": 5,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

This example covers 2 apps × 3 countries × up to 1,000 reviews each — at most 6,000 stored reviews, i.e. at most $0.60.

| Field | Default | Notes |
|---|---|---|
| `startUrls` / `appIds` | — | At least one App Store app URL or numeric app ID. De-duplicated automatically. |
| `countries` | `us`, or the country in each URL | Two-letter storefront codes. |
| `language` | storefront default | Response language hint. |
| `maxReviewsPerApp` | `200` | Per app **per country**. You receive whatever reviews Apple currently serves within this limit. |
| `includeAuthorName` | `false` | Reviewer public display name; excluded by default for privacy. |
| `maxCostPerRun` | no cap | Hard USD budget cap, enforced before requests are made. |
| `proxyConfiguration` | none | Optional. Datacenter proxies are sufficient; residential proxies are never selected automatically. |

### Output

One record per review:

```json
{
  "type": "review",
  "reviewId": "12476009023",
  "appId": "6448311069",
  "appName": "ChatGPT",
  "appUrl": "https://apps.apple.com/us/app/chatgpt/id6448311069",
  "requestedCountry": "us",
  "resolvedCountry": "us",
  "requestedLanguage": null,
  "resolvedLanguage": null,
  "source": "amp",
  "fallbackUsed": false,
  "title": "Amazing for college",
  "text": "…",
  "rating": 5,
  "reviewedAt": "2025-03-28T21:44:08Z",
  "isEdited": false,
  "appVersion": null,
  "developerResponse": null,
  "developerResponseAt": null,
  "collectedAt": "2026-08-26T12:00:00.000Z"
}
```

Field notes — only values present in Apple's response are stored; anything missing is `null`, never invented:

- `source: "amp"` (primary) provides `isEdited` and, when Apple returns one, `developerResponse` / `developerResponseAt`. It does not provide the review's `appVersion`.
- `source: "rss"` (fallback) provides `appVersion`; it does not provide `isEdited` or developer replies.
- Review order follows Apple's response order and is **not** guaranteed to be strictly sorted by date.
- An app missing from a requested storefront produces an uncharged `type: "error"` record with `reason: "APP_NOT_FOUND_IN_COUNTRY"` — a country that returns nothing is explained, not silent.
- A fallback produces an uncharged `type: "notice"` record (`notice: "AMP_UNAVAILABLE_RSS_FALLBACK"`) so reduced coverage is never silent.

### Known limitations

- **No "all reviews" claim.** Apple's public endpoints serve a subset of all historical reviews. You get the available reviews within your requested limit — availability varies by app and country and can change over time.
- The primary source is an unofficial path used by Apple's own web store; Apple may change or restrict it at any time. If that happens, the actor degrades to the documented RSS fallback (~500 recent reviews per country) instead of breaking.
- Apple throttles bursts (HTTP 429). The actor paces requests, retries with exponential backoff, and rotates proxy sessions — heavy runs get slower rather than failing.
- Total per-app review depth has been verified into the thousands, but no fixed upper bound is guaranteed.

### Development

```bash
npm install
npm run build
npm run typecheck
npm run test:fixtures   # offline, anonymized-fixture regression
```

Local run: put an input JSON at `storage/key_value_stores/default/INPUT.json`, then `npm run start`.

# Actor input Schema

## `startUrls` (type: `array`):

Apple App Store app URLs, e.g. https://apps.apple.com/us/app/chatgpt/id6448311069. Country in the URL is used unless you set Countries below.

## `appIds` (type: `array`):

Numeric App Store app IDs (alternative to URLs).

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

Two-letter storefront country codes (e.g. us, kr, jp). Default: us, or the country from each URL.

## `language` (type: `string`):

Optional response language hint (e.g. en-US, ko). Defaults to the storefront's own language.

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

Upper bound of reviews stored per app per country. Default 200. You get whatever reviews Apple currently serves within this limit — availability varies per app and country. Price example: 2 apps x 3 countries x 500 = at most 3,000 reviews = at most $0.30 at $0.10 per 1,000 reviews; only unique stored reviews are charged.

## `includeAuthorName` (type: `boolean`):

Off by default for privacy. Turn on only if you need the public display name.

## `maxCostPerRun` (type: `integer`):

Hard budget cap in USD. Collection stops before this would be exceeded (computed from the per-review price of this actor's pay-per-event pricing).

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

Optional Apify proxy settings. Datacenter proxies are sufficient; residential proxies are never selected automatically.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apps.apple.com/us/app/chatgpt/id6448311069"
    }
  ],
  "maxReviewsPerApp": 200,
  "includeAuthorName": false
}
```

# Actor output Schema

## `reviews` (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 = {
    "startUrls": [
        {
            "url": "https://apps.apple.com/us/app/chatgpt/id6448311069"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("huggable_quote/apple-app-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 = { "startUrls": [{ "url": "https://apps.apple.com/us/app/chatgpt/id6448311069" }] }

# Run the Actor and wait for it to finish
run = client.actor("huggable_quote/apple-app-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 '{
  "startUrls": [
    {
      "url": "https://apps.apple.com/us/app/chatgpt/id6448311069"
    }
  ]
}' |
apify call huggable_quote/apple-app-store-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,huggable_quote/apple-app-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/FuQRoPBGLnfOdcuMY/builds/cRTiiyhaXD5eqSetV/openapi.json
