# China App Store Rankings: Apple, TapTap, Xiaomi (`alexsyin/china-app-rankings`) Actor

Unified China app store charts from Apple App Store (CN), TapTap and Xiaomi — top free, paid and grossing, plus TapTap and Xiaomi boards. Rank-change tracking, ASO-ready JSON, no login. $1 per 1,000 rows.

- **URL**: https://apify.com/alexsyin/china-app-rankings.md
- **Developed by:** [Shilin (Alex) Yin](https://apify.com/alexsyin) (community)
- **Categories:** Developer tools, AI, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 ranking 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/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

### What does China App Store Rankings do?

Collect **China app store charts** from the [Apple App Store (CN)](https://apps.apple.com/cn), [TapTap](https://www.taptap.cn) and [Xiaomi GetApps](https://app.mi.com) in one run, and return them as one stable JSON schema — useful as a lightweight **ASO / Sensor Tower-style** snapshot of the China market.

This is not a thin wrapper around Apple's free RSS. You get a **multi-store China snapshot**: iOS Top Free, Top Paid and Top Grossing (optionally by category), TapTap hot / new / reserve boards, and Xiaomi overall plus category rankings — plus rank-change tracking against the previous run and optional public detail enrichment.

Public pages and official feeds only. **No login**, no cookies, no captcha bypass. Each store is isolated: if one chart fails, the others still write results. You are charged only for ranking rows that are actually saved.

**Typical use cases**

- Daily ASO monitoring of the China iOS and Android charts
- See whether an app is climbing, falling, or is a new entry (`rankDelta`, `isNewEntry`)
- Compare the same title across Apple, TapTap and Xiaomi in one table
- Feed Claude Code, Cursor or any MCP client a typed China rankings dataset

#### Example output

You can download the dataset as JSON, HTML, CSV or Excel. One ranking row looks like this:

```json
{
  "rank": 1,
  "appId": "1485191072",
  "name": "抖音商城-下单返积分、退货包运费",
  "developer": "Beijing Douyin Technology Co., Ltd.",
  "category": "购物",
  "price": "Free",
  "rating": 4.07,
  "icon": "https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/85/c8/74/85c87409-655c-413e-4db0-d91317de5c2d/AppIcon-0-0-1x_U007emarketing-0-7-0-85-220.png/100x100bb.png",
  "url": "https://apps.apple.com/cn/app/id1485191072",
  "source": "apple",
  "chartType": "free",
  "country": "CN",
  "fetchedAt": "2026-11-30T12:00:00.000Z",
  "rankDelta": 2,
  "isNewEntry": false,
  "previousRank": 3,
  "chartLabel": "Apple 免费榜",
  "packageName": "com.ss.iphone.ugc.Live.lite"
}
```

`rating` is normalized to a **5-point scale** so you can compare Apple, TapTap and Xiaomi in the same table. Native values stay in `ratingRaw` / `ratingScale` (TapTap and Xiaomi commonly use 10). `price` is `Free` or an amount with currency when the store publishes one.

A `STATUS` record is written to the default key-value store with per-chart `ok` / `fetched` / `returned` / `error` fields.

### Why scrape China app store rankings?

Most App Store chart scrapers focus on US or global iOS + Google Play. China's Android landscape is different: **TapTap** and **Xiaomi** matter, and Google Play does not. This Actor unifies those China-facing charts.

- One schema across stores: `rank`, `appId`, `name`, `developer`, `category`, `price`, `rating`, `icon`, `url`, `source`, `chartType`, `country`, `fetchedAt`
- Rank-change tracking via a named key-value store: `rankDelta` (positive = moved up), `previousRank`, `isNewEntry`
- Optional detail enrichment: Apple iTunes Lookup, TapTap public detail API, Xiaomi public detail page
- Built for agents: short input schema, a `STATUS` record per chart, predictable field names
- HTTP-only, 256 MB memory, typically finishes in under a minute without enrichment
- Schedule it, call it via API or [Apify MCP](https://mcp.apify.com), and export JSON, CSV or Excel

### What data can China App Store Rankings extract?

| Field | Type | Meaning |
| --- | --- | --- |
| `rank` | integer | Position on this chart, starting at 1 |
| `appId` | string | iTunes id, TapTap id, or Xiaomi package name |
| `name` | string | App display name |
| `developer` | string | null | Publisher when the store provides one |
| `category` | string | null | Primary category or tag |
| `price` | string | null | `Free` or an amount with currency |
| `rating` | number | null | User rating on a 5-point scale |
| `icon` / `url` | string | null | Icon and public store page |
| `source` | string | `apple` / `taptap` / `xiaomi` |
| `chartType` | string | e.g. `free`, `paid`, `grossing`, `hot`, `new`, `reserve`, `top` |
| `country` | string | Always `CN` |
| `fetchedAt` | string | Snapshot time, ISO 8601 UTC |
| `rankDelta` | integer | null | `previousRank - rank` (positive = moved up) |
| `isNewEntry` | boolean | Not present on this chart in the previous run |
| `previousRank` | integer | null | Rank in the previous run, if any |
| `packageName` | string | null | Android package or iOS bundle id when known |
| `version` / `fileSize` / `description` | string | null | Filled from some lists, or when `enrichDetails` is on |

### How to scrape Apple, TapTap and Xiaomi charts in China

1. Click **Try for free**. The input is prefilled with all three stores and a modest `maxPerChart` so a default run returns real rows without a large bill.
2. Keep or edit Apple chart types (Top Free / Paid / Grossing), TapTap boards and Xiaomi categories.
3. Leave **Enrich app details** off for a fast snapshot; turn it on when you need developer, version or description.
4. Run and download JSON, CSV or Excel. For daily ASO, create a **Schedule** with a fixed `memoryName` so `rankDelta` and `isNewEntry` fill in.
5. For agents, add the [Apify MCP server](https://mcp.apify.com) and ask Claude Code or Cursor to run `alexsyin/china-app-rankings`.

See the **Input** tab for every field.

#### Daily schedule example

In [Apify Console](https://console.apify.com) go to **Schedules** → **Create**.

- Cron: `0 8 * * *` (every day at 08:00 UTC)
- Input:

```json
{
  "sources": ["apple", "taptap", "xiaomi"],
  "appleCharts": ["free", "paid", "grossing"],
  "taptapCharts": ["hot", "new", "reserve"],
  "xiaomiCategories": ["overall"],
  "maxPerChart": 50,
  "trackRankChange": true,
  "memoryName": "daily-main"
}
```

The first run that uses a given `memoryName` stores the baseline. Later runs fill `rankDelta` / `previousRank` and mark new entries with `isNewEntry: true`.

### How much does it cost to scrape China app rankings?

Pay per event: **$0.001 per ranking row** (about **$1 per 1,000 rows**), plus a **$0.00005** Actor start fee.

| Event | Price | Charged when |
| --- | --- | --- |
| Ranking row saved | $0.001 | A row is written to the dataset |
| Actor start | $0.00005 | The run starts (depends on memory) |

Failed charts and empty boards are **not charged**. A default production snapshot (Apple 3 charts + TapTap 3 boards + Xiaomi overall, 50 rows each) is typically about 300–350 rows ($0.30–$0.35). A first try with `maxPerChart: 10` is usually about 70 rows (~$0.07).

### Input

See the **Input** tab for full configuration options.

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `sources` | string\[] | `apple`, `taptap`, `xiaomi` | Stores to include |
| `appleCharts` | string\[] | `free`, `paid`, `grossing` | iOS China charts |
| `appleCategories` | string\[] | empty (overall) | Genre name or id, e.g. `Games`, `游戏`, `6014` |
| `taptapCharts` | string\[] | `hot`, `new`, `reserve` | Also accepts `sell`, `pop`, `exclusive` |
| `xiaomiCategories` | string\[] | `overall` | `overall` / `0` for the main chart, or a name/id such as `游戏`, `15` |
| `maxPerChart` | integer | 50 | Top N apps per store / chart / category (1–200) |
| `enrichDetails` | boolean | false | Fetch public details to fill developer, rating, version, size, description |
| `enrichLimit` | integer | 30 | Max unique apps to enrich in this run |
| `trackRankChange` | boolean | true | Compare ranks with the previous run that shares `memoryName` |
| `memoryName` | string | `"default"` | Shared memory id for rank history |
| `useProxy` | string | `auto` | `auto` retries blocked requests with a CN residential proxy; `never` / `always` |

### Use it from Claude Code, Cursor or any MCP client

Add the [Apify MCP server](https://mcp.apify.com) so an agent can call this Actor directly:

```bash
claude mcp add apify --transport http "https://mcp.apify.com/?actors=alexsyin/china-app-rankings" \
  --header "Authorization: Bearer $APIFY_TOKEN"
```

You can also add the general server at `https://mcp.apify.com` and ask the agent to run `alexsyin/china-app-rankings`.

For Cursor, install the official integration with the Apify CLI, or add the same MCP URL in Cursor's MCP settings:

```bash
apify mcp install cursor
```

Example prompt:

> Use the Apify MCP tools to run `alexsyin/china-app-rankings` with `maxPerChart=10`, all default stores and charts, `enrichDetails=false`. Then list the top 10 apps that appear on more than one store, and any new entries on the Apple free chart.

Equivalent Actor input:

```json
{
  "sources": ["apple", "taptap", "xiaomi"],
  "maxPerChart": 10,
  "enrichDetails": false,
  "trackRankChange": true,
  "memoryName": "mcp-demo"
}
```

Or via the Apify API:

```bash
curl "https://api.apify.com/v2/acts/alexsyin~china-app-rankings/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"maxPerChart":10,"sources":["apple","taptap","xiaomi"]}'
```

The API tab on this Actor's page has client snippets in JavaScript, Python and more.

### FAQ

#### Do I need a login or a China proxy?

No login or cookies are required. Public chart pages usually work without a proxy. `useProxy=auto` retries a blocked request with Apify's China residential proxy when the password is available in the run.

#### Is Google Play included?

No. This Actor targets **China storefronts**: Apple App Store (CN), TapTap and Xiaomi. Google Play is not a primary China Android store.

#### Why are Qimai (七麦) and Huawei AppGallery missing?

Their public ranking pages were not reliably readable without a login or a JavaScript-only shell, so they are out of scope for this version.

#### How are ratings compared across stores?

Ratings are normalized to 5 points for cross-store comparison. Use `ratingRaw` / `ratingScale` if you need the store's own scale (TapTap and Xiaomi commonly use 10).

#### Is it legal to scrape app store charts?

This Actor reads public chart pages and official feeds only. It does not collect personal accounts or private data. Follow the stores' terms and applicable law. If you are unsure, consult a lawyer.

> Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union, by PIPL in China, and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

Apple Marketing Tools RSS is used only as a fallback if the official iTunes country RSS fails. Category-specific Apple charts use iTunes RSS (up to 200 apps). TapTap's first page comes from the public ranking HTML; further pages use the same public web API the site itself calls. Xiaomi lists typically have 36 apps per page and up to 3 public pages. If a chart starts failing, its error is recorded in `STATUS` and the rest of the run still succeeds.

Questions or feature requests? Open an issue on the **Issues** tab.

***

### Related China data Actors

- [China Hot Search Scraper](https://apify.com/alexsyin/china-trending-topics) — Weibo, Douyin, Baidu, Zhihu, Bilibili and Toutiao hot-search lists
- [Weibo Scraper](https://apify.com/alexsyin/weibo-scraper) — Sina Weibo posts, comments and keyword search, no login
- [Guba Scraper](https://apify.com/alexsyin/guba-scraper) — Eastmoney Guba posts and official A-share announcements

***

### 中文说明

一次运行抓取中国区 **Apple App Store**、**TapTap** 和 **小米应用商店（GetApps）** 的公开榜单，输出统一 JSON，适合 ASO 监控、竞品跟踪和 AI agent / MCP 调用。支持 iOS 免费榜 / 付费榜 / 畅销榜（可按分类），TapTap 热门榜 / 新品榜 / 预约榜，以及小米总榜和分类榜。可用同一 `memoryName` 对比上次排名（`rankDelta`、`isNewEntry`），也可按需补充应用详情。

只读公开页面和官方接口，**不登录**、不绕验证码。某个商店失败不会导致整次运行失败，失败的行也不计费。不含 Google Play、七麦和华为应用市场（后两者公开榜单不够稳定）。

**常见用途**：每天盯中国区 iOS / 安卓榜；看排名升降和新上榜；同一应用在三家商店的对比；把榜单交给 Claude Code 或 Cursor 分析。

**示例输出**见上方 JSON。评分已统一到 5 分制，原始分在 `ratingRaw` / `ratingScale`。首次试用建议 `maxPerChart: 10`（大约 70 行，约 $0.07）。

#### 输入

见 Input 页。`sources` 留空表示三家都抓；`appleCharts` 为 `free` / `paid` / `grossing`；`taptapCharts` 默认热门 / 新品 / 预约；`xiaomiCategories` 默认总榜；`enrichDetails` 默认关闭；`trackRankChange` 默认开启。

#### 计费

按成功写入数据集的榜单行计费，**每条 $0.001（约每 1000 条 $1）**，另加很小的启动费用。失败的榜单不计费。完整默认快照（约 300–350 行）大约 $0.30–$0.35。

#### 在 Claude Code / MCP 中调用

```bash
claude mcp add apify --transport http "https://mcp.apify.com/?actors=alexsyin/china-app-rankings" \
  --header "Authorization: Bearer $APIFY_TOKEN"
```

然后让 agent 运行 `alexsyin/china-app-rankings`。也可使用通用地址 <https://mcp.apify.com>。

#### 常见问题

- **要不要登录？** 不需要。公开榜单通常也不需要代理。
- **合规**：只采集公开榜单和官方接口，不含个人账号。请遵守商店条款及 PIPL、GDPR 等法规。

问题和建议请走本页的 **Issues**。

#### 相关 Actor

- [中国热搜](https://apify.com/alexsyin/china-trending-topics)：微博、抖音、百度、知乎等热搜
- [微博爬虫](https://apify.com/alexsyin/weibo-scraper)：搜索、用户微博和评论
- [股吧爬虫](https://apify.com/alexsyin/guba-scraper)：东方财富股吧帖子和 A 股公告

### Changelog

#### 0.1.1

- Store listing and README update for discoverability (titles, MCP examples, FAQ). Pricing unchanged.

#### 0.1

- Initial public release: Apple App Store (CN) free / paid / grossing, TapTap hot / new / reserve (plus sell / pop / exclusive), Xiaomi overall and category charts.
- Unified schema, rank-change tracking, optional detail enrichment.
- Pay-per-event pricing at $0.001 per saved ranking row.

# Actor input Schema

## `sources` (type: `array`):

Which China app stores to include for this ASO snapshot. Leave empty to fetch all three: Apple App Store (CN), TapTap and Xiaomi GetApps. Each store is isolated — one failure does not fail the run.

## `appleCharts` (type: `array`):

iOS China chart types: Top Free, Top Paid and Top Grossing. Leave empty for all three.

## `appleCategories` (type: `array`):

Limit Apple charts to these iOS genres. Use a genre name (Games, 游戏, Shopping, 购物) or an official genre id (6014 for Games). Leave empty for the overall store charts.

## `taptapCharts` (type: `array`):

TapTap ranking boards. Leave empty for hot, new and reserve. sell / pop / exclusive are extra public boards.

## `xiaomiCategories` (type: `array`):

Xiaomi ranking lists to fetch. Use overall (or 0 / 应用排行榜) for the main chart, or a category name or id such as 游戏, 实用工具, 15, 5. Leave empty for the overall chart only.

## `maxPerChart` (type: `integer`):

Keep only the top N apps from each store / chart / category combination. Apple official RSS supports up to 200. TapTap and Xiaomi are paginated. A first try of 10 per chart (about 70 rows) is enough to see real rankings at a lower cost; daily ASO snapshots often use 50.

## `enrichDetails` (type: `boolean`):

Fetch public detail pages/APIs to fill missing developer, rating, version, file size and description. Apple uses the official iTunes Lookup API; TapTap and Xiaomi use their public detail endpoints. Off by default because it makes extra requests.

## `enrichLimit` (type: `integer`):

Maximum number of unique apps (across all charts) to enrich in this run. Ignored when Enrich app details is off.

## `trackRankChange` (type: `boolean`):

Compare each app's rank with the previous run that shares the same Memory name. Adds rankDelta (positive = moved up), previousRank and isNewEntry. The first run is the baseline: every row is marked as a new entry and rankDelta is empty.

## `memoryName` (type: `string`):

Runs that share this name share one rank-history memory. Use a different name for each Schedule or monitor.

## `useProxy` (type: `string`):

auto: retry a blocked request with a China residential proxy. never: do not use a proxy. always: send every request through the proxy. Public chart pages usually work without a proxy. The proxy is only used if APIFY_PROXY_PASSWORD is available in the run.

## Actor input object example

```json
{
  "sources": [
    "apple",
    "taptap",
    "xiaomi"
  ],
  "appleCharts": [
    "free",
    "paid",
    "grossing"
  ],
  "appleCategories": [],
  "taptapCharts": [
    "hot",
    "new",
    "reserve"
  ],
  "xiaomiCategories": [
    "overall"
  ],
  "maxPerChart": 10,
  "enrichDetails": false,
  "enrichLimit": 30,
  "trackRankChange": true,
  "memoryName": "default",
  "useProxy": "auto"
}
```

# Actor output Schema

## `rankings` (type: `string`):

Unified ranking records in the default dataset.

## `status` (type: `string`):

JSON report of which stores and charts succeeded or failed in this run.

# 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 = {
    "sources": [
        "apple",
        "taptap",
        "xiaomi"
    ],
    "appleCharts": [
        "free",
        "paid",
        "grossing"
    ],
    "taptapCharts": [
        "hot",
        "new",
        "reserve"
    ],
    "xiaomiCategories": [
        "overall"
    ],
    "maxPerChart": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("alexsyin/china-app-rankings").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 = {
    "sources": [
        "apple",
        "taptap",
        "xiaomi",
    ],
    "appleCharts": [
        "free",
        "paid",
        "grossing",
    ],
    "taptapCharts": [
        "hot",
        "new",
        "reserve",
    ],
    "xiaomiCategories": ["overall"],
    "maxPerChart": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("alexsyin/china-app-rankings").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 '{
  "sources": [
    "apple",
    "taptap",
    "xiaomi"
  ],
  "appleCharts": [
    "free",
    "paid",
    "grossing"
  ],
  "taptapCharts": [
    "hot",
    "new",
    "reserve"
  ],
  "xiaomiCategories": [
    "overall"
  ],
  "maxPerChart": 10
}' |
apify call alexsyin/china-app-rankings --silent --output-dataset

```

## MCP server setup

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

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/NlNFcuc3fjssR45wf/builds/Yb3UV4hWgpjkfW7Sq/openapi.json
