# App Store Top Charts Scraper — Daily Ranks by Country (`yugenox/app-store-top-charts-scraper`) Actor

Apple App Store Top Free and Top Paid charts for any country, iPhone, iPad or Mac, and every category or game genre: rank 1-200, app id, name, developer, price, rating, rating count, icon, link. Daily snapshots with rank changes vs your last run. No login.

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

## Pricing

from $1.50 / 1,000 chart rows

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 Top Charts Scraper — Daily Ranks by Country

Get the Apple App Store **Top Free** and **Top Paid** charts for any country, for **iPhone, iPad or Mac**, and for **every category and game genre** — ranks 1 to 200, with the app id, name, developer, price, rating, rating count, icon and App Store link for every rank. Run it daily and every row also tells you how the app moved since your last run.

No login, no API key, no app needed.

### What you get

- **Top Free and Top Paid charts**, ranks 1–200 per chart
- **175 countries** (any App Store storefront: us, gb, de, jp, in, br, …)
- **iPhone, iPad and Mac** charts
- **All Apps, All Games and every category / game genre** — Photo & Video, Finance, Health & Fitness, Games: Puzzle, Games: Strategy and 40 more
- **Full app fields for every rank**: name, developer, price + currency, rating, rating count, genres, icon, link (ranks 1–25 also bring bundle id, subtitle, age rating, in-app purchases and the Editors' Choice badge)
- **Rank changes**: turn on *Compare with the previous run* and each row gets `previousRank`, `rankChange` and `isNewEntry`
- Prices, ratings and app names exactly as the App Store of that country shows them (local currency and language)

### Use cases

- **App Store Optimization (ASO)**: track your app's and your competitors' daily chart positions by country and category
- **Mobile growth and UA teams**: spot apps that are climbing fast before they peak, and see which markets an app is winning
- **App investors and analysts**: build a daily rank history across countries to watch momentum
- **Market research**: see which categories and price points lead the Top Paid charts country by country
- **Publishers and studios**: monitor game genres for new entries and launch performance

### How to use it

1. Pick **Countries** (two-letter codes, e.g. `us`, `gb`, `jp`).
2. Pick **Devices**, **Charts** and **Categories**.
3. Set **Ranks per chart** (1–200).
4. Run. For daily tracking, turn on **Compare with the previous run** and add a daily schedule.

Every country × device × category combination is one chart page, which carries both Top Free and Top Paid.

### Input

| Field | What it does | Default |
|---|---|---|
| `countries` | App Store country codes | `["us"]` |
| `platforms` | `iphone`, `ipad`, `mac` | `["iphone"]` |
| `charts` | `top-free`, `top-paid` | both |
| `categories` | Genre ids: `36` = All Apps, `6014` = All Games, `6008` = Photo & Video, `7012` = Games: Puzzle … (pick from the list) | `["36"]` |
| `limit` | Ranks per chart, 1–200 | `100` |
| `appDetails` | Full app fields for ranks 26+ (one app page each). Off = faster: ranks 26+ carry rank, app id and link (iPhone All Apps ranks 26–100 still get name and developer) | `true` |
| `compareWithPrevious` | Adds `previousRank`, `rankChange`, `isNewEntry` | `false` |
| `maxItems` | Stop after this many rows (0 = no limit) | `0` |

Example:

```json
{
  "countries": ["us", "gb", "de"],
  "platforms": ["iphone"],
  "charts": ["top-free", "top-paid"],
  "categories": ["36", "6014"],
  "limit": 100,
  "compareWithPrevious": true
}
```

### Output

One row per app per rank per chart. A real row (US, iPhone, Top Paid Games, 2026-11-07, first run with *Compare with the previous run* on, trimmed). On later runs `previousRank` holds yesterday's rank and `rankChange` the move (+2 = up two places):

```json
{
  "store": "apple",
  "country": "us",
  "platform": "iphone",
  "chart": "top-paid",
  "chartName": "Top Paid Games",
  "categoryId": "6014",
  "categoryName": "All Games",
  "rank": 1,
  "appId": "479516143",
  "bundleId": "com.mojang.minecraftpe",
  "name": "Minecraft: Play with Friends!",
  "subtitle": "Explore, build, craft together",
  "developer": "Mojang",
  "price": 6.99,
  "priceText": "$6.99",
  "currency": "USD",
  "isFree": false,
  "hasInAppPurchases": true,
  "rating": 4.5,
  "ratingCount": 845000,
  "ratingCountText": "845K",
  "ageRating": "9+",
  "iconUrl": "https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/fb/a7/be/fba7bef5-248f-e255-da11-dd06a30e3828/AppIcon-0-0-1x_U007emarketing-0-10-0-85-220.png/512x512bb.png",
  "appUrl": "https://apps.apple.com/us/app/minecraft-play-with-friends/id479516143",
  "detailSource": "chart",
  "previousRank": null,
  "rankChange": null,
  "isNewEntry": true,
  "snapshotDate": "2026-11-07",
  "scrapedAt": "2026-11-07T07:18:08.840Z",
  "chartUrl": "https://apps.apple.com/us/iphone/charts/6014"
}
```

A rank from 26 on (with *App details* on) looks the same, with `detailSource: "app-page"`, the exact `ratingCount` (e.g. 291), `genres` (e.g. `["Simulation", "Roleplaying"]`) and `developerUrl`.

`detailSource` tells you where a row's app fields came from: `chart` (ranks 1–25), `app-page` (ranks 26+), `rss` (iPhone All Apps ranks 26–100 with App details off), `rank-only` (rank, app id and link only).

Download the dataset as JSON, CSV, Excel or HTML, or read it through the API.

### Pricing

**$1.50 per 1,000 chart rows** (one row = one app at one rank), plus a small **$0.002 start fee per run**.

- Top 10 free apps in one country: about $0.017
- Top 100 Free + Top 100 Paid in one country: about $0.30
- Top 100 of both charts in 10 countries (2,000 rows): about $3.00

You only pay for rows saved to your dataset. Set *Max rows* or a spending limit on the run to cap the cost.

### Tips

- **Daily rank tracking**: schedule the actor once a day with *Compare with the previous run* on. Keep the same countries, devices and categories so each chart is compared with its own last snapshot.
- **Fast and cheap**: ranks 1–25 come straight from the chart page. If you only need the top 25, set *Ranks per chart* to 25.
- **Big category sweeps**: with *App details* off, a 200-rank chart takes one page instead of 176.
- An app removed from the store keeps its rank as a `rank-only` row, so ranks never have gaps.

### FAQ

**Which charts are available?**
Top Free and Top Paid, for iPhone, iPad and Mac, in every category and game genre the App Store has charts for. Apple no longer shows a Top Grossing chart on its public App Store pages, so it is not offered.

**How fresh is the data?**
Each run reads the charts live. Apple updates its charts several times a day.

**Does it cover Google Play?**
No, this actor covers the Apple App Store only.

**Why do some rows have only a rank and app id?**
With *App details* off, ranks 26+ outside iPhone All Apps carry rank, app id and link only. With it on, a row is rank-only only when the app's page is gone (for example the app was just removed).

**Is it legal to scrape the App Store?**
This actor reads only public chart and app pages that anyone can open in a browser, without logging in, and it follows the site's robots.txt. Chart rankings and app listings are public business information. As with any data, check that your own use complies with the laws that apply to you; if you are unsure, ask a lawyer.

**Does it access any private data?**
No. It collects public App Store chart positions and app listing data (app names, developer / company names, prices, ratings). It does not collect reviews, reviewer names or any personal data.

**Can I get more than one country in one run?**
Yes, list as many countries, devices and categories as you like; each combination is one chart.

# Actor input Schema

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

Two-letter App Store country codes, e.g. us, gb, de, jp, in, br. One chart per country.

## `platforms` (type: `array`):

Which device charts to read: iPhone, iPad and/or Mac.

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

Top Free and/or Top Paid.

## `categories` (type: `array`):

All Apps, All Games or any App Store category / game genre. One chart per category.

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

How many ranks to save from each chart (1-200). Ranks 1-25 come straight from the chart; ranks 26-200 take one extra page per app when App details is on.

## `appDetails` (type: `boolean`):

On: ranks 26-200 get name, developer, price, rating and genres from each app page. Off: faster; iPhone All Apps ranks 26-100 still get name and developer, other ranks 26+ carry rank, app id and link only.

## `compareWithPrevious` (type: `boolean`):

Adds previousRank, rankChange (+ = moved up) and isNewEntry to every row, against the last run of the same chart (saved in the key-value store "app-store-top-charts-state" in your account). Schedule the actor daily for daily rank tracking.

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

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

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

Apify datacenter proxy (included in every plan) works well; leave as is.

## Actor input object example

```json
{
  "countries": [
    "us"
  ],
  "platforms": [
    "iphone"
  ],
  "charts": [
    "top-free"
  ],
  "categories": [
    "36"
  ],
  "limit": 10,
  "appDetails": true,
  "compareWithPrevious": false,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

All chart rows (rank, app, developer, price, rating).

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts, requests and sources.

# 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"
    ],
    "platforms": [
        "iphone"
    ],
    "charts": [
        "top-free"
    ],
    "categories": [
        "36"
    ],
    "limit": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/app-store-top-charts-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 = {
    "countries": ["us"],
    "platforms": ["iphone"],
    "charts": ["top-free"],
    "categories": ["36"],
    "limit": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/app-store-top-charts-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 '{
  "countries": [
    "us"
  ],
  "platforms": [
    "iphone"
  ],
  "charts": [
    "top-free"
  ],
  "categories": [
    "36"
  ],
  "limit": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/app-store-top-charts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/app-store-top-charts-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/TX51v8q85Dp3om44c/builds/kRDVMDYuSE1WuL9tP/openapi.json
