# TapTap 游戏榜单 | China Game Rankings, Details & Reviews (`perceptive_city_af7/taptap-scraper`) Actor

Scrape TapTap (taptap.cn) mobile game charts (hot, reserve, played, sell), app details, and paginated player reviews without login. Lightweight HTTP JSON client, MCP-ready.

- **URL**: https://apify.com/perceptive_city_af7/taptap-scraper.md
- **Developed by:** [fall Rainy](https://apify.com/perceptive_city_af7) (community)
- **Categories:** Games
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.88 / 1,000 taptap game or review items

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

## TapTap game rankings, details and reviews

Read China's public TapTap (taptap.cn) game charts, game profiles and community reviews through an anonymous HTTP client. Select the Actor in Apify MCP Server using its account-qualified name. An empty input returns up to 10 Android hot-chart entries.

| Input | Values | Default |
| --- | --- | --- |
| `mode` | `rankings` (游戏榜单), `game_detail` (游戏详情), `reviews` (游戏评价) | `rankings` |
| `rankingType` | `hot` (热门榜), `reserve` (预约榜), `played` (热玩榜), `sell` (热卖榜) | `hot` |
| `platform` | `android`, `ios` for charts | `android` |
| `appIds` | Numeric game IDs as strings, used for details and reviews | `["168332"]` |
| `reviewSort` | `new` or `hot` | `new` |
| `maxItems` | 1–2,000 total rows across all selected apps | `10` |

For example, use `{"mode":"reviews","appIds":["168332"],"reviewSort":"hot","maxItems":5}` for up to five public reviews of Genshin Impact (原神).

The Actor omits author profiles, account IDs, device and play history, and redacts common contact details and mentions in review text.

The Actor follows TapTap's pagination and stops when the feed ends or a page repeats its records. Hot reviews can repeat the first page even when TapTap supplies a next-page cursor. Use `reviewSort: "new"` for chronological pagination.

### Output

Each row in the default dataset has a `kind` of `ranking_game`, `game_detail`, or `review`. Game ratings and engagement counts may be `null`. Profile rows return `null` for `rank` and `ranking_type`. The `score` on review rows is the individual rating, and `created_time` is the creation time in Unix seconds when available.

#### Sample output

The excerpts show a chart entry, a game profile, and review metadata.

```json
[
  {
    "kind": "ranking_game",
    "app_id": 194039,
    "title": "饥困荒野",
    "rank": 1,
    "ranking_type": "hot",
    "score": 7.6,
    "url": "https://www.taptap.cn/app/194039"
  },
  {
    "kind": "game_detail",
    "app_id": 168332,
    "title": "原神",
    "developer": "miHoYo",
    "rank": null,
    "ranking_type": null,
    "url": "https://www.taptap.cn/app/168332"
  },
  {
    "kind": "review",
    "app_id": 168332,
    "review_id": 51268326,
    "score": 1,
    "ups": 0,
    "created_time": 1795457160
  }
]
```

### Pay-per-event pricing

Pricing is $0.00005 per start and $0.0025 per saved item ($2.50 per 1,000).

The listed per-record rate applies to the Free plan. Starter, Scale and Business save 5%, 15% and 25% on saved records. The start fee is the same on all plans. [Apify pricing](https://apify.com/perceptive_city_af7/taptap-scraper/pricing)

From this directory run `python src/client.py --probe --app-id 168332 --rankings hot reserve` for a count-only live check and `python tests/test_live_and_unit.py` for the pagination and parsing tests.

### 中文说明

采集 TapTap 中国站公开游戏榜单、游戏详情和评价。默认返回最多 10 条安卓热门榜记录。`appIds` 用于详情和评价模式，`reviewSort` 可选最新或热门。评价输出包含公开正文和有用票数，常见联系方式会被遮盖。

# Actor input Schema

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

Choose mobile game rankings (游戏榜单), details (游戏详情), or public review content (游戏评价) from TapTap.

## `rankingType` (type: `string`):

Select the hot (热门榜), reserve (预约榜), most played (热玩榜) or top-selling (热卖榜) chart.

## `platform` (type: `string`):

Platform for the game chart, Android or iOS.

## `appIds` (type: `array`):

List of numeric TapTap app IDs (e.g. \['168332']).

## `reviewSort` (type: `string`):

Choose new for chronological reviews or hot for the most prominent recent reviews. TapTap may repeat the first hot page.

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

Maximum total number of dataset items across all selected apps.

## Actor input object example

```json
{
  "mode": "rankings",
  "rankingType": "hot",
  "platform": "android",
  "appIds": [
    "168332"
  ],
  "reviewSort": "new",
  "maxItems": 10
}
```

# Actor output Schema

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

One row per chart entry, game profile or public review in the selected mode.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("perceptive_city_af7/taptap-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("perceptive_city_af7/taptap-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 '{}' |
apify call perceptive_city_af7/taptap-scraper --silent --output-dataset

```

## MCP server setup

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