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

Search Apple App Store listings by keyword or app URL. Extract app name, developer, price, ratings, review count, category, screenshots, and description. Supports multiple countries, deep scraping, and optional review extraction for ASO and competitor research.

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

## Pricing

from $1.99 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Scraper

Scrape app listings and detail pages from the [Apple App Store](https://apps.apple.com) by keyword search or direct URL. Returns app name, rating, review count, price, full description, developer info, screenshots, and more.

### Features

- **Search mode** — find apps by keyword across any App Store country
- **Direct URL mode** — scrape specific app pages by URL or app ID
- **Detailed app metadata** — description, release notes, age rating, file size, in-app purchases
- **Ratings data** — average rating and total review count
- **Screenshots** — extract screenshot URLs for each app
- **Multi-country** — target any App Store storefront
- **Cloud-ready** — runs on Apify with scheduling, proxy rotation, and webhook support

### Use Cases

- App market research and competitive landscape analysis
- ASO (App Store Optimization) metadata research
- Monitoring competitor app ratings and review trends
- Developer portfolio and publisher discovery

### Input

| Field | Type | Default | Required | Description |
|-------|------|---------|----------|-------------|
| `mode` | string | `search` | | Scraping mode: `search` (by keyword) or `productUrl` (by direct URL). |
| `query` | string | — | ✓ (search) | Search term (e.g. `photo editor`, `fitness tracker`). |
| `productUrls` | array | — | ✓ (productUrl) | List of App Store app URLs. |
| `maxItems` | integer | `20` | | Maximum number of apps to return. |
| `country` | string | `us` | | Two-letter App Store country code (e.g. `us`, `gb`, `in`, `de`). |
| `proxyConfiguration` | object | Apify Residential | | Proxy settings. |

### Output

Each result includes:

| Field | Description |
|-------|-------------|
| `appId` | Numeric App Store app ID |
| `name` | App name |
| `url` | App Store product page URL |
| `developer` | Developer / publisher name |
| `price` | Price string (e.g. `Free`, `$4.99`) |
| `currency` | Currency code (e.g. `USD`) |
| `rating` | Average star rating (0–5) |
| `reviewCount` | Total number of ratings |
| `description` | Full app description |
| `version` | Current version string |
| `ageRating` | Age advisory (e.g. `4+`, `12+`) |
| `fileSizeMB` | App size in MB |
| `categories` | Array of categories |
| `primaryCategory` | Primary category label |
| `screenshots` | Array of screenshot URLs (iPhone) |
| `icon` | App icon URL (512×512) |
| `inAppPurchases` | `true` if the app offers in-app purchases |
| `country` | App Store country code |
| `scrapedAt` | ISO timestamp of scrape |

#### Sample Output

```json
{
  "appId": "544007664",
  "name": "YouTube",
  "url": "https://apps.apple.com/us/app/youtube/id544007664",
  "developer": "Google LLC",
  "price": "Free",
  "currency": "USD",
  "rating": 4.7,
  "reviewCount": 8241930,
  "description": "Get the official YouTube app on Apple devices. See what the world is watching...",
  "version": "19.50.2",
  "ageRating": "12+",
  "fileSizeMB": 95.3,
  "categories": ["Photo & Video", "Entertainment"],
  "primaryCategory": "Photo & Video",
  "screenshots": ["https://is1-ssl.mzstatic.com/image/thumb/.../0x750bb.jpeg"],
  "icon": "https://is1-ssl.mzstatic.com/image/thumb/.../512x512bb.png",
  "inAppPurchases": false,
  "country": "us",
  "scrapedAt": "2025-01-01T00:00:00.000Z"
}
```

### Notes

- Residential proxy recommended for bulk scraping
- Search mode returns summary listings; use `productUrl` mode for full detail
- Rate limits: keep `maxItems` reasonable per run to avoid throttling

### Current source handling

Search and app-ID lookup use Apple iTunes API metadata. Detail scraping supplements this with the current App Store page. Page age ratings take priority over API content-advisory ratings; both source values are retained in local evidence. Disabling deep scraping returns API metadata. Optional browser proxies apply to detail pages; API discovery is direct. Source login, consent and verification pages stop the run. Missing prices are not assumed to be free.

# Changelog

This Actor's version history is a separate document: https://apify.com/gitlab/apple-app-store-scraper/changelog.md

# Actor input Schema

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

Scraping mode: 'search' to search by keyword, 'productUrl' to scrape specific app URLs.

## `query` (type: `string`):

The search term to look for on the Apple App Store (used in search mode).

## `productUrls` (type: `array`):

List of Apple App Store app URLs to scrape (used in productUrl mode).

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

Maximum number of app results to scrape.

## `country` (type: `string`):

Two-letter country code for the App Store region (e.g. us, gb, in, de).

## `deepScraping` (type: `boolean`):

When enabled, visits each app's detail page for comprehensive data (rating, description, category, developer, etc.). Disable for faster but less detailed results.

## `includeReviews` (type: `boolean`):

When enabled, extracts user reviews (title, rating, date, text, developer response) from each app's detail page.

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

Optional proxy for detail-page browser requests. iTunes discovery uses a direct API connection.

## `searchQuery` (type: `string`):

Search terms to retrieve from the target source. Existing query input names remain supported.

## Actor input object example

```json
{
  "mode": "search",
  "query": "fitness",
  "productUrls": [
    "https://apps.apple.com/us/app/myfitnesspal-calorie-counter/id341232718"
  ],
  "maxItems": 10,
  "country": "us",
  "deepScraping": true,
  "includeReviews": false,
  "searchQuery": "fitness"
}
```

# Actor output Schema

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

Dataset containing the records extracted by this Actor.

# 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": "search",
    "query": "fitness",
    "productUrls": [
        "https://apps.apple.com/us/app/myfitnesspal-calorie-counter/id341232718"
    ],
    "maxItems": 10,
    "country": "us",
    "searchQuery": "fitness"
};

// Run the Actor and wait for it to finish
const run = await client.actor("gitlab/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 = {
    "mode": "search",
    "query": "fitness",
    "productUrls": ["https://apps.apple.com/us/app/myfitnesspal-calorie-counter/id341232718"],
    "maxItems": 10,
    "country": "us",
    "searchQuery": "fitness",
}

# Run the Actor and wait for it to finish
run = client.actor("gitlab/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 '{
  "mode": "search",
  "query": "fitness",
  "productUrls": [
    "https://apps.apple.com/us/app/myfitnesspal-calorie-counter/id341232718"
  ],
  "maxItems": 10,
  "country": "us",
  "searchQuery": "fitness"
}' |
apify call gitlab/apple-app-store-scraper --silent --output-dataset

```

## MCP server setup

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