# App Store Top Charts Scraper: iPhone & iPad Rankings (`informed_almandine_vzb/app-store-top-charts`) Actor

Track Apple App Store Top Free & Top Paid charts for any country, genre and device (iPhone/iPad): ranks 1-200 with developer, rating, rating count, price and version, plus rank changes since your last run. onlyChanged mode for cheap daily tracking. No login. $2 per 1,000 rows.

- **URL**: https://apify.com/informed_almandine_vzb/app-store-top-charts.md
- **Developed by:** [Almandine Data](https://apify.com/informed_almandine_vzb) (community)
- **Categories:** Lead generation, 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 $2.00 / 1,000 chart position scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Top Charts Scraper: iPhone & iPad Rankings with Rank Changes

Track **Apple App Store Top Free and Top Paid charts** for any country, any genre, on iPhone and iPad: **one row per chart position, ranks 1–200**, enriched with developer, rating, rating count, price and version, plus **rank movement since your last run**. Export as **JSON, CSV, Excel or XML**, or pull it through the **Apify API, CLI, SDKs, MCP, n8n, Make or Zapier**. No login, no browser.

### What it does

- Reads Apple's public chart pages (`apps.apple.com/{country}/{iphone|ipad}/charts/{genre}`), which list the Free and Paid charts in rank order up to position 200.
- Fills in every position with Apple's public lookup data: bundle ID, developer, average rating, exact rating count, price, currency, content rating, version and last update.
- Remembers each chart between runs and adds `previousRank`, `rankChange` (positive = moved up) and `isNewEntry`. With `onlyChanged: true`, scheduled runs return only the apps that moved or entered.
- Runs any combination of countries × devices × genres × charts in one go.

### Use cases

- **ASO & competitor tracking:** daily `onlyChanged` runs on your category in your key markets; alert in Slack when a competitor jumps 20+ places.
- **Market & launch research:** see which new apps break into the Top 200 of Finance, Health & Fitness or Puzzle Games in the US, UK, Germany and Japan.
- **Lead lists for app-focused agencies and ad networks:** chart-ranked publishers by genre and country, then enrich them with our App Store details actor.
- **Data journalism & investor research:** longitudinal chart history in your own warehouse, one scheduled run per day.

### Why use this scraper?

| | This Actor | Typical chart scrapers |
|---|---|---|
| **Depth** | Ranks 1–200 per chart | Often top 50–100 only |
| **Coverage** | Countries × iPhone/iPad × 40+ genres in one run | Often one chart per run |
| **Rank movement** | `previousRank`, `rankChange`, `isNewEntry` built in | You diff snapshots yourself |
| **Monitoring cost** | `onlyChanged` skips unchanged positions, which aren't charged | Re-bills every position every run |
| **Method** | Plain HTTP on public, robots.txt-allowed pages + Apple lookup | Some rely on headless browsers or private APIs |
| **Price** | **$2.00 per 1,000 chart rows**, $0 start fee | Varies |

### Input parameters

| Field | Type | Default | What it does |
|---|---|---|---|
| `countries` | array | `["us"]` | 2-letter storefront codes (`us`, `gb`, `de`, `jp`, `br`...). |
| `devices` | array | `["iphone"]` | `iphone` and/or `ipad`. |
| `chartTypes` | array | `["top-free", "top-paid"]` | Which charts to return. |
| `genres` | array | `["36"]` | Genre IDs or names (table below). |
| `maxRank` | integer | `100` | Return positions 1–N (max 200). |
| `onlyChanged` | boolean | `false` | Only apps that moved or entered since the last run (first run returns all). |
| `delaySeconds` | number | `1.0` | Pause between requests. |

**Genres:** `36` / `all` (All Apps), `6014` / `games` (All Games), `6000` business, `6017` education, `6016` entertainment, `6015` finance, `6023` food-drink, `6027` graphics-design, `6013` health-fitness, `6012` lifestyle, `6020` medical, `6011` music, `6010` navigation, `6009` news, `6008` photo-video, `6007` productivity, `6006` reference, `6024` shopping, `6005` social-networking, `6004` sports, `6003` travel, `6002` utilities, `6001` weather, `6018` books, `6021` magazines-newspapers, `6026` developer-tools. Games: `7001` action-games, `7002` adventure-games, `7004` board-games, `7005` card-games, `7006` casino-games, `7003` casual-games, `7009` family-games, `7011` music-games, `7012` puzzle-games, `7013` racing-games, `7014` role-playing-games, `7015` simulation-games, `7016` sports-games, `7017` strategy-games, `7018` trivia-games, `7019` word-games.

#### Example input: daily movement tracker

```json
{
  "countries": ["us", "gb", "de"],
  "devices": ["iphone"],
  "chartTypes": ["top-free"],
  "genres": ["finance", "health-fitness"],
  "maxRank": 200,
  "onlyChanged": true
}
```

### Output & example output

One row per chart position.

```json
{
  "platform": "ios",
  "device": "iphone",
  "country": "us",
  "chartType": "top-free",
  "genreId": "6014",
  "genre": "All Games",
  "rank": 1,
  "appId": "6761760135",
  "bundleId": "com.oakever.meowdoku",
  "title": "Meowdoku!",
  "subtitle": "Brain Puzzle Games",
  "developer": "Oakever Games",
  "developerId": 1234567890,
  "primaryGenre": "Games",
  "rating": 4.8,
  "ratingCount": 421000,
  "price": 0.0,
  "currency": "USD",
  "free": true,
  "hasInAppPurchases": true,
  "contentRating": "12+",
  "version": "1.4.2",
  "updated": "2026-11-03T07:00:00Z",
  "released": "2026-06-12T07:00:00Z",
  "isEditorsChoice": false,
  "icon": "https://is1-ssl.mzstatic.com/image/thumb/.../512x512bb.jpg",
  "url": "https://apps.apple.com/us/app/meowdoku/id6761760135",
  "previousRank": 3,
  "rankChange": 2,
  "isNewEntry": false,
  "scrapedAt": "2026-11-10T04:00:35+00:00"
}
```

*Illustrative values; `developerId`, `ratingCount`, `version` and dates come from Apple's lookup at run time.* `subtitle`, `hasInAppPurchases` and `isEditorsChoice` are only published for ranks 1–25 (null below that).

### Pricing (Pay-Per-Result)

| Event | What is charged | Price |
|---|---|---|
| `chart-row` | One chart position pushed to the dataset | **$0.002 ($2.00 / 1,000)** |
| `apify-actor-start` | Run started | **$0.00** |

- Default run (US iPhone, All Apps, Free + Paid, top 100) = 200 rows ≈ **$0.40**.
- One chart, full top 200 = **$0.40**. Ten charts × top 100 daily ≈ **$2.00/day** before `onlyChanged` savings.
- Errors and unchanged positions in `onlyChanged` mode are **never charged**.

### Reliability and honest limits

- **App Store only (v1).** Google Play's public pages don't include chart rankings, and the endpoint that loads them is disallowed by robots.txt, so Play charts are not offered.
- Apple publishes **Top Free and Top Paid** on its web charts. Top Grossing is not offered there, so it isn't offered here.
- Occasional **app bundles** in the paid charts are skipped (their rank number is left as a gap). Apps that Apple's lookup can't resolve in that storefront are skipped and never charged.
- `isNewEntry` means "new to the tracked range" (it may have been ranked just below `maxRank` last time).

### Almandine App Intelligence Suite

Four Actors that cover iOS and Android, from "what's ranking" to "what users say". Each one works on its own, and they share IDs so you can chain them.

| Actor | What it gives you | Price |
|---|---|---|
| [App Store Top Charts Scraper](https://apify.com/informed_almandine_vzb/app-store-top-charts) | Top Free / Top Paid ranks 1–200 by country, genre, iPhone/iPad, with rank changes | $2.00 / 1,000 rows |
| [Apple App Store App Details Scraper](https://apify.com/informed_almandine_vzb/app-store-app-details) | Ratings, versions, release notes, size, price, developer for any iOS app | $1.50 / 1,000 apps |
| [Google Play App Details Scraper](https://apify.com/informed_almandine_vzb/google-play-apps) | Installs, rating histogram, version, developer email/website, similar apps | $1.50 / 1,000 apps |
| [App Store & Google Play Reviews Scraper](https://apify.com/informed_almandine_vzb/app-store-google-play-reviews) | Reviews from both stores in one schema, multi-country, with developer replies | $1.00 / 1,000 reviews |

**Typical workflow:** find who's climbing with **Top Charts** → profile them with the **App Details** Actors → read what their users complain about with **Reviews** → schedule all of them with `onlyChanged` / `onlyNew` so repeat runs only return (and bill) what changed.

### API & MCP

```bash
curl -X POST "https://api.apify.com/v2/acts/informed_almandine_vzb~app-store-top-charts/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"countries": ["us"], "genres": ["games"], "chartTypes": ["top-free"], "maxRank": 50}'
```

AI agents can call it through Apify's MCP server (`informed_almandine_vzb/app-store-top-charts`), e.g. "which finance apps entered the US top 100 this week?"

### Data and compliance

- Sources: public chart pages on `apps.apple.com` (listed in Apple's own chart sitemap) and Apple's public `itunes.apple.com/lookup?id=` endpoint. Both are allowed by robots.txt as of Nov 2026. The Actor does not call `/api/`, `/v1/`, `/rss/` or search endpoints, and needs no account or token.
- Output is app and publisher catalog data only, with no personal data.
- Per-input errors go to the run's `ERRORS` key-value record and are never charged.

### FAQ

**What happens with empty `{}` input?**
US iPhone, All Apps, Top Free + Top Paid, ranks 1–100: 200 rows.

**How does rank tracking work?**
The Actor keeps the last ranks of every chart in a named key-value store (`app-store-top-charts-state`). Each new run compares against it. Schedule it daily for a clean history.

**Can I get Google Play charts?**
Not in this version. See the limits above.

# Actor input Schema

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

2-letter App Store storefront codes, e.g. us, gb, de, jp.

## `devices` (type: `array`):

iphone and/or ipad.

## `chartTypes` (type: `array`):

top-free and/or top-paid.

## `genres` (type: `array`):

Genre IDs or names: 36 / all (All Apps), 6014 / games, 6005 / social-networking, 6015 / finance, 7012 / puzzle-games ... See README for the full list.

## `maxRank` (type: `integer`):

Positions 1 to N (Apple publishes up to 200).

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

For scheduled tracking: emit only apps that moved or entered the chart since the previous run (first run returns everything). Unchanged positions are not charged.

## `delaySeconds` (type: `number`):

Polite pause between requests.

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

Not needed for normal runs. Enable only if you see repeated HTTP 429/403 errors.

## Actor input object example

```json
{
  "countries": [
    "us"
  ],
  "devices": [
    "iphone"
  ],
  "chartTypes": [
    "top-free",
    "top-paid"
  ],
  "genres": [
    "36"
  ],
  "maxRank": 100,
  "onlyChanged": false,
  "delaySeconds": 1
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `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 = {
    "countries": [
        "us"
    ],
    "devices": [
        "iphone"
    ],
    "chartTypes": [
        "top-free",
        "top-paid"
    ],
    "genres": [
        "36"
    ],
    "maxRank": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("informed_almandine_vzb/app-store-top-charts").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 = {
    "countries": ["us"],
    "devices": ["iphone"],
    "chartTypes": [
        "top-free",
        "top-paid",
    ],
    "genres": ["36"],
    "maxRank": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("informed_almandine_vzb/app-store-top-charts").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 '{
  "countries": [
    "us"
  ],
  "devices": [
    "iphone"
  ],
  "chartTypes": [
    "top-free",
    "top-paid"
  ],
  "genres": [
    "36"
  ],
  "maxRank": 100
}' |
apify call informed_almandine_vzb/app-store-top-charts --silent --output-dataset

```

## MCP server setup

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

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/abQciqZJswN3iF6BW/builds/TYTWc0ksw9HPXvENi/openapi.json
