# Apple App Store Scraper & ASO Rank Tracker (`pegton/app-store-scraper`) Actor

Apple App Store data via Apple's official public API: keyword search results with positions, top charts by country and category, app details and developer portfolios. ASO rank tracking for your app and competitors, plus price, version and rating change alerts.

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

## Pricing

from $0.40 / 1,000 apps

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 Scraper & ASO Rank Tracker

**Scrape the Apple App Store through Apple's official public API: keyword search results with their positions, top charts for 175 countries and 25 categories, full app details and complete developer portfolios. Track where your app and your competitors rank for each keyword and chart, and get alerts when an app changes its price, version, rating, name or category.**

No login, no cookies, no browser, no proxy needed. Every row comes from Apple's own iTunes Search API, Lookup API or RSS top-chart feeds, so runs don't break when the App Store website changes.

### Why this Actor

| | |
|---|---|
| 🔎 **4 sources, one schema** | Keyword search (up to 200 apps per keyword), top charts (Top Free, Top Paid, Top Grossing, New, for iPhone, iPad and Mac), app lookups by URL, ID or bundle ID, and every app of a developer. Each row has the same 40+ fields. |
| 📈 **ASO rank tracking** | List your app and competitors in `trackApps`. For every keyword and chart you get one `rank` row per app with its position (searches checked to depth 200, charts to 100), the top 3 apps, the previous rank and the change. |
| 🔔 **Change monitor without false alarms** | `monitorChanges` remembers every app per country. Next run, each row has `isNew`, `changes` (price, version, rating, name, category, minimum iOS, developer) and `ratingCountDelta`. Apple's servers sometimes return an older cached record. Version downgrades and rating wobble below 0.01 are ignored, so in our tests 427 unchanged apps produced **0 false changes**. |
| 💸 **Only pay for what changed** | `onlyChanged` skips unchanged apps, and skipped apps aren't charged. A daily monitor of 400 apps costs nothing on quiet days, apart from the rank rows you asked for. |
| 🌍 **Many countries in one run** | `countries: ["us", "gb", "de", "jp"]` runs every keyword, chart and app in each storefront, with local names, prices and currencies. |
| ✅ **Reliable and polite** | Official endpoints only. The Actor paces itself to Apple's guidance of about 20 API calls per minute, and retries with backoff. Invalid IDs, removed apps and empty charts become free `error` rows with a clear message. |

### Use cases

- **ASO / keyword rank tracking:** daily positions of your app for 20 keywords in 5 countries, with competitors next to it.
- **Competitor monitoring:** get a row when a competitor raises its price, ships a new version or changes its name or subtitle.
- **Market research:** what ranks in Top Grossing Health & Fitness in Germany, how old those apps are, and how often they update.
- **App idea validation:** search a niche ("habit tracker") and look at rating counts, ratings, update recency and paid vs. free.
- **Lead lists for app agencies and SDK vendors:** apps by category and country with developer name, seller URL and last update date (company data, no personal data).
- **Dashboards and AI agents:** clean typed JSON, ready for Google Sheets, n8n, Make, Zapier or an LLM.

### Input examples

**Search two keywords in the US and Germany**

```json
{
  "searchTerms": ["habit tracker", "budget app"],
  "countries": ["us", "de"],
  "maxResultsPerSearch": 50
}
```

**Top Grossing in three categories, 3 countries**

```json
{
  "charts": ["top-grossing"],
  "chartCategories": ["Health & Fitness", "Productivity", "Finance"],
  "countries": ["us", "gb", "de"],
  "chartSize": 100
}
```

**Daily ASO rank tracker plus competitor change alerts** (save as a task and schedule it)

```json
{
  "searchTerms": ["habit tracker", "habit app", "daily planner"],
  "charts": ["top-free", "top-paid"],
  "chartCategories": ["Productivity"],
  "countries": ["us", "de"],
  "trackApps": ["https://apps.apple.com/us/app/streaks/id963034692", "1232780281", "com.duolingo.DuolingoMobile"],
  "maxResultsPerSearch": 0,
  "chartSize": 0,
  "monitorChanges": true
}
```

With `maxResultsPerSearch: 0` and `chartSize: 0`, you only get the rank rows: 3 apps × 5 lists × 2 countries = 30 rows ≈ $0.03 per day.

**Every app of a developer, plus specific apps**

```json
{
  "developers": ["https://apps.apple.com/us/developer/google-llc/id281956209"],
  "apps": ["https://apps.apple.com/us/app/spotify-music-and-podcasts/id324684580", "com.duolingo.DuolingoMobile"],
  "countries": ["us"]
}
```

### Output

**App row** (shortened, real values from 18 Nov 2026)

```json
{
  "type": "app",
  "source": "search",
  "query": "habit tracker",
  "country": "de",
  "rank": 1,
  "appId": "1438388363",
  "bundleId": "com.davetech.habit",
  "name": "Habit Tracker - Tagesplaner",
  "url": "https://apps.apple.com/de/app/habit-tracker-tagesplaner/id1438388363",
  "developer": "InnerGrow",
  "price": 0.0,
  "currency": "EUR",
  "primaryGenre": "Productivity",
  "rating": 4.658,
  "ratingCount": 13138,
  "version": "2.15.13",
  "currentVersionReleaseDate": "2026-11-13T01:31:30Z",
  "daysSinceLastUpdate": 5,
  "releaseDate": "2019-01-31T09:10:14Z",
  "minimumOsVersion": "15.0",
  "fileSizeMB": 303.3,
  "languages": ["EN", "FR", "DE", "IT", "JA", "KO", "PT", "RU", "ZH", "ES"],
  "isNew": false,
  "changes": null,
  "ratingCountDelta": 2
}
```

When something changed, `changes` looks like `{"price": {"old": 4.99, "new": 0.0}, "version": {"old": "2.15.12", "new": "2.15.13"}}`.

Other fields: `developerId`, `developerUrl`, `sellerName`, `sellerUrl`, `formattedPrice`, `isFree`, `genres`, `ratingCurrentVersion`, `ratingCountCurrentVersion`, `releaseNotes`, `appAgeDays`, `contentRating`, `supportedDevicesCount`, `supportsIpad`, `iconUrl`, `descriptionLength`, plus `description` and `screenshotUrls` if you switch them on. Chart rows also have `chart` and `chartCategory`.

**Rank row**

```json
{
  "type": "rank",
  "source": "search",
  "query": "habit tracker",
  "country": "us",
  "appId": "963034692",
  "name": "Streaks",
  "rank": 14,
  "found": true,
  "checkedDepth": 192,
  "previousRank": 14,
  "rankChange": 0,
  "topCompetitors": [{"rank": 1, "appId": "1438388363", "name": "Habit Tracker"}, {"rank": 2, "appId": "6443918070", "name": "Habit Tracker - HabitKit"}, {"rank": 3, "appId": "1547137474", "name": "Onrise: Habit Tracker & Focus"}]
}
```

`rankChange` is positive when the app moved up. `found: false` means the app isn't in the first `checkedDepth` results.

The dataset has three views: **Apps**, **Rank tracking** and **Errors**. A `RUN_SUMMARY` record in the key-value store has the counts, API calls and the estimated charge.

### Pricing (pay per event)

| Event | Price | When it's charged |
|---|---|---|
| App | **$0.0004** ($0.40 per 1,000 apps) | Each app row with full details, from a search, chart, lookup or developer. Unchanged apps skipped by `onlyChanged` are free. |
| Rank check | $0.001 | One tracked app checked in one keyword or chart for one country. |
| Actor start | $0.00005 | Apify's standard start event. |

Errors (invalid IDs, removed apps, empty charts) are never charged. Our test run with 2 keywords and 4 charts in 2 countries, 2 app lookups, Google's full portfolio and 3 tracked apps returned 427 apps and 36 rank checks in 54 seconds: about $0.21. `maxItems` and `maxChargeUsd` stop a run before it gets more expensive than you want.

### FAQ

**Is the search position the same as on my iPhone?**
It's the order of Apple's official Search API for that storefront. That ranking follows the App Store's own search closely, but personalisation, Search Ads and the device can make the app show slightly different positions. For tracking trends over time, using the same source every day is what matters.

**How many countries and categories are supported?**
Every App Store storefront with a 2-letter code (us, gb, de, fr, jp, br, in, ...). Charts cover the overall chart and 25 categories, including Games, Health & Fitness, Finance and Productivity. Apple's chart feeds return up to 100 apps.

**Can I get reviews too?**
Use our [App Store & Google Play Reviews Scraper](https://apify.com/pegton/app-review-monitor). It works in many countries and has a new-reviews-only monitor.

**How fast is it?**
Charts are fast. Search and lookup calls are paced to about 20 per minute, which is Apple's guidance, and a lookup fetches up to 150 apps in one call. 1,000 apps by ID take about 30 seconds, and 20 keywords about a minute per country. Add a proxy in the input to run large jobs faster.

**Is this legal? Is there personal data?**
The Actor only uses public endpoints that Apple provides for developers and affiliates. It doesn't log in, use cookies or bypass any protection. The output is app and company data: app names, prices, ratings and the developer or seller as published by Apple. No user reviews or user names are included.

**Something isn't working?**
Open an issue on the Issues tab with your input. Fixes usually ship the same day.

### Related tools by pegton

- [App Store & Google Play Reviews Scraper](https://apify.com/pegton/app-review-monitor): reviews in many countries, new-reviews-only monitor.
- [Website Screenshot & Change Monitor](https://apify.com/pegton/website-screenshot-monitor): watch competitors' landing pages for visual changes.
- [App Review Alerts for n8n](https://pegton.gumroad.com/l/app-review-alerts-n8n): a free ready-made workflow for review alerts.

# Actor input Schema

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

App Store search terms, one per line (e.g. habit tracker, budget app). Each keyword returns the apps in the order of Apple's official Search API, with their position.

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

Full app details for specific apps. Accepts https://apps.apple.com/us/app/spotify/id324684580, 324684580 or com.spotify.client. Up to thousands per run (looked up in batches of 150).

## `developers` (type: `array`):

All apps of a developer, e.g. https://apps.apple.com/us/developer/google-llc/id281956209 or 281956209.

## `charts` (type: `array`):

Apple's official top charts (up to 100 apps each), per country and category.

## `chartCategories` (type: `array`):

Leave empty or pick 'All' for the overall chart. Every chart is fetched for every category picked.

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

2-letter codes, one per line: us, gb, de, fr, jp, br, in ... Every keyword, chart and app is checked in each country.

## `trackApps` (type: `array`):

Your app and competitors (URL, ID or bundle ID). For every keyword and chart, you get one 'rank' row per app: its position (searches checked to depth 200, charts to 100), the top 3 apps, and with monitoring on, the change since the last run.

## `monitorChanges` (type: `boolean`):

Remembers each app (per country) and each tracked rank. On the next run, app rows get isNew, changes (price, version, rating, rating count, name, category, minimum iOS, size) and ratingCountDelta; rank rows get previousRank and rankChange. Schedule the same input daily or weekly.

## `onlyChanged` (type: `boolean`):

With monitoring on: apps that did not change since the last run are skipped and not charged. Rank rows are always delivered.

## `maxResultsPerSearch` (type: `integer`):

How many search results to save per keyword and country (Apple returns up to 200). 0 = only rank rows for tracked apps.

## `chartSize` (type: `integer`):

How many chart positions to save per chart, category and country. 0 = only rank rows for tracked apps.

## `device` (type: `string`):

Which App Store to search.

## `includeDescription` (type: `boolean`):

Adds the full App Store description text (long). descriptionLength is always included.

## `includeScreenshots` (type: `boolean`):

Adds iPhone and iPad screenshot URLs.

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

Stop after this many charged rows (0 = no limit).

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

Stop before this amount would be exceeded. The run's own max-charge setting is always respected too.

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

Not needed. Apple's API asks for about 20 calls per minute per IP, so the Actor paces itself. A proxy lets very large runs go faster.

## Actor input object example

```json
{
  "searchTerms": [
    "habit tracker"
  ],
  "charts": [
    "top-free"
  ],
  "chartCategories": [
    "Productivity"
  ],
  "countries": [
    "us"
  ],
  "monitorChanges": false,
  "onlyChanged": false,
  "maxResultsPerSearch": 50,
  "chartSize": 100,
  "device": "iphone",
  "includeDescription": false,
  "includeScreenshots": false,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `apps` (type: `string`):

No description

## `ranks` (type: `string`):

No description

## `summary` (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 = {
    "searchTerms": [
        "habit tracker"
    ],
    "charts": [
        "top-free"
    ],
    "chartCategories": [
        "Productivity"
    ],
    "countries": [
        "us"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pegton/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 = {
    "searchTerms": ["habit tracker"],
    "charts": ["top-free"],
    "chartCategories": ["Productivity"],
    "countries": ["us"],
}

# Run the Actor and wait for it to finish
run = client.actor("pegton/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 '{
  "searchTerms": [
    "habit tracker"
  ],
  "charts": [
    "top-free"
  ],
  "chartCategories": [
    "Productivity"
  ],
  "countries": [
    "us"
  ]
}' |
apify call pegton/app-store-scraper --silent --output-dataset

```

## MCP server setup

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