# Apple App Store Intelligence (`agentutils/app-store-intelligence`) Actor

Search the Apple App Store, look up app metadata across storefronts, and collect official customer reviews. No proxies.

- **URL**: https://apify.com/agentutils/app-store-intelligence.md
- **Developed by:** [AgentUtils](https://apify.com/agentutils) (community)
- **Categories:** SEO tools, Marketing, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 review records

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

## Apple App Store Intelligence

Search the Apple App Store, look up app metadata across storefronts, and collect customer reviews from **Apple's official public iTunes APIs**. No proxies, no unofficial storefront scraping, and no paid Apple APIs.

**AgentUtils** builds this Actor for ASO teams, mobile marketers, and AI agents that need structured App Store data.

### Use cases

- **ASO and competitor research** — search keywords, compare ratings, and read recent written reviews.
- **Multi-country monitoring** — check price, availability, and reviews for the same app in storefronts such as the United States and Taiwan in one run.
- **App metadata lookup** — resolve an App Store URL, numeric app ID, or bundle ID to normalized app records.
- **AI agents and MCP** — call the Actor with a compact JSON input and read `app` / `review` dataset items plus a `SUMMARY` document.

### What you get

- **Search** — keyword search across one or more App Store countries (`software`, `iPadSoftware`, or `macSoftware`), up to 200 results per term per country.
- **Lookup** — app metadata by numeric app ID, bundle ID, or App Store URL, including automatic URL parsing (`id389801252` and a storefront such as `/tw/`).
- **Reviews** — written customer reviews from Apple's public Customer Reviews RSS/JSON feed (pages 1–10, most recent or most helpful).
- **Full** — metadata and reviews in a single run.
- **Auto mode** (default) — runs Search when you only provide keywords, and Full when you provide app IDs, bundle IDs, or URLs. If you provide both, it searches the keywords and runs Full on the identifiers.

Every dataset item is a normalized `app` or `review` record. A `SUMMARY` document is also stored in the default key-value store with counts, missing or delisted apps, empty review feeds, rating distribution, average rating, and top app versions.

### Official Apple endpoints used

The Actor calls only these public HTTPS endpoints:

- iTunes Search API: `https://itunes.apple.com/search`
- iTunes Lookup API: `https://itunes.apple.com/lookup`
- Apple Customer Reviews feed: `https://itunes.apple.com/{country}/rss/customerreviews/page={page}/id={appId}/sortby={mostrecent|mosthelpful}/json` (and the equivalent `/xml` form when a JSON page is empty)

### Input example

Typical run (this is also the Actor's example input):

```json
{
  "mode": "full",
  "appUrls": ["https://apps.apple.com/us/app/instagram/id389801252"],
  "countries": ["us"],
  "sortBy": "mostRecent",
  "maxReviewsPerApp": 10
}
```

Multi-country lookup and reviews:

```json
{
  "mode": "full",
  "appUrls": ["https://apps.apple.com/tw/app/instagram/id389801252"],
  "countries": ["us", "tw"],
  "sortBy": "mostRecent",
  "maxReviewsPerApp": 5
}
```

Other useful inputs:

```json
{
  "mode": "search",
  "searchTerms": ["instagram"],
  "countries": ["us", "tw"],
  "limit": 25,
  "entity": "software"
}
```

```json
{
  "mode": "lookup",
  "appIds": ["389801252"],
  "bundleIds": ["com.burbn.instagram"],
  "countries": ["us", "gb", "jp", "tw"]
}
```

```json
{
  "mode": "reviews",
  "appIds": ["389801252"],
  "countries": ["us", "tw"],
  "sortBy": "mostRecent",
  "maxReviewsPerApp": 100,
  "minRating": 1,
  "maxRating": 5
}
```

### Output examples

The following records were produced by a live local run on 24 November 2026 against Apple's public APIs (Instagram, United States and Taiwan storefronts). Long text and image lists are trimmed here for readability.

#### App record (`recordType: "app"`)

Taiwan lookup of the same app — note the local currency, localized genre names, and `免費` listed price:

```json
{
  "recordType": "app",
  "rank": null,
  "searchTerm": null,
  "country": "tw",
  "appId": "389801252",
  "bundleId": "com.burbn.instagram",
  "name": "Instagram",
  "developer": "Instagram, Inc.",
  "developerId": 389801255,
  "primaryGenre": "Photo & Video",
  "genres": ["照片和影片", "社交"],
  "price": 0,
  "formattedPrice": "免費",
  "currency": "TWD",
  "isFree": true,
  "rating": 4.585,
  "ratingCount": 1316045,
  "currentVersionRating": 4.585,
  "currentVersionRatingCount": 1316045,
  "version": "457.0.0",
  "releaseDate": "2010-10-06T08:12:41Z",
  "currentVersionReleaseDate": "2026-11-23T13:20:47Z",
  "releaseNotes": "這個最新版本修復了故障及改善效能。",
  "minOsVersion": "16.3",
  "fileSizeBytes": 729354240,
  "contentAdvisoryRating": "12+",
  "languages": ["BN", "HR", "CS", "DA", "NL", "EN", "FI", "FR"],
  "iconUrl": "https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/81/47/e1/8147e182-6737-ae45-e896-ea87bc7f3954/Prod-0-0-1x_U007epad-0-0-0-1-0-0-sRGB-85-220.png/512x512bb.jpg",
  "screenshotUrls": ["https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/5e/a5/d3/5ea5d310-3746-f9d1-6f77-caf9e7757694/1fb63253-d8c7-4ae1-bd04-0e11954be270_1_iOS_5.5_zh_TW.jpg/392x696bb.jpg"],
  "appStoreUrl": "https://apps.apple.com/tw/app/instagram/id389801252?uo=4",
  "description": "由一點一滴時光匯聚成深厚友誼。在 Instagram 分享您的精彩時刻。",
  "scrapedAt": "2026-11-24T07:14:18.614Z"
}
```

A Search result also sets `rank` (1-based within that term and country) and `searchTerm`.

#### Review record (`recordType: "review"`)

```json
{
  "recordType": "review",
  "reviewId": "14796928991",
  "appId": "389801252",
  "appName": "Instagram",
  "country": "tw",
  "sortBy": "mostRecent",
  "rating": 2,
  "title": "莫名停權",
  "content": "我就沒做啥就停權了",
  "author": "梣淅",
  "authorUrl": "https://itunes.apple.com/tw/reviews/id1659997135",
  "appVersion": "455.0.0",
  "updatedAt": "2026-11-16T01:15:20-07:00",
  "voteSum": 0,
  "voteCount": 0,
  "reviewUrl": "https://itunes.apple.com/tw/review?id=389801252&type=Purple%20Software",
  "scrapedAt": "2026-11-24T07:14:18.614Z"
}
```

#### `SUMMARY` key-value record

From the same live run (2 app records and 10 reviews in 10.0 seconds):

```json
{
  "mode": "full",
  "requestedMode": "full",
  "countries": ["us", "tw"],
  "appCount": 2,
  "reviewCount": 10,
  "ratingDistribution": { "1": 6, "2": 1, "3": 0, "4": 2, "5": 1 },
  "averageRating": 2.1,
  "topVersions": [
    { "version": "455.0.0", "count": 5 },
    { "version": "456.0.0", "count": 5 }
  ],
  "missingApps": [],
  "emptyReviewFeeds": [],
  "stoppedReason": "completed",
  "notes": [
    "Skipped empty review page(s) 1, 2 for app 389801252 in tw."
  ]
}
```

The Apps and Reviews tables in the Output tab are defined by `.actor/dataset_schema.json`. Filter the default dataset by `recordType` if you want one kind of row only.

### Pricing (Pay Per Event)

| Event | When it is charged | Price |
| --- | --- | --- |
| `app-item` | Each normalized app record from search or lookup | **$0.0004** |
| `review-item` | Each normalized customer review record | **$0.0001** ($0.10 per 1,000 reviews) |
| `apify-actor-start` | Charged automatically at the start of a run (once at 256–512 MB) | **$0.00005** |

The primary event is `review-item`. This Actor does not charge the synthetic `apify-default-dataset-item` event, so you are not billed twice for the same row.

The Actor charges one `app-item` or `review-item` event per stored dataset item, honors `maxTotalChargeUsd` / `ACTOR_MAX_TOTAL_CHARGE_USD`, and stops gracefully when the user's budget is exhausted. Local runs (`apify run` or `node dist/main.js`) are not in pay-per-event mode, so custom charging is a no-op and items are still written to the local dataset.

Do not call `Actor.charge()` for `apify-actor-start` in code; Apify charges that synthetic event automatically and covers the first 5 seconds of compute.

Free-plan users of Apify Store do not generate creator revenue. Paying users are billed only for the events that were actually charged.

### Use with AI agents and MCP

The Actor ships with an input schema, dataset views, and an output schema, so it can be called from the Apify API, integrations, or an MCP client that can run Apify Actors. A typical agent flow is:

1. Search for an app name, or pass an `apps.apple.com` URL / bundle ID.
2. Read `app` records for ratings, price, and storefront availability.
3. Optionally collect `review` records and the `SUMMARY` document for a compact rating overview.

Keep `limit` and `maxReviewsPerApp` modest in agent tools so runs stay cheap and fast.

### Reliability notes (verified against the live Apple feed)

Apple's customer reviews feed often returns HTTP 200 with a valid document and **no `entry` array**. These empty "holes" can appear at page 1 and in the middle of pages 1–10; they are not the end of the feed. This Actor:

- Always scans pages 1–10 (unless it already has `maxReviewsPerApp` reviews).
- Does not stop at the first empty page.
- Retries an empty page as `/xml`, with an alternate URL spelling, and with a browser-like User-Agent.
- If the requested sort returns no reviews at all, tries the other sort once and tags each row with the sort that served it.
- Deduplicates by review ID, app ID, and country.
- Logs a warning and records `emptyReviewFeeds` in `SUMMARY` when a storefront still has no reviews, instead of failing the run.
- Applies exponential backoff with jitter on HTTP 429 and 5xx, and limits concurrency (default 3).

On the live run above, Taiwan pages 1 and 2 were empty and were skipped; later pages still returned reviews.

### Limitations

- The public reviews feed returns **at most about 500 written reviews per country and sort** (10 pages × up to 50 reviews). Older reviews and star ratings without text are not in this feed.
- Empty pages can still reduce how many reviews a single run collects, even with hole-skipping. The `SUMMARY` notes field records skipped pages.
- Metadata and reviews are **storefront-specific**. A US rating, price, or review list is not the same as Taiwan's.
- A bundle ID is resolved through the Lookup API. If the app is not available in the first requested country, resolution can fail for that identifier.
- Delisted or unavailable apps are reported in `missingApps` and do not crash the run.
- This Actor does **not** collect Google Play data, in-app events, or App Store Connect private reviews.
- Apple may rate-limit aggressive traffic. Keep concurrency modest.

### Local development

```bash
npm install
npm run build
npm test
npm run test:live
npx apify validate-schema
npx apify run --purge --input '{"mode":"search","searchTerms":["instagram"],"countries":["us","tw"],"limit":3}'
```

Requires Node.js 22+. `apify-cli` is included as a dev dependency (`npx apify --version`). After you log in with `npx apify login`, you can deploy with `npx apify push`.

### License

Apache-2.0

# Actor input Schema

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

What to collect. Auto picks Search when only keywords are provided, and Full (metadata + reviews) when app IDs, bundle IDs, or App Store URLs are provided. If both are provided, Auto runs Search for the keywords and Full for the identifiers.

## `searchTerms` (type: `array`):

Keywords to search in the App Store (one term per line). Used in Search mode, and in Auto when terms are provided.

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

Numeric Apple track IDs (the digits after id in an App Store URL), e.g. 389801252.

## `bundleIds` (type: `array`):

iOS/macOS bundle identifiers, e.g. com.burbn.instagram. These are resolved to a numeric app ID via Apple's Lookup API before metadata or reviews are fetched.

## `appUrls` (type: `array`):

Full App Store or iTunes URLs, e.g. https://apps.apple.com/tw/app/instagram/id389801252. The numeric id and an optional two-letter storefront in the path are parsed automatically.

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

ISO 3166-1 alpha-2 App Store storefronts to query (one country per line). Metadata and reviews are storefront-specific, so the same app can differ in price, rating, and reviews across countries.

## `entity` (type: `string`):

Which App Store catalog to search. Lookup and reviews use the app ID directly and ignore this field. software covers iPhone and universal iOS apps.

## `limit` (type: `integer`):

Maximum number of apps to return per search term per country. Apple's Search API caps this at 200.

## `lang` (type: `string`):

Optional language for Search and Lookup results, e.g. en_us or zh_tw. Leave empty to use Apple's default for the storefront.

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

Sort order for Apple's customer reviews feed. If the requested sort returns no reviews after scanning pages 1-10 (empty 'holes' are common in this feed), the Actor tries the other sort once and tags those rows with the sort that actually served them.

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

Maximum number of reviews to keep per app per country after filters and deduplication. Capped at 500, which is Apple's public feed limit per country and sort.

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

Keep only reviews with this star rating or higher (1-5).

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

Keep only reviews with this star rating or lower (1-5).

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

Keep only reviews with an updated date on or after this date (ISO 8601 date or date-time).

## `maxRequestConcurrency` (type: `integer`):

How many requests to send to Apple in parallel. Keep this modest to stay polite and reduce the chance of HTTP 429 responses.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout when calling Apple's APIs.

## Actor input object example

```json
{
  "mode": "auto",
  "searchTerms": [
    "instagram"
  ],
  "appUrls": [
    "https://apps.apple.com/us/app/instagram/id389801252"
  ],
  "countries": [
    "us"
  ],
  "entity": "software",
  "limit": 25,
  "sortBy": "mostRecent",
  "maxReviewsPerApp": 50,
  "maxRequestConcurrency": 3,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

## `dataset` (type: `string`):

Normalized dataset items. Each item has recordType 'app' or 'review'.

## `summary` (type: `string`):

JSON summary with counts, missing or delisted apps, empty review feeds, rating distribution, average rating, and top app versions.

# 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 = {
    "mode": "auto",
    "searchTerms": [
        "instagram"
    ],
    "appUrls": [
        "https://apps.apple.com/us/app/instagram/id389801252"
    ],
    "countries": [
        "us"
    ],
    "limit": 25,
    "sortBy": "mostRecent",
    "maxReviewsPerApp": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("agentutils/app-store-intelligence").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 = {
    "mode": "auto",
    "searchTerms": ["instagram"],
    "appUrls": ["https://apps.apple.com/us/app/instagram/id389801252"],
    "countries": ["us"],
    "limit": 25,
    "sortBy": "mostRecent",
    "maxReviewsPerApp": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("agentutils/app-store-intelligence").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 '{
  "mode": "auto",
  "searchTerms": [
    "instagram"
  ],
  "appUrls": [
    "https://apps.apple.com/us/app/instagram/id389801252"
  ],
  "countries": [
    "us"
  ],
  "limit": 25,
  "sortBy": "mostRecent",
  "maxReviewsPerApp": 50
}' |
apify call agentutils/app-store-intelligence --silent --output-dataset

```

## MCP server setup

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

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/lygVFJrWNKqWqzT9G/builds/f1V90wUrrspORfSnF/openapi.json
