# Toutiao Hot Board Scraper (今日头条热榜) (`sublime_maypop/toutiao-hot-board-scraper`) Actor

Scrape the Toutiao hot board (今日头条热榜) with rank, heat value, label, category, image and link. No login. JSON, CSV, Excel.

- **URL**: https://apify.com/sublime_maypop/toutiao-hot-board-scraper.md
- **Developed by:** [Sheng Shen](https://apify.com/sublime_maypop) (community)
- **Categories:** News, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 trending items

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

## Toutiao Hot Board Scraper (今日头条热榜)

Scrapes the live Toutiao hot board (今日头条热榜) — the top news events on ByteDance's news app. You get rank, heat value, label, category, image, and a link to the story cluster. No login, cookies, or proxy.

For news desks, researchers, and anyone who wants 今日头条热榜 in JSON, CSV, or Excel on a schedule.

### Input example

```json
{
  "maxItemsPerPlatform": 50
}
```

Optional: `keywordFilter` (comma-separated Chinese or English words) keeps only matching titles.

### Output example

```json
{
  "platform": "toutiao",
  "platformName": "Toutiao 今日头条热榜",
  "rank": 1,
  "title": "深圳全城绽放迎接APEC",
  "hotValue": 25864816,
  "label": "hot",
  "category": "culture",
  "description": null,
  "url": "https://www.toutiao.com/trending/7707990114588442667/",
  "imageUrl": "https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/961d94e8eedf4147a02ea07589dbd8f3~tplv-tt-shrink:960:540.jpeg",
  "extra": {
    "clusterId": "7707990114588442667"
  },
  "scrapedAt": "2026-11-17T01:44:27.835Z"
}
```

`category` comes from Toutiao's interest categories when present. `extra.clusterId` is the trending cluster id used in the URL. Download as JSON, CSV, or Excel.

### Pricing

Pay per result: **$3.00 per 1,000 items** (one full list of 50 entries costs about $0.150). No monthly rental. Platform usage is minimal (128 MB, runs in seconds).

### Limits and FAQ

Titles are in Chinese. The Actor only reads the public hot board Toutiao shows without a login. It does not collect personal data. You are responsible for using the data in line with applicable laws and Toutiao's terms.

If a run fails, check `RUN_SUMMARY` in the key-value store. Open an issue on the Actor page if the feed changes.

# Actor input Schema

## `maxItemsPerPlatform` (type: `integer`):

How many top entries to keep from each list (lists usually have 30–50 entries).

## `keywordFilter` (type: `string`):

Only keep entries whose title or summary contains one of these words (comma separated, Chinese or English), e.g. 苹果, AI, 比亚迪. Leave empty to keep everything.

## Actor input object example

```json
{
  "maxItemsPerPlatform": 50
}
```

# Actor output Schema

## `results` (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 = {
    "maxItemsPerPlatform": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("sublime_maypop/toutiao-hot-board-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 = { "maxItemsPerPlatform": 50 }

# Run the Actor and wait for it to finish
run = client.actor("sublime_maypop/toutiao-hot-board-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 '{
  "maxItemsPerPlatform": 50
}' |
apify call sublime_maypop/toutiao-hot-board-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sublime_maypop/toutiao-hot-board-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/0SqSoSh22qYdq6f6f/builds/HVkQ3wmjPPcDXx9Zd/openapi.json
