Baidu Tieba Scraper avatar

Baidu Tieba Scraper

Pricing

from $2.20 / 1,000 results

Go to Apify Store
Baidu Tieba Scraper

Baidu Tieba Scraper

This powerful tool allows you to easily extract posts from forums, profiles, search terms and topics from tieba.baidu.com. Only pay for what you use. Works with MCP and AI tools.

Pricing

from $2.20 / 1,000 results

Rating

0.0

(0)

Developer

Nataniel Santos

Nataniel Santos

Maintained by Community

Actor stats

0

Bookmarked

13

Total users

5

Monthly active users

2 days ago

Last modified

Share

✨ Features

  • 🔎 Scrape post using search terms
  • 🏷️ Scrape posts from specific forums tabs
  • 📊 Search inside forums
  • 👤 Scrape posts from specific user profiles
  • 🔥 Scrape posts from hot topics

🎯 Who Is This For?

  • Researchers looking to analyze trends and discussions on Baidu Tieba
  • Marketers interested in understanding consumer sentiment and popular topics
  • Data scientists seeking to build models based on Baidu Tieba data
  • Anyone interested in exploring the rich content of Baidu Tieba for personal or professional reasons

💡 Input Parameters

🔍 Scraping by search terms:

  • 🔍 searchTerms - Enter one or more keywords to search for. Each keyword runs as a separate search. Add the limit per term in the maxPosts field
  • 🏷️ sortSearchBy - Choose how to sort search results: most_relevant, latest or oldest
  • 👥 searchWithinForum - If you want to search within a specific forum, enter the forum name, ID or URL here. This will limit the search results to that forum. Leave empty to search across all forums.

🌐 Scraping by forum tabs:

  • 🗫 forums
    • 🗫 forum - Enter the forum name, ID or URL you want to scrape
    • 🗂️ tabs - Select the forum tabs you want to scrape. You can choose from: highlights, popular, latest and video.
    • 🗃️ customTabs - Write the tab names in Chinese, it must match the website exactly.
    • ⚙️ maxPostsPerTab - Maximum number of posts to scrape per forum tab. The Actor will stop scraping once this limit is reached for the tab.

🔗 Scraping by post URLs, profile URLs or hot topic URLs:

  • 🔗 urls - You can add direct URLs to scrape here. It can be a post URL, User Profile URL or Hot Topic URL.

#️⃣ Scraping by topics:

  • 💬 topics - Enter the topics you want to scrape. Example: 剧情 or #剧情. Alternatively, you can also add Topic URLs in the Direct URLs section above.
  • ↕️ sortTopicPostsBy - Choose how to sort the posts when scraping a Hot Topic URL or Topic. 'Hottest' sorts by popularity, while 'Latest' sorts by date with the newest posts first.

⚙️ Options and limits:

  • ⚙️ maxPosts - Maximum number of posts to be scraped per search term, topic, profile or hot topic.

⚙️ Input Examples

Example 1 - Search for "AI" and "电视剧", sort results by latest and scrape up to 50 posts per search term:
{
"searchTerms": ["AI", "电视剧"],
"sortSearchBy": "latest",
"maxPosts": 50
}
Example 2 - Search for "电影" within the forum "影视综合吧", sort results by most relevant and scrape up to 30 posts:
{
"searchTerms": ["电影"],
"searchWithinForum": "影视综合吧",
"sortSearchBy": "most_relevant",
"maxPosts": 30
}
Example 3 - Scrape the "highlights" and "latest" tabs of the forum "科技吧", and the custom tab "影视评论" of the forum "电影吧". Limit to 30 posts per tab.
{
"forums": [
{
"forum": "科技吧",
"tabs": ["highlights", "latest"],
"maxPostsPerTab": 30
},
{
"forum": "https://tieba.baidu.com/f?kw=电影",
"customTabs": ["影视评论"],
"maxPostsPerTab": 30
}
]
}
Example 4 - Scrape 50 posts from a specific user profile URL
{
"urls": [
"https://tieba.baidu.com/home/main?id=tb.1.135d68fd.x0_ekF6cFiliserYCXzKgg%3Ft%3D1777329085&fr=pb",
],
"sortTopicPostsBy": "hottest",
"maxPosts": 50
}
Example 5 - Scrape the topic "剧情" and sort posts by latest:
{
"topics": ["剧情"],
"sortTopicPostsBy": "latest",
"maxPosts": 50
}

📤 Output Format

The output will be a dataset with the following fields for each post:

📦 Output Example

{
"postId": 153462872847,
"type": "post",
"url": "https://tieba.baidu.com/p/10673597972",
"title": "不是,大早上起床就有瓜吃啊",
"authorName": "ts汝韩爹邪",
"authorId": 2705111892,
"authorIsVerified": false,
"authorLevel": 8,
"authorAvatarUrl": "https://gss0.bdstatic.com/6LZ1dD3d1sgCo2Kml5_Y_D3/sys/portrait/item/tb.1.a755301f.gC8Lgc_ZruZdDjCRVOlmwA?t=1777389324",
"content": "如果是真的,小钰这次应该是要没工作了",
"images": [
{
"width": 560,
"height": 1205,
"smallPic": "https://tiebapic.baidu.com/forum/w%3D720%3Bq%3D80/sign=5127075ccdd4b31cf03c96b9b7ed5642/8435e5dde71190ef6d0c8ec0881b9d16fdfa603d.jpg?tbpicau=2026-05-09-05_d68c0afab3877fa6d85b29978f530149",
"waterPic": "https://tiebapic.baidu.com/forum/w%3D580%3B/sign=dd9639171543fbf2c52ca62b8045cb80/8435e5dde71190ef6d0c8ec0881b9d16fdfa603d.jpg?tbpicau=2026-05-09-05_ea0df641264aa6d122bb3ffcffbf127a",
"bigPic": "https://tiebapic.baidu.com/forum/pic/item/fe68f1d2572c11dfb226a33c252762d0f603c268.jpg?tbpicau=2026-05-09-05_36f0c9ef7ad5fe6fd9c0cf4cafb79e22"
},
{
"width": 560,
"height": 1205,
"smallPic": "https://tiebapic.baidu.com/forum/w%3D720%3Bq%3D80/sign=32b9a2fbf51c8701d6b6b0e41744ef12/e4dde71190ef76c6bb25e734db16fdfaaf51673d.jpg?tbpicau=2026-05-09-05_087d854ea64143d7ac62a8e288b8da96",
"waterPic": "https://tiebapic.baidu.com/forum/w%3D580%3B/sign=0cf27a6cbdf2b211e42e8546fabb6438/e4dde71190ef76c6bb25e734db16fdfaaf51673d.jpg?tbpicau=2026-05-09-05_47b33e10141bdbef08075860f3eb1087",
"bigPic": "https://tiebapic.baidu.com/forum/pic/item/6e62542d11dfa9ec96d94a0824d0f703908fc168.jpg?tbpicau=2026-05-09-05_7b9ecfa9d4643228d2a97d3ca7c19f07"
}
],
"videoInfo": {
"playUrl": "http://tb-video.bdstatic.com/tieba-smallvideo/39_91bb5f0a2373792849633cb6315f9366.mp4",
"playCount": 444286,
"duration": 40,
"thumbnailUrl": "https://tiebapic.baidu.com/forum/w%3D960%3Bq%3D80/sign=1c5989f59700baa1ba2c4bbd772bc82f/42166d224f4a20a4c54778ded6529822720ed04a.jpg?tbpicau=2026-05-10-05_eb9af95421f9af282af320471e278e5b",
"height": 1080,
"width": 1920
},
"createTime": 1777330155,
"createTimeUtc": "2026-04-27T22:49:15.000Z",
"viewCount": 279527,
"commentCount": 503,
"collectCount": 241,
"shareCount": 126,
"agreeCount": 9276,
"disagreeCount": 60,
"diffAgreeCount": 9216,
"validPostCount": 220,
"forumId": 17019292,
"forumName": "抗压背锅",
"forumAvatarUrl": "https://tiebapic.baidu.com/forum/w%3D120%3Bh%3D120/sign=2d07ca6aec014c08193b2ca73a406a35/a2cc7cd98d1001e9fd2253ccfd0e7bec55e797d3.jpg?tbpicau=2026-05-09-05_eaa69592cd88edae251b63cb69818d4d",
"forumPrimaryCategory": "游戏",
"forumSecondaryCategory": "电子竞技及选手"
}

💲How much will scraping Baidu Tieba cost you?

The pricing changes according to your Apify plan.

  • Free: $5.00/1,000 posts
  • Starter: $3.00/1,000 posts
  • Scale: $2.50/1,000 posts
  • Business: $2.20/1,000 posts

🧩 Integrations and Baidu Tieba Scraper

Baidu Tieba Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Baidu Tieba Scraper successfully finishes a run.

🔌Using Baidu Tieba Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the API tab for code examples.

💬 Giving feedback

We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Baidu Tieba scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console. 📧 Email: nathan.santos159@hotmail.com