# App Store Reviews API - iOS Reviews by Country (`jayraj0975/apple-app-store-reviews`) Actor

Public customer reviews for iOS apps from Apple's official RSS customer-reviews JSON feed. Returns review items and one summary row per app+country (average rating and count per star).

- **URL**: https://apify.com/jayraj0975/apple-app-store-reviews.md
- **Developed by:** [Jay Gaikwad](https://apify.com/jayraj0975) (community)
- **Categories:** Developer tools, Automation, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 84.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.10 / 1,000 results

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 Reviews API - iOS Ratings by Country

Fetch public iOS App Store reviews for multiple apps and countries, then filter by star rating and date before any review is emitted or billed. Each app-country pair also gets one free summary row with an average and 1–5 star counts in the named `summaries` dataset and Key-Value store.

Store categories: **Developer Tools / Automation / SEO Tools**. Review price: **$0.10 per 1,000 reviews** (`$0.0001` each via `apify-default-dataset-item`). Summary rows are never charged.

Unofficial tool. Not affiliated with or endorsed by Apple.

### Inputs

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `appIds` | array of strings | yes | Instagram example | Numeric App Store IDs or full `apps.apple.com` URLs. Multiple apps are deduplicated. |
| `countries` | array of strings | no | `["us"]` | Two-letter storefront codes such as `us`, `gb`, or `de`. Multiple countries are deduplicated. |
| `ratings` | array of integers | no | all ratings | Keep only ratings from 1 through 5, for example `[1, 2]`. |
| `sinceDate` | string | no | empty | Keep reviews updated on or after a `YYYY-MM-DD` or ISO 8601 timestamp. Undated reviews are excluded when set. |
| `maxReviewsPerApp` | integer | no | `200` | Maximum filtered reviews per app and country, up to 500. |
| `sortBy` | enum | no | `mostRecent` | `mostRecent` or `mostHelpful`. |

Example:

```json
{
  "appIds": [
    "389801252",
    "https://apps.apple.com/us/app/slack/id618783545"
  ],
  "countries": ["us", "gb"],
  "ratings": [1, 2, 5],
  "sinceDate": "2026-11-01",
  "maxReviewsPerApp": 200,
  "sortBy": "mostRecent"
}
```

### Output and billing

Review rows are written to the default dataset and contain `recordType=review`, `appId`, `country`, `reviewId`, `author`, `rating`, `title`, `content`, `appVersion`, `voteCount`, `updatedAt`, and `scrapedAt`. Filters are applied before dataset writes, so excluded rows are not emitted or charged. Review rows are billed under the existing `apify-default-dataset-item` pricing event.

Summary rows contain `recordType=summary`, `reviewCount`, `averageRating`, and `count1Star` through `count5Star`. They summarize only the filtered reviews actually emitted for that app-country pair. To ensure users are not charged for summary statistics, they are written to the named dataset `summaries` and Key-Value store (`summary_<appId>_<country>`). Summary rows are never charged.

### Honest RSS limits

- Apple’s public customer-reviews RSS endpoint exposes at most 10 pages of 50 entries for an app-country-sort combination, so this actor cannot return more than 500 reviews per combination.
- The feed is a storefront-specific recent/helpful window, not a complete historical review archive. Older reviews outside Apple’s window cannot be recovered by this actor.
- Availability and ordering can differ by country and can change upstream. An app may have public reviews in one storefront and none in another.
- `sinceDate` and `ratings` filter only entries present in the RSS window. They do not expand that window.
- Requests are spaced by one second. Unexpected feed shapes stop the affected app-country pair instead of emitting malformed rows.

# Actor input Schema

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

Numeric App Store IDs (e.g. 389801252) or full apps.apple.com URLs (e.g. https://apps.apple.com/us/app/instagram/id389801252).

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

List of 2-letter ISO country codes (e.g. us, gb, de). Defaults to us.

## `ratings` (type: `array`):

Optional rating allowlist from 1 to 5. Empty means all ratings.

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

Keep reviews updated on or after this YYYY-MM-DD or ISO 8601 date. Reviews without a valid timestamp are excluded when set.

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

Maximum number of reviews to fetch per app and country. Apple's feed provides up to 10 pages x 50 = 500.

## `sortBy` (type: `string`):

Apple feed sort order for reviews.

## Actor input object example

```json
{
  "appIds": [
    "389801252"
  ],
  "countries": [
    "us"
  ],
  "maxReviewsPerApp": 200,
  "sortBy": "mostRecent"
}
```

# Actor output Schema

## `results` (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 = {
    "appIds": [
        "389801252"
    ],
    "countries": [
        "us"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jayraj0975/apple-app-store-reviews").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 = {
    "appIds": ["389801252"],
    "countries": ["us"],
}

# Run the Actor and wait for it to finish
run = client.actor("jayraj0975/apple-app-store-reviews").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 '{
  "appIds": [
    "389801252"
  ],
  "countries": [
    "us"
  ]
}' |
apify call jayraj0975/apple-app-store-reviews --silent --output-dataset

```

## MCP server setup

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

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/gEMeujcwqEc9jL0Uj/builds/aRwmuXXQJn80XsDba/openapi.json
