# Toutiao Scraper — Hot Board, Articles, Videos, Comments (`apimy/toutiao-scraper`) Actor

Toutiao (今日头条) data without login: the hot board with heat values, articles with read counts, videos with play counts, comments with IP region, and author profiles with their posts.

- **URL**: https://apify.com/apimy/toutiao-scraper.md
- **Developed by:** [Nikita Iakovlev](https://apify.com/apimy) (community)
- **Categories:** Social media, News, Marketing
- **Features:** Limited permissions
- **Stats:** 21 total users, 9 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.20 / 1,000 articles

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

Toutiao (今日头条) data with no login and no proxy of your own: the hot board with real heat values, full articles with read counts, videos with play counts, comments with the commenter's IP region, and author profiles with their latest posts.

### What you get

| Mode | One row is | Key fields |
|---|---|---|
| **Hot board** | a trending topic (今日头条热榜) | rank, title, `heat` as a number, category, label (热门事件), topic link |
| **Articles** | an article by link | title, full text, read / like / comment / share counts, source, author, author id, region, posted at |
| **Videos** | a video by link | title, duration, play / like / comment / share / collect / impression counts, author and followers, cover |
| **Comments** | one top-level comment | text, likes, replies, IP region (`ipLocation`), posted at, liked by author |
| **Authors** | the author card and posts | nickname, bio, verification; then each post with its counts |

Measured on 08 November 2026: the hot board had 50 topics, the top one with heat 16,523,205. Article 7705585459073745459 (人民日报) returned 33,102 reads and 1,056 likes. Video 7705715478945087488 returned 723,926 plays. Two comment pages of the same article returned 40 comments, each with a province.

### Honest limits

- **No site-wide keyword search.** Our source cannot search the whole of Toutiao by keyword. "Search inside the author's posts" searches **one author's page**, not the site. Start from the hot board, from links, or from authors.
- **Videos mode needs video links** (`/video/<id>/`). An article link is skipped there, and nothing is charged for it. Use the articles mode for articles.
- **Authors need the id that starts with `MS4w`** or a profile link. Every article and post row carries it in `authorId`, so you can go from an article to its author. Nicknames and short numeric ids are not accepted by Toutiao.
- **The author tab is a hint.** Some authors return the same list for every tab.
- **Comments: top-level only**, 20 per page. Each page is a separate request, capped by "Max comment pages".
- **Counts are a snapshot** taken when the run started. To get a time series, schedule the same links daily.

### Pricing

Pay per row. You are charged only for rows you receive.

| Row | Price |
|---|---|
| Hot board topic | $0.0015 |
| Article | $0.0032 |
| Video | $0.0032 |
| Author post | $0.0032 |
| Author profile | $0.002 |
| Comment | $0.0012 |

There is no fee per run start. A run of the whole hot board (50 topics) costs $0.075.

On the Apify Free plan a run returns up to 20 rows, because the rows outside the hot board are bought from a paid data source. Paid plans have no such limit.

### Input examples

```json
{ "mode": "hot" }
```

```json
{ "mode": "comments", "urls": ["https://www.toutiao.com/article/7705585459073745459/"], "maxCommentPages": 3 }
```

```json
{ "mode": "authors", "authors": ["MS4wLjABAAAAa4jZTw8oFVgiBHDJk10547ATPToNthylT4jZwY2ik1w"], "postsPerAuthor": 20 }
```

### Every row carries its origin

`provenance` holds the source, the record id, the parser and schema versions, and the time the value was observed. Unknown counts are `null`, never 0. Free `notice` rows explain anything skipped. Filter them out with `type != "notice"`.

### Also from us

For six Chinese hot lists in one run (Baidu, Weibo, Douyin, Toutiao, Zhihu, Bilibili), see [China Hot Lists](https://apify.com/apimy/china-hot-lists-scraper).

# Actor input Schema

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

Toutiao has no site-wide keyword search through our source: start from the hot board, from links, or from an author.

## `urls` (type: `array`):

Toutiao links like https://www.toutiao.com/article/<id>/ or https://www.toutiao.com/video/<id>/, or the numeric id. The videos mode needs video links.

## `maxCommentPages` (type: `integer`):

Each page has up to 20 top-level comments and is a separate request.

## `authors` (type: `array`):

Author id that starts with MS4w (every article and post row has it in authorId) or a profile link https://www.toutiao.com/c/user/token/MS4w…/. Nicknames and short numeric ids are not accepted by Toutiao.

## `includeProfile` (type: `boolean`):

One row with nickname, bio and verification per author, in addition to the posts.

## `postsPerAuthor` (type: `integer`):

Latest posts of each author, up to 100.

## `authorTab` (type: `string`):

Which tab of the author page to read. Some authors return the same list for every tab.

## `authorKeyword` (type: `string`):

Optional. Finds posts of these authors that contain the word. This searches one author's page, not the whole of Toutiao.

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

Upper limit of paid rows — protection against an unexpectedly large bill.

## Actor input object example

```json
{
  "mode": "hot",
  "urls": [
    "https://www.toutiao.com/article/7705585459073745459/"
  ],
  "maxCommentPages": 3,
  "includeProfile": true,
  "postsPerAuthor": 20,
  "authorTab": "all",
  "maxItems": 200
}
```

# Actor output Schema

## `dataset` (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 = {
    "urls": [
        "https://www.toutiao.com/article/7705585459073745459/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apimy/toutiao-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 = { "urls": ["https://www.toutiao.com/article/7705585459073745459/"] }

# Run the Actor and wait for it to finish
run = client.actor("apimy/toutiao-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 '{
  "urls": [
    "https://www.toutiao.com/article/7705585459073745459/"
  ]
}' |
apify call apimy/toutiao-scraper --silent --output-dataset

```

## MCP server setup

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